Add tooltip for building blocks in header bar

This commit is contained in:
2026-07-12 21:24:11 +02:00
parent 177809fe1a
commit ad3e73fdd8
9 changed files with 31 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
#pragma once
#include <optional>
#include <string>
#include "Formula.h"
// Region widths are in tiles (REQ-GW-REGIONS).
@@ -75,6 +78,10 @@ struct WorldConfig
double orbitFactor; // REQ-SHP-ORBIT (multiplies tool range for orbit radius)
double rallyOrbitRadius_tiles; // REQ-SHP-ORBIT (fixed orbit radius around the rally point)
// Optional hover-tooltip for the header building blocks stock display
// (REQ-UI-BLOCKS-TOOLTIP). Presentation-only; the simulation ignores it.
std::optional<std::string> buildingBlocksTooltip;
WorldRegions regions;
WorldExpansion expansion;
WorldPush push;