OpenTTD Source 20260311-master-g511d3794ce
RoadVehPathElement Struct Reference

Element of the RoadVehPathCache. More...

#include <roadveh.h>

Public Member Functions

constexpr RoadVehPathElement (Trackdir trackdir, TileIndex tile)

Data Fields

Trackdir trackdir = INVALID_TRACKDIR
 Trackdir for this element.
TileIndex tile = INVALID_TILE
 Tile for this element.

Detailed Description

Element of the RoadVehPathCache.

Definition at line 92 of file roadveh.h.

Constructor & Destructor Documentation

◆ RoadVehPathElement() [1/2]

RoadVehPathElement::RoadVehPathElement ( )
inlineconstexpr

Definition at line 96 of file roadveh.h.

◆ RoadVehPathElement() [2/2]

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

Definition at line 97 of file roadveh.h.

Field Documentation

◆ tile

TileIndex RoadVehPathElement::tile = INVALID_TILE

Tile for this element.

Definition at line 94 of file roadveh.h.

◆ trackdir

Trackdir RoadVehPathElement::trackdir = INVALID_TRACKDIR

Trackdir for this element.

Definition at line 93 of file roadveh.h.


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