17 inline uint16_t operator()(TownID tid,
int dim)
24extern TownKdtree _town_kdtree;
25extern TownKdtree _town_local_authority_kdtree;
K-dimensional tree, specialised for 2-dimensional space.
K-d tree template specialised for 2-dimensional Manhattan geometry.
static uint TileY(TileIndex tile)
Get the Y component of a tile.
static uint TileX(TileIndex tile)
Get the X component of a tile.
static Town * Get(auto index)