|
OpenTTD Source 20260721-master-g25ec12c62d
|
The different types of rail. More...
Go to the source code of this file.
Typedefs | |
| using | RailTypeLabel = Label<struct RailTypeLabelTag> |
| using | RailTypes = EnumBitSet<RailType, uint64_t> |
Bitset of RailType elements. | |
Enumerations | |
| enum | RailType : uint8_t { RAILTYPE_BEGIN = 0 , RAILTYPE_RAIL = 0 , RAILTYPE_ELECTRIC = 1 , RAILTYPE_MONO = 2 , RAILTYPE_MAGLEV = 3 , RAILTYPE_END = 64 , INVALID_RAILTYPE = 0xFF } |
| Enumeration for all possible railtypes. More... | |
Variables | |
| static const RailTypeLabel | RAILTYPE_LABEL_RAIL {"RAIL"} |
| static const RailTypeLabel | RAILTYPE_LABEL_ELECTRIC {"ELRL"} |
| static const RailTypeLabel | RAILTYPE_LABEL_MONO {"MONO"} |
| static const RailTypeLabel | RAILTYPE_LABEL_MAGLEV {"MGLV"} |
| static constexpr RailTypes | INVALID_RAILTYPES {UINT64_MAX} |
The different types of rail.
Definition in file rail_type.h.
| using RailTypeLabel = Label<struct RailTypeLabelTag> |
Definition at line 16 of file rail_type.h.
| using RailTypes = EnumBitSet<RailType, uint64_t> |
Bitset of RailType elements.
Definition at line 37 of file rail_type.h.
| enum RailType : uint8_t |
Enumeration for all possible railtypes.
Definition at line 26 of file rail_type.h.
|
staticconstexpr |
Definition at line 39 of file rail_type.h.
|
static |
Definition at line 19 of file rail_type.h.
|
static |
Definition at line 21 of file rail_type.h.
|
static |
Definition at line 20 of file rail_type.h.
|
static |
Definition at line 18 of file rail_type.h.