OpenTTD Source: RoadVehPathElement Struct Reference

OpenTTD Source 15.3

Public Member Functions | Data Fields
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]

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 = 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:

- src/roadveh.h