OpenTTD Source 20241224-master-gf74b0cf984
RoadVehPathElement Struct Reference

Element of the RoadVehPathCache. More...

#include <roadveh.h>

Public Member Functions

constexpr RoadVehPathElement (Trackdir trackdir, TileIndex tile)
 

Data Fields

Trackdir trackdir
 Trackdir for this element.
 
TileIndex tile
 Tile for this element.
 

Detailed Description

Element of the RoadVehPathCache.

Definition at line 85 of file roadveh.h.

Constructor & Destructor Documentation

◆ RoadVehPathElement() [1/2]

constexpr RoadVehPathElement::RoadVehPathElement ( )
inlineconstexpr

Definition at line 89 of file roadveh.h.

◆ RoadVehPathElement() [2/2]

constexpr RoadVehPathElement::RoadVehPathElement ( Trackdir  trackdir,
TileIndex  tile 
)
inlineconstexpr

Definition at line 90 of file roadveh.h.

Field Documentation

◆ tile

TileIndex RoadVehPathElement::tile

Tile for this element.

Definition at line 87 of file roadveh.h.

◆ trackdir

Trackdir RoadVehPathElement::trackdir

Trackdir for this element.

Definition at line 86 of file roadveh.h.


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