OpenTTD Source  20240919-master-gdf0233f4c2
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::Titem 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< CYapfRegionPatchNodeKeym_origin_keys
 

Detailed Description

template<class Types>
class CYapfOriginRegionT< Types >

YAPF origin for water regions.

Definition at line 89 of file yapf_ship_regions.cpp.


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