OpenTTD Source 20250924-master-gbec4e71d53
CYapfShip_TypesT< Tpf_ > Struct Template Reference

Config struct of YAPF for ships. More...

Public Types

typedef CYapfShip_TypesT< Tpf_ > Types
 Shortcut for this struct type.
 
typedef Tpf_ Tpf
 Pathfinder type.
 
typedef CFollowTrackWater TrackFollower
 Track follower helper class.
 
typedef CShipNodeList NodeList
 
typedef Ship VehicleType
 
typedef CYapfBaseT< TypesPfBase
 Pathfinder components (modules).
 
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_>
struct CYapfShip_TypesT< Tpf_ >

Config struct of YAPF for ships.

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

Definition at line 409 of file yapf_ship.cpp.

Member Typedef Documentation

◆ NodeList

template<class Tpf_ >
typedef CShipNodeList CYapfShip_TypesT< Tpf_ >::NodeList

Definition at line 413 of file yapf_ship.cpp.

◆ PfBase

template<class Tpf_ >
typedef CYapfBaseT<Types> CYapfShip_TypesT< Tpf_ >::PfBase

Pathfinder components (modules).

Base pathfinder class.

Definition at line 417 of file yapf_ship.cpp.

◆ PfCache

template<class Tpf_ >
typedef CYapfSegmentCostCacheNoneT<Types> CYapfShip_TypesT< Tpf_ >::PfCache

Segment cost cache provider.

Definition at line 421 of file yapf_ship.cpp.

◆ PfCost

template<class Tpf_ >
typedef CYapfCostShipT<Types> CYapfShip_TypesT< Tpf_ >::PfCost

Cost provider.

Definition at line 422 of file yapf_ship.cpp.

◆ PfDestination

template<class Tpf_ >
typedef CYapfDestinationTileWaterT<Types> CYapfShip_TypesT< Tpf_ >::PfDestination

Destination/distance provider.

Definition at line 420 of file yapf_ship.cpp.

◆ PfFollow

template<class Tpf_ >
typedef CYapfFollowShipT<Types> CYapfShip_TypesT< Tpf_ >::PfFollow

Node follower.

Definition at line 418 of file yapf_ship.cpp.

◆ PfOrigin

template<class Tpf_ >
typedef CYapfOriginTileT<Types> CYapfShip_TypesT< Tpf_ >::PfOrigin

Origin provider.

Definition at line 419 of file yapf_ship.cpp.

◆ Tpf

template<class Tpf_ >
typedef Tpf_ CYapfShip_TypesT< Tpf_ >::Tpf

Pathfinder type.

Definition at line 411 of file yapf_ship.cpp.

◆ TrackFollower

template<class Tpf_ >
typedef CFollowTrackWater CYapfShip_TypesT< Tpf_ >::TrackFollower

Track follower helper class.

Definition at line 412 of file yapf_ship.cpp.

◆ Types

template<class Tpf_ >
typedef CYapfShip_TypesT<Tpf_> CYapfShip_TypesT< Tpf_ >::Types

Shortcut for this struct type.

Definition at line 410 of file yapf_ship.cpp.

◆ VehicleType

template<class Tpf_ >
typedef Ship CYapfShip_TypesT< Tpf_ >::VehicleType

Definition at line 414 of file yapf_ship.cpp.


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