18 #ifndef INCLUDED_TERRITORYBOUNDARY 19 #define INCLUDED_TERRITORYBOUNDARY 65 static std::vector<STerritoryBoundary> ComputeBoundaries(
const Grid<u8>* territories);
68 #endif // INCLUDED_TERRITORYBOUNDARY std::vector< CVector2D > points
The boundary points, in clockwise order for inner boundaries and counter-clockwise order for outer bo...
Definition: TerritoryBoundary.h:47
bool blinking
Set if this boundary should blink.
Definition: TerritoryBoundary.h:42
CTerritoryBoundaryCalculator()
Definition: TerritoryBoundary.h:56
Basic 2D array, intended for storing tile data, plus support for lazy updates by ICmpObstructionManag...
Definition: TerritoryBoundary.h:27
int32_t player_id_t
valid player IDs are non-negative (see ICmpOwnership)
Definition: Player.h:24
player_id_t owner
Definition: TerritoryBoundary.h:43
Describes an outline of a territory, where the latter are understood to mean the largest sets of mutu...
Definition: TerritoryBoundary.h:39
Responsible for calculating territory boundaries, given an input territory map.
Definition: TerritoryBoundary.h:53