From 733f9d92e0d4e40ed40db42fa6cd11294e49eb7b Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 12:12:06 +0400 Subject: feat(ui): show native strategic waypoint cursors Read the animated cursor strips and their hotspots from the installed UI atlas. Use the native Land.map areal flag and chassis selector for both the preview cursor and waypoint input. In stock Two Fortresses, compared one accepted and one rejected map point against the original and checked the return to the cockpit with Vulkan validation. --- apps/fparkan-game/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/fparkan-game/src/main.rs') diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index 347bdc1b..02727c17 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -39,6 +39,7 @@ mod strategic_balance_hud; #[cfg(windows)] mod strategic_roster_hud; mod strategic_view; +mod strategy_cursor_hud; #[cfg(windows)] mod weapon_hud; #[cfg(test)] @@ -11466,7 +11467,7 @@ impl StaticVulkanApp { } else { let _ = window.set_cursor_grab(CursorGrabMode::None); } - window.set_cursor_visible(!active); + window.set_cursor_visible(!active && !self.shows_strategy_cursor()); } } -- cgit v1.2.3