16 inline uint16_t Kdtree_TownXYFunc(TownID tid,
int dim) {
return (dim == 0) ?
TileX(
Town::Get(tid)->xy) :
TileY(
Town::Get(tid)->xy); }
17 typedef Kdtree<TownID, decltype(&Kdtree_TownXYFunc), uint16_t,
int>
TownKdtree;
20 extern TownKdtree _town_local_authority_kdtree;