From 9f442fa339371869dda44a32a9e0ec2f763d830c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 19:05:52 +0400 Subject: feat(ui): connect the bunker list to the strategic camera Show clan bunkers with the original compound controls and map selection. The strategic command button switches the camera anchor and preserves a view already bound to that bunker. Check the stock Two Fortresses window with Vulkan validation and exercise retargeting and the ownership guard with the licensed runtime test. --- crates/fparkan-assets/src/strategy_toolbar.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/fparkan-assets/src/strategy_toolbar.rs') diff --git a/crates/fparkan-assets/src/strategy_toolbar.rs b/crates/fparkan-assets/src/strategy_toolbar.rs index 29737335..e7c5ca11 100644 --- a/crates/fparkan-assets/src/strategy_toolbar.rs +++ b/crates/fparkan-assets/src/strategy_toolbar.rs @@ -31,6 +31,8 @@ pub enum ToolbarAction { Warbots, /// Toggle the clan's factory panel. Factories, + /// Toggle the clan's bunkers. + Bunkers, /// Toggle the clan's other buildings. OtherBuildings, /// Toggle the satellite map. @@ -44,6 +46,7 @@ pub fn command_button_at([x, y]: [f32; 2]) -> Option { 0 => Some(ToolbarAction::Hero), 1 => Some(ToolbarAction::Warbots), 5 => Some(ToolbarAction::Factories), + 7 => Some(ToolbarAction::Bunkers), 8 => Some(ToolbarAction::OtherBuildings), 10 => Some(ToolbarAction::Map), _ => None, -- cgit v1.2.3