OpenTTD Source  20240919-master-gdf0233f4c2
CYapfShip_TypesT< Tpf_, Ttrack_follower, Tnode_list > Struct Template Reference

Config struct of YAPF for ships. More...

Public Types

typedef CYapfShip_TypesT< Tpf_, Ttrack_follower, Tnode_list > Types
 Shortcut for this struct type.
 
typedef Tpf_ Tpf
 Pathfinder type.
 
typedef Ttrack_follower TrackFollower
 Track follower helper class.
 
typedef Tnode_list NodeList
 
typedef Ship VehicleType
 
typedef CYapfBaseT< TypesPfBase
 Pathfinder components (modules). More...
 
typedef CYapfFollowShipT< TypesPfFollow
 Node follower.
 
typedef CYapfOriginTileT< TypesPfOrigin
 Origin provider.
 
typedef CYapfDestinationTileWaterT< TypesPfDestination
 Destination/distance provider.
 
typedef CYapfSegmentCostCacheNoneT< TypesPfCache
 Segment cost cache provider.
 
typedef CYapfCostShipT< TypesPfCost
 Cost provider.
 

Detailed Description

template<class Tpf_, class Ttrack_follower, class Tnode_list>
struct CYapfShip_TypesT< Tpf_, Ttrack_follower, Tnode_list >

Config struct of YAPF for ships.

Defines all 6 base YAPF modules as classes providing services for CYapfBaseT.

Definition at line 404 of file yapf_ship.cpp.

Member Typedef Documentation

◆ PfBase

template<class Tpf_ , class Ttrack_follower , class Tnode_list >
typedef CYapfBaseT<Types> CYapfShip_TypesT< Tpf_, Ttrack_follower, Tnode_list >::PfBase

Pathfinder components (modules).

Base pathfinder class.

Definition at line 413 of file yapf_ship.cpp.


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