OpenTTD Source 20260206-master-g4d4e37dbf1
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 85 of file roadveh.h.

Constructor & Destructor Documentation

◆ RoadVehPathElement() [1/2]

RoadVehPathElement::RoadVehPathElement ( )
inlineconstexpr

Definition at line 89 of file roadveh.h.

◆ RoadVehPathElement() [2/2]

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

Definition at line 90 of file roadveh.h.

Field Documentation

◆ tile

TileIndex RoadVehPathElement::tile = INVALID_TILE

Tile for this element.

Definition at line 87 of file roadveh.h.

◆ trackdir

Trackdir RoadVehPathElement::trackdir = INVALID_TRACKDIR

Trackdir for this element.

Definition at line 86 of file roadveh.h.


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