OpenTTD Source  20241121-master-g67a0fccfad
CYapfRegionNodeT< Tkey_ > Struct Template Reference

Yapf Node for water regions. More...

Inheritance diagram for CYapfRegionNodeT< Tkey_ >:
CYapfNodeT< Tkey_, CYapfRegionNodeT< Tkey_ > >

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)
 
NodeGetHashNext ()
 
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
 
Nodehash_next
 
Nodeparent
 
int cost
 
int estimate
 
bool is_choice
 

Detailed Description

template<class Tkey_>
struct CYapfRegionNodeT< Tkey_ >

Yapf Node for water regions.

Definition at line 43 of file yapf_ship_regions.cpp.


The documentation for this struct was generated from the following file: