OpenTTD Source 20250312-master-gcdcc6b491d
ShipPathElement Struct Reference

Element of the ShipPathCache. More...

#include <ship.h>

Public Member Functions

constexpr ShipPathElement (Trackdir trackdir)
 

Data Fields

Trackdir trackdir = INVALID_TRACKDIR
 Trackdir for this element.
 

Detailed Description

Element of the ShipPathCache.

Definition at line 20 of file ship.h.

Constructor & Destructor Documentation

◆ ShipPathElement() [1/2]

constexpr ShipPathElement::ShipPathElement ( )
inlineconstexpr

Definition at line 23 of file ship.h.

◆ ShipPathElement() [2/2]

constexpr ShipPathElement::ShipPathElement ( Trackdir  trackdir)
inlineconstexpr

Definition at line 24 of file ship.h.

Field Documentation

◆ trackdir

Trackdir ShipPathElement::trackdir = INVALID_TRACKDIR

Trackdir for this element.

Definition at line 21 of file ship.h.


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