OpenTTD Source
12.0-beta2
|
#include "core/enum_type.hpp"
Go to the source code of this file.
Data Structures | |
struct | EnumPropsT< RailType > |
Allow incrementing of Track variables. More... | |
Typedefs | |
typedef uint32 | RailTypeLabel |
Enumerations | |
enum | RailType : byte { 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... | |
enum | RailTypes : uint64 { RAILTYPES_NONE = 0, RAILTYPES_RAIL = 1 << RAILTYPE_RAIL, RAILTYPES_ELECTRIC = 1 << RAILTYPE_ELECTRIC, RAILTYPES_MONO = 1 << RAILTYPE_MONO, RAILTYPES_MAGLEV = 1 << RAILTYPE_MAGLEV, INVALID_RAILTYPES = UINT64_MAX } |
The different railtypes we support, but then a bitmask of them. More... | |
The different types of rail
Definition in file rail_type.h.
enum RailType : byte |
Enumeration for all possible railtypes.
This enumeration defines all 4 possible railtypes.
Definition at line 27 of file rail_type.h.
enum RailTypes : uint64 |
The different railtypes we support, but then a bitmask of them.
Definition at line 46 of file rail_type.h.