OpenTTD Source 20241224-master-gee860a5c8e
ShipPathElement Struct Reference

Element of the ShipPathCache. More...

#include <ship.h>

Public Member Functions

constexpr ShipPathElement (Trackdir trackdir)
 

Data Fields

Trackdir 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

Trackdir for this element.

Definition at line 21 of file ship.h.


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