OpenTTD Source
20241124-master-g9399a92a4f
|
Public Types | |
enum | ItemType : uint16_t { VKI_STATION , VKI_WAYPOINT , VKI_TOWN , VKI_SIGN } |
Public Member Functions | |
bool | operator== (const ViewportSignKdtreeItem &other) const |
bool | operator< (const ViewportSignKdtreeItem &other) const |
Static Public Member Functions | |
static ViewportSignKdtreeItem | MakeStation (StationID id) |
static ViewportSignKdtreeItem | MakeWaypoint (StationID id) |
static ViewportSignKdtreeItem | MakeTown (TownID id) |
static ViewportSignKdtreeItem | MakeSign (SignID id) |
Data Fields | |
ItemType | type |
union { | |
StationID station | |
TownID town | |
SignID sign | |
} | id |
int32_t | center |
int32_t | top |
Definition at line 19 of file viewport_kdtree.h.