18 #ifndef INCLUDED_TERRITORYBOUNDARY
19 #define INCLUDED_TERRITORYBOUNDARY
66 #endif // INCLUDED_TERRITORYBOUNDARY
bool connected
Is the territory enclosed by this boundary mathematically connected to (i.e. reachable from) a root i...
std::vector< CVector2D > points
The boundary points, in clockwise order for inner boundaries and counter-clockwise order for outer bo...
CTerritoryBoundaryCalculator()
int32_t player_id_t
valid player IDs are non-negative (see ICmpOwnership)
Describes an outline of a territory, where the latter are understood to mean the largest sets of mutu...
Responsible for calculating territory boundaries, given an input territory map.
static std::vector< STerritoryBoundary > ComputeBoundaries(const Grid< u8 > *territories)
Computes and returns all territory boundaries on the provided territory map (see STerritoryBoundary f...