OpenTTD Source
20241108-master-g80f628063a
|
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.