OpenTTD Source 20241224-master-gee860a5c8e
|
cached segment cost for rail YAPF More...
#include <yapf_node_rail.hpp>
Public Types | |
typedef CYapfRailSegmentKey | Key |
Public Member Functions | |
CYapfRailSegment (const CYapfRailSegmentKey &key) | |
const Key & | GetKey () const |
TileIndex | GetTile () const |
CYapfRailSegment * | GetHashNext () |
void | SetHashNext (CYapfRailSegment *next) |
void | Dump (DumpTarget &dmp) const |
Data Fields | |
CYapfRailSegmentKey | key |
TileIndex | last_tile = INVALID_TILE |
Trackdir | last_td = INVALID_TRACKDIR |
int | cost = -1 |
TileIndex | last_signal_tile = INVALID_TILE |
Trackdir | last_signal_td = INVALID_TRACKDIR |
EndSegmentReasonBits | end_segment_reason = ESRB_NONE |
CYapfRailSegment * | hash_next = nullptr |
cached segment cost for rail YAPF
Definition at line 67 of file yapf_node_rail.hpp.
Definition at line 69 of file yapf_node_rail.hpp.
|
inline |
Definition at line 80 of file yapf_node_rail.hpp.
|
inline |
Definition at line 102 of file yapf_node_rail.hpp.
|
inline |
Definition at line 92 of file yapf_node_rail.hpp.
|
inline |
Definition at line 82 of file yapf_node_rail.hpp.
|
inline |
Definition at line 87 of file yapf_node_rail.hpp.
|
inline |
Definition at line 97 of file yapf_node_rail.hpp.
int CYapfRailSegment::cost = -1 |
Definition at line 74 of file yapf_node_rail.hpp.
EndSegmentReasonBits CYapfRailSegment::end_segment_reason = ESRB_NONE |
Definition at line 77 of file yapf_node_rail.hpp.
CYapfRailSegment* CYapfRailSegment::hash_next = nullptr |
Definition at line 78 of file yapf_node_rail.hpp.
CYapfRailSegmentKey CYapfRailSegment::key |
Definition at line 71 of file yapf_node_rail.hpp.
Trackdir CYapfRailSegment::last_signal_td = INVALID_TRACKDIR |
Definition at line 76 of file yapf_node_rail.hpp.
TileIndex CYapfRailSegment::last_signal_tile = INVALID_TILE |
Definition at line 75 of file yapf_node_rail.hpp.
Trackdir CYapfRailSegment::last_td = INVALID_TRACKDIR |
Definition at line 73 of file yapf_node_rail.hpp.
TileIndex CYapfRailSegment::last_tile = INVALID_TILE |
Definition at line 72 of file yapf_node_rail.hpp.