aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/satellite_map.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-02 17:50:37 +0300
committerValentin Popov <valentin@popov.link>2026-12-02 17:50:37 +0300
commit3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf (patch)
tree7ccd3b6b20a2211d3c2f72f0707f2d28f9faaf2c /apps/fparkan-game/src/satellite_map.rs
parentbd7811533a348e56d2be9c7281d0533fc8c46024 (diff)
downloadfparkan-3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf.tar.xz
fparkan-3b5a8aa4e6465ca56763cb96b4100bb1ff1c0ccf.zip
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.
Diffstat (limited to 'apps/fparkan-game/src/satellite_map.rs')
-rw-r--r--apps/fparkan-game/src/satellite_map.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/fparkan-game/src/satellite_map.rs b/apps/fparkan-game/src/satellite_map.rs
index 0be40008..26db6c3d 100644
--- a/apps/fparkan-game/src/satellite_map.rs
+++ b/apps/fparkan-game/src/satellite_map.rs
@@ -230,7 +230,8 @@ impl SatelliteMap {
|| (Vec::new(), Vec::new()),
|((engine, cockpit, selected), extent)| {
(
- satellite_contacts::visible_buildings(engine, cockpit, extent).collect(),
+ satellite_contacts::visible_buildings(engine, cockpit, extent, selected)
+ .collect(),
satellite_contacts::visible_units(engine, cockpit, extent, selected)
.map(|mut unit| {
if let Some(points) = draft