OpenTTD
EnumPropsT< TownSize > Struct Template Reference
Inheritance diagram for EnumPropsT< TownSize >:
MakeEnumPropsT< TownSize, byte, TSZ_SMALL, TSZ_END, TSZ_END, 2 >

Additional Inherited Members

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

Definition at line 29 of file town_type.h.


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