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