Fix Super-Stadion full-upgrade image selection (by Codex)

This commit is contained in:
Codex committed 2026-10-26 20:39:14 +01:00
1 parent 8b3b51de55
commit a207b0129e
4 files changed
+105 -11

No files matched your search

+7 -2
View File
@@ -34,15 +34,20 @@ Json demo_stadium_quote(const Json &state, const Json &request, const Catalog &,
// labels are 1-based with an empty entry at index 0. No artwork is required.
Json demo_stadium_rules(const Catalog &);
// {ok,club,club_name,name,stadium,budget,budget_cap,pending_cost,
// available_capacity,planned_capacity,capacity,blocks,facilities}.
// available_capacity,planned_capacity,capacity,physical_capacity,super_stadium,
// blocks,facilities,periphery}.
// Rule rows above are augmented with unchanged base values/job/building plus
// display_places/seats/roof or display_level/label for the requested view.
// Current capacity excludes a block with any pending job; future uses its target.
// super_stadium requires every block at its own maximum with seats and roof:
// completed values in Current, queued targets where present in Future.
// Stadium identity comes from the catalogue, not its initialization policies.
Json demo_stadium_view(const Json &state, const Catalog &, bool future = false,
const std::string &club = {});
// Pure calibrated sprite layout. Ignores exported simulation/editor/object state;
// uses only runtime overview capacity and periphery jobs. Coordinates remain in
// uses only runtime overview capacity/full-upgrade status and periphery jobs.
// Five ordinary capacity images remain; the sixth requires super_stadium.
// Coordinates remain in
// the 1920x1080 reference space; stable layers include full transparent canvases.
Json demo_stadium_scene(const Json &configuration, const Json &overview, bool future);
} // namespace bmh::modern_ui