OpenTTD Source  20241108-master-g80f628063a
town_kdtree.h File Reference

Declarations for accessing the k-d tree of towns. More...

#include "core/kdtree.hpp"
#include "town.h"

Go to the source code of this file.

Typedefs

typedef Kdtree< TownID, decltype(&Kdtree_TownXYFunc), uint16_t, int > TownKdtree
 

Functions

uint16_t Kdtree_TownXYFunc (TownID tid, int dim)
 

Variables

TownKdtree _town_kdtree
 
TownKdtree _town_local_authority_kdtree
 

Detailed Description

Declarations for accessing the k-d tree of towns.

Definition in file town_kdtree.h.