OpenTTD Source  14.0-RC1
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< Types > PfBase
 Pathfinder components (modules). More...
 
typedef CYapfFollowShipT< Types > PfFollow
 Node follower.
 
typedef CYapfOriginTileT< Types > PfOrigin
 Origin provider.
 
typedef CYapfDestinationTileWaterT< Types > PfDestination
 Destination/distance provider.
 
typedef CYapfSegmentCostCacheNoneT< Types > PfCache
 Segment cost cache provider.
 
typedef CYapfCostShipT< Types > PfCost
 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 416 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 425 of file yapf_ship.cpp.


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