OpenTTD Source 20241224-master-gee860a5c8e
|
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.
enum ViewportSignKdtreeItem::ItemType : uint16_t |
Definition at line 20 of file viewport_kdtree.h.
|
static |
Definition at line 2344 of file viewport.cpp.
|
static |
Definition at line 2293 of file viewport.cpp.
|
static |
Definition at line 2327 of file viewport.cpp.
|
static |
Definition at line 2310 of file viewport.cpp.
|
inline |
Definition at line 51 of file viewport_kdtree.h.
|
inline |
Definition at line 35 of file viewport_kdtree.h.
int32_t ViewportSignKdtreeItem::center |
Definition at line 32 of file viewport_kdtree.h.
SignID ViewportSignKdtreeItem::sign |
Definition at line 30 of file viewport_kdtree.h.
StationID ViewportSignKdtreeItem::station |
Definition at line 28 of file viewport_kdtree.h.
int32_t ViewportSignKdtreeItem::top |
Definition at line 33 of file viewport_kdtree.h.
TownID ViewportSignKdtreeItem::town |
Definition at line 29 of file viewport_kdtree.h.
ItemType ViewportSignKdtreeItem::type |
Definition at line 26 of file viewport_kdtree.h.