From dcba82d1cdf4a70ab879d8af0a623a10deecb544 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 08:00:08 +0400 Subject: feat(factory): build newly loaded projects without restarting the mission Transfer a saved design from the original designer panel, prepare it with the regular AniMesh scene builder, and queue the selected factory order. Appended world batches keep existing draw handles and gain the normal cockpit, walking animation, weapon and shield bindings. The Field Camp window witness adds a one-gun Unit DAT after mission start, uses the normal transfer and order controls, supplies the factory with a scripted test fixture, and captures the released unit with Vulkan validation clean. The two licensed factory tests also verify the assembled component records and weapon control. --- apps/fparkan-game/src/mission_overlay.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apps/fparkan-game/src/mission_overlay.rs') diff --git a/apps/fparkan-game/src/mission_overlay.rs b/apps/fparkan-game/src/mission_overlay.rs index 02263a85..5fdd55d8 100644 --- a/apps/fparkan-game/src/mission_overlay.rs +++ b/apps/fparkan-game/src/mission_overlay.rs @@ -34,7 +34,6 @@ impl MissionOverlay { mission: &str, engine: Option<&Engine>, cockpit: Option, - weapon_rows: usize, preview: &mut StaticPreviewScene, ) -> Self { let Some(engine) = engine else { @@ -64,7 +63,7 @@ impl MissionOverlay { }); #[cfg(windows)] let weapons = cockpit.and_then(|cockpit| { - WeaponHud::load(root, cockpit.handle, weapon_rows, preview) + WeaponHud::load(root, cockpit.handle, preview) .map(Some) .unwrap_or_else(|error| { eprintln!("weapon_hud_unavailable reason={error}"); @@ -95,8 +94,6 @@ impl MissionOverlay { None }) }); - #[cfg(not(windows))] - let _ = weapon_rows; Self { satellite_map, dial, -- cgit v1.2.3