Expand description
Settlement layouts of a startpos (REGION/SETTLEMENT/SETTLEMENT_EXPANSION_MANAGER/SETTLEMENT_EXPANSION_MAP_DATA),
built from the campaign map’s map_data.esf (REGION_DATA/SETTLEMENT_INFO).
Verified against Attila’s main campaign (186 settlements, 983 slots): slot ids, kinds, positions, footprints, zones, walls and touching slots match the game-built startpos, and so do the sprawl cells and their footprint/zone flags. The edge pieces of the sprawl cells need the cells’ regions, so the world writer computes them.
Structs§
- Settlement
Layout - Layout of a settlement: its building slots and its sprawl cells.
- Slot
Layout - A building slot of a settlement.
- Sprawl
Cell - A cell of the sprawl area of a settlement.
Enums§
- Slot
Kind - Whether a slot is one of the two primary slots or a secondary one.