move the asteroid width bound into FactoryState

This commit is contained in:
2026-08-05 06:45:33 +02:00
parent 0b7e94b4e4
commit 1fb63cce4e
3 changed files with 9 additions and 4 deletions

View File

@@ -45,4 +45,10 @@ struct FactoryState
// The authority on which building owns which tile; every placement and removal
// path claims and releases its body cells here.
BuildingGrid grid;
// Current buildable asteroid width, the left bound for placement. Grows as the
// player buys expansions (REQ-EXP-UNLOCK). Deliberately not checksummed: it is
// derived from config and Simulation's expansion count, which is folded already.
// Seeded from config by BuildingSystem's constructor.
int asteroidWidth_tiles = 0;
};