15typedef uint32_t RailTypeLabel;
17static const RailTypeLabel RAILTYPE_LABEL_RAIL =
'RAIL';
18static const RailTypeLabel RAILTYPE_LABEL_ELECTRIC =
'ELRL';
19static const RailTypeLabel RAILTYPE_LABEL_MONO =
'MONO';
20static const RailTypeLabel RAILTYPE_LABEL_MAGLEV =
'MGLV';
Type (helpers) for enums.
#define DECLARE_ENUM_AS_BIT_SET(enum_type)
Operators to allow to work with enum as with type safe bit set in C++.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
RailTypes
Allow incrementing of Track variables.
@ RAILTYPES_ELECTRIC
Electrified rails.
@ INVALID_RAILTYPES
Invalid railtypes.
@ RAILTYPES_MAGLEV
Ever fast maglev.
@ RAILTYPES_RAIL
Non-electrified rails.
@ RAILTYPES_NONE
No rail types.
@ RAILTYPES_MONO
Monorail!
RailType
Enumeration for all possible railtypes.
@ RAILTYPE_BEGIN
Used for iterations.
@ RAILTYPE_END
Used for iterations.
@ INVALID_RAILTYPE
Flag for invalid railtype.
@ RAILTYPE_ELECTRIC
Electric rails.
@ RAILTYPE_RAIL
Standard non-electric rails.