OpenTTD Source: EnumPropsT< DiagDirection > Struct Reference

OpenTTD Source 1.11.0-RC1

EnumPropsT< DiagDirection > Struct Reference

Allow incrementing of DiagDirection variables. More...

`#include <direction_type.h>`

Inheritance diagram for EnumPropsT< DiagDirection >:

## Additional Inherited Members
Public Types inherited from MakeEnumPropsT< DiagDirection, byte, DIAGDIR_BEGIN, DIAGDIR_END, INVALID_DIAGDIR, 2 >
typedef DiagDirection | type
| enum type (i.e. Trackdir)
typedef byte | storage
| storage type (i.e. byte)
Static Public Attributes inherited from MakeEnumPropsT< DiagDirection, byte, DIAGDIR_BEGIN, DIAGDIR_END, INVALID_DIAGDIR, 2 >
static const DiagDirection | begin
| lowest valid value (i.e. TRACKDIR_BEGIN)
static const DiagDirection | end
| one after the last valid value (i.e. TRACKDIR_END)
static const DiagDirection | 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

Allow incrementing of DiagDirection variables.

Define basic enum properties

Definition at line 91 of file direction_type.h.

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

- src/direction_type.h