Yapf Node for rail YAPF.
More...
#include <yapf_node_rail.hpp>
|
void | Set (CYapfRailNode *parent, TileIndex tile, Trackdir td, bool is_choice) |
|
TileIndex | GetLastTile () const |
|
Trackdir | GetLastTrackdir () const |
|
void | SetLastTileTrackdir (TileIndex tile, Trackdir td) |
|
template<class Tbase , class Tfunc , class Tpf > |
bool | IterateTiles (const Train *v, Tpf &yapf, Tbase &obj, bool(Tfunc::*func)(TileIndex, Trackdir)) const |
|
void | Dump (DumpTarget &dmp) const |
|
void | Set (Node *parent, TileIndex tile, Trackdir td, bool is_choice) |
|
Node * | GetHashNext () |
|
void | SetHashNext (Node *pNext) |
|
TileIndex | GetTile () const |
|
Trackdir | GetTrackdir () const |
|
const CYapfNodeKeyTrackDir & | GetKey () const |
|
int | GetCost () const |
|
int | GetCostEstimate () const |
|
bool | GetIsChoice () const |
|
bool | operator< (const Node &other) const |
|
void | Dump (DumpTarget &dmp) const |
|
Yapf Node for rail YAPF.
Definition at line 113 of file yapf_node_rail.hpp.
◆ base
◆ CachedData
◆ Dump()
void CYapfRailNode::Dump |
( |
DumpTarget & |
dmp | ) |
const |
|
inline |
◆ GetLastTile()
TileIndex CYapfRailNode::GetLastTile |
( |
| ) |
const |
|
inline |
◆ GetLastTrackdir()
Trackdir CYapfRailNode::GetLastTrackdir |
( |
| ) |
const |
|
inline |
◆ IterateTiles()
template<class Tbase , class Tfunc , class Tpf >
bool CYapfRailNode::IterateTiles |
( |
const Train * |
v, |
|
|
Tpf & |
yapf, |
|
|
Tbase & |
obj, |
|
|
bool(Tfunc::*)(TileIndex, Trackdir) |
func |
|
) |
| const |
|
inline |
◆ Set()
◆ SetLastTileTrackdir()
◆ choice_seen
bool CYapfRailNode::choice_seen |
◆ inherited_flags
uint32_t CYapfRailNode::inherited_flags |
◆ last_red_signal_type
◆ last_signal_type
◆ last_signal_was_red
bool CYapfRailNode::last_signal_was_red |
◆ num_signals_passed
uint16_t CYapfRailNode::num_signals_passed |
◆ segment
◆ target_seen
bool CYapfRailNode::target_seen |
The documentation for this struct was generated from the following file: