OpenTTD
EnumPropsT< VehicleType > Struct Template Reference

Helper information for extract tool. More...

#include <vehicle_type.h>

Inheritance diagram for EnumPropsT< VehicleType >:
MakeEnumPropsT< VehicleType, byte, VEH_TRAIN, VEH_END, VEH_INVALID, 3 >

Additional Inherited Members

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

Helper information for extract tool.

Definition at line 39 of file vehicle_type.h.


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