OpenTTD
EnumPropsT< Colours > Struct Template Reference
Inheritance diagram for EnumPropsT< Colours >:
MakeEnumPropsT< Colours, byte, COLOUR_BEGIN, COLOUR_END, INVALID_COLOUR, 4 >

Additional Inherited Members

- Public Types inherited from MakeEnumPropsT< Colours, byte, COLOUR_BEGIN, COLOUR_END, INVALID_COLOUR, 4 >
typedef Colours type
 enum type (i.e. Trackdir)
typedef byte storage
 storage type (i.e. byte)
- Static Public Attributes inherited from MakeEnumPropsT< Colours, byte, COLOUR_BEGIN, COLOUR_END, INVALID_COLOUR, 4 >
static const Colours begin
 lowest valid value (i.e. TRACKDIR_BEGIN)
static const Colours end
 one after the last valid value (i.e. TRACKDIR_END)
static const Colours 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< Colours >

Definition at line 244 of file gfx_type.h.


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