OpenTTD Source  20241120-master-g6d3adc6169
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.

Data Structures

struct  Kdtree_TownXYFunc
 

Typedefs

using TownKdtree = Kdtree< TownID, Kdtree_TownXYFunc, uint16_t, int >
 

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.