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