OpenTTD Source  20240919-master-gdf0233f4c2
CYapfRegionNodeT< Tkey_ > Struct Template Reference

Yapf Node for water regions. More...

Public Types

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
 
NodeGetHashNext ()
 
void SetHashNext (Node *pNext)
 
const Tkey_ & GetKey () const
 
int GetCost ()
 
int GetCostEstimate ()
 
bool operator< (const Node &other) const
 

Data Fields

Tkey_ m_key
 
Nodem_hash_next
 
Nodem_parent
 
int m_cost
 
int m_estimate
 

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: