From dc92ae05f97d84a1681995e0712b01053e48704c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 12:48:50 +0400 Subject: feat(ui): show live contacts below the strategic satellite map Use the installed title, close control and contact glyphs. Display the hovered object with clan emblem, name, order and durability in the strategic layout. Compared the Captain and Small Warehouse readouts with the original and checked map closing and cockpit return in stock Two Fortresses. --- apps/fparkan-game/src/mission_overlay.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 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 66a40697..0b0eec9a 100644 --- a/apps/fparkan-game/src/mission_overlay.rs +++ b/apps/fparkan-game/src/mission_overlay.rs @@ -81,8 +81,8 @@ impl MissionOverlay { .inspect_err(|error| eprintln!("strategy_balance_unavailable reason={error}")) .ok() }); - let satellite_map = - SatelliteMap::load(root, mission, engine, preview).unwrap_or_else(|error| { + let satellite_map = SatelliteMap::load(root, mission, engine, cockpit.is_some(), preview) + .unwrap_or_else(|error| { eprintln!("satellite_map_unavailable mission={mission} reason={error}"); None }); @@ -312,10 +312,7 @@ impl StaticVulkanApp { &mut self.mesh, player, demo_target.is_some(), - self.command_view.is_some(), - self.command_view - .as_ref() - .and_then(|view| view.route_draft()), + self.command_view.as_ref(), )?; } let cockpit = self.cockpit.filter(|_| self.command_view.is_none()); -- cgit v1.2.3