|
OpenTTD Source 20251116-master-g21329071df
|
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 |
| EndSegmentReasons | end_segment_reason {} |
| CYapfRailSegment * | hash_next = nullptr |
cached segment cost for rail YAPF
Definition at line 66 of file yapf_node_rail.hpp.
Definition at line 67 of file yapf_node_rail.hpp.
|
inline |
Definition at line 78 of file yapf_node_rail.hpp.
|
inline |
Definition at line 100 of file yapf_node_rail.hpp.
|
inline |
Definition at line 90 of file yapf_node_rail.hpp.
|
inline |
Definition at line 80 of file yapf_node_rail.hpp.
|
inline |
Definition at line 85 of file yapf_node_rail.hpp.
|
inline |
Definition at line 95 of file yapf_node_rail.hpp.
| int CYapfRailSegment::cost = -1 |
Definition at line 72 of file yapf_node_rail.hpp.
| EndSegmentReasons CYapfRailSegment::end_segment_reason {} |
Definition at line 75 of file yapf_node_rail.hpp.
| CYapfRailSegment* CYapfRailSegment::hash_next = nullptr |
Definition at line 76 of file yapf_node_rail.hpp.
| CYapfRailSegmentKey CYapfRailSegment::key |
Definition at line 69 of file yapf_node_rail.hpp.
| Trackdir CYapfRailSegment::last_signal_td = INVALID_TRACKDIR |
Definition at line 74 of file yapf_node_rail.hpp.
| TileIndex CYapfRailSegment::last_signal_tile = INVALID_TILE |
Definition at line 73 of file yapf_node_rail.hpp.
| Trackdir CYapfRailSegment::last_td = INVALID_TRACKDIR |
Definition at line 71 of file yapf_node_rail.hpp.
| TileIndex CYapfRailSegment::last_tile = INVALID_TILE |
Definition at line 70 of file yapf_node_rail.hpp.