OpenTTD Source 20251005-master-ga617d009cc
|
Yapf Node for water regions. More...
Public Types | |
using | Key = WaterRegionPatchKey |
using | Node = WaterRegionNode |
![]() | |
typedef WaterRegionPatchKey | Key |
typedef WaterRegionNode | Node |
Public Member Functions | |
void | Set (Node *parent, const WaterRegionPatchDesc &water_region_patch) |
void | Set (Node *parent, const Key &key) |
DiagDirection | GetDiagDirFromParent () 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 WaterRegionPatchKey & | GetKey () const |
int | GetCost () const |
int | GetCostEstimate () const |
bool | GetIsChoice () const |
bool | operator< (const Node &other) const |
void | Dump (DumpTarget &dmp) const |
Additional Inherited Members | |
![]() | |
WaterRegionPatchKey | key |
Node * | hash_next |
Node * | parent |
int | cost |
int | estimate |
bool | is_choice |
Yapf Node for water regions.
Definition at line 45 of file yapf_ship_regions.cpp.
Definition at line 46 of file yapf_ship_regions.cpp.
using WaterRegionNode::Node = WaterRegionNode |
Definition at line 47 of file yapf_ship_regions.cpp.
|
inline |
Definition at line 63 of file yapf_ship_regions.cpp.
Definition at line 58 of file yapf_ship_regions.cpp.
|
inline |
Definition at line 49 of file yapf_ship_regions.cpp.