OpenTTD
EnumPropsT< RoadTypes > Struct Template Reference
Inheritance diagram for EnumPropsT< RoadTypes >:
MakeEnumPropsT< RoadTypes, byte, ROADTYPES_NONE, ROADTYPES_END, INVALID_ROADTYPES, 2 >

Additional Inherited Members

- Public Types inherited from MakeEnumPropsT< RoadTypes, byte, ROADTYPES_NONE, ROADTYPES_END, INVALID_ROADTYPES, 2 >
typedef RoadTypes type
 enum type (i.e. Trackdir)
typedef byte storage
 storage type (i.e. byte)
- Static Public Attributes inherited from MakeEnumPropsT< RoadTypes, byte, ROADTYPES_NONE, ROADTYPES_END, INVALID_ROADTYPES, 2 >
static const RoadTypes begin
 lowest valid value (i.e. TRACKDIR_BEGIN)
static const RoadTypes end
 one after the last valid value (i.e. TRACKDIR_END)
static const RoadTypes invalid
 what value is used as invalid value (i.e. INVALID_TRACKDIR)
static const uint num_bits
 Number of bits for storing the enum in command parameters.

Detailed Description

template<>
struct EnumPropsT< RoadTypes >

Definition at line 45 of file road_type.h.


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