From 3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 18:50:37 +0400 Subject: feat(ui): link the other buildings panel to the satellite map Use the installed compound controls, font, and class glyphs for live clan buildings and their durability. Compare the stock Two Fortresses list order, first selection, two-way map selection, and close behavior in the original and in FParkan with Vulkan validation. --- 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 a50520c2..29737335 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 other buildings. + OtherBuildings, /// Toggle the satellite map. Map, } @@ -42,6 +44,7 @@ pub fn command_button_at([x, y]: [f32; 2]) -> Option { 0 => Some(ToolbarAction::Hero), 1 => Some(ToolbarAction::Warbots), 5 => Some(ToolbarAction::Factories), + 8 => Some(ToolbarAction::OtherBuildings), 10 => Some(ToolbarAction::Map), _ => None, } -- cgit v1.2.3