OpenTTD Source
20241121-master-g67a0fccfad
|
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.