OpenTTD Source
20241121-master-g67a0fccfad
|
YAPF origin provider base class - used when origin is one tile / multiple trackdirs. More...
#include <yapf_common.hpp>
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 | SetOrigin (TileIndex tile, TrackdirBits trackdirs) |
Set origin tile / trackdir mask. | |
void | PfSetStartupNodes () |
Called when YAPF needs to place origin nodes into open list. | |
Protected Member Functions | |
Tpf & | Yapf () |
to access inherited path finder | |
Protected Attributes | |
TileIndex | origin_tile |
origin tile | |
TrackdirBits | origin_trackdirs |
origin trackdir mask | |
YAPF origin provider base class - used when origin is one tile / multiple trackdirs.
Definition at line 19 of file yapf_common.hpp.