OpenTTD Source 20241224-master-gee860a5c8e
|
Yapf Node for water regions. More...
Public Types | |
typedef Tkey_ | Key |
typedef CYapfRegionNodeT< Tkey_ > | Node |
Public Types inherited from CYapfNodeT< Tkey_, CYapfRegionNodeT< Tkey_ > > | |
typedef Tkey_ | Key |
typedef CYapfRegionNodeT< Tkey_ > | Node |
Public Member Functions | |
void | Set (Node *parent, const WaterRegionPatchDesc &water_region_patch) |
void | Set (Node *parent, const Key &key) |
DiagDirection | GetDiagDirFromParent () const |
Public Member Functions inherited from CYapfNodeT< Tkey_, CYapfRegionNodeT< Tkey_ > > | |
void | Set (Node *parent, TileIndex tile, Trackdir td, bool is_choice) |
Node * | GetHashNext () |
void | SetHashNext (Node *pNext) |
TileIndex | GetTile () const |
Trackdir | GetTrackdir () const |
const Tkey_ & | 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 | |
Data Fields inherited from CYapfNodeT< Tkey_, CYapfRegionNodeT< Tkey_ > > | |
Tkey_ | key |
Node * | hash_next |
Node * | parent |
int | cost |
int | estimate |
bool | is_choice |
Yapf Node for water regions.
Definition at line 43 of file yapf_ship_regions.cpp.
typedef Tkey_ CYapfRegionNodeT< Tkey_ >::Key |
Definition at line 44 of file yapf_ship_regions.cpp.
typedef CYapfRegionNodeT<Tkey_> CYapfRegionNodeT< Tkey_ >::Node |
Definition at line 45 of file yapf_ship_regions.cpp.
|
inline |
Definition at line 61 of file yapf_ship_regions.cpp.
|
inline |
Definition at line 56 of file yapf_ship_regions.cpp.
|
inline |
Definition at line 47 of file yapf_ship_regions.cpp.