OpenTTD Source  20241111-master-gce64d5f5d9
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_ key
 
Nodehash_next
 
Nodeparent
 
int cost
 
int 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: