OpenTTD Source  20241121-master-g67a0fccfad
CYapfOriginRegionT< Types > Class Template Reference

YAPF origin for water regions. More...

Public Types

typedef Types::Tpf Tpf
 The pathfinder class (derived from THIS class).
 
typedef Types::NodeList::Item Node
 This will be our node type.
 
typedef Node::Key Key
 Key to hash tables.
 

Public Member Functions

void AddOrigin (const WaterRegionPatchDesc &water_region_patch)
 
bool HasOrigin (const WaterRegionPatchDesc &water_region_patch)
 
void PfSetStartupNodes ()
 

Protected Member Functions

TpfYapf ()
 

Private Attributes

std::vector< CYapfRegionPatchNodeKeyorigin_keys
 

Detailed Description

template<class Types>
class CYapfOriginRegionT< Types >

YAPF origin for water regions.

Definition at line 76 of file yapf_ship_regions.cpp.


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