|
OpenTTD Source
1.11.0-beta2
|
Define basic enum properties. More...
#include <story_base.h>
Additional Inherited Members | |
Public Types inherited from MakeEnumPropsT< StoryPageButtonCursor, byte, SPBC_MOUSE, SPBC_END, INVALID_SPBC, 8 > | |
| typedef StoryPageButtonCursor | type |
| enum type (i.e. Trackdir) | |
| typedef byte | storage |
| storage type (i.e. byte) | |
Static Public Attributes inherited from MakeEnumPropsT< StoryPageButtonCursor, byte, SPBC_MOUSE, SPBC_END, INVALID_SPBC, 8 > | |
| static const StoryPageButtonCursor | begin |
| lowest valid value (i.e. TRACKDIR_BEGIN) | |
| static const StoryPageButtonCursor | end |
| one after the last valid value (i.e. TRACKDIR_END) | |
| static const StoryPageButtonCursor | 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. | |
Define basic enum properties.
Definition at line 114 of file story_base.h.