#include "core/enum_type.hpp"
Go to the source code of this file.
Data Structures | |
| struct | EnumPropsT< Owner > |
| Define basic enum properties. More... | |
Typedefs | |
| typedef TinyEnumT< Owner > | OwnerByte |
| typedef Owner | PlayerID |
| typedef OwnerByte | PlayerByte |
| typedef uint32 | PlayerFace |
| player face bits, info see in player_face.h | |
Enumerations | |
| enum | Owner { OWNER_BEGIN = 0x00, PLAYER_FIRST = 0x00, MAX_PLAYERS = 0x08, OWNER_TOWN = 0x0F, OWNER_NONE = 0x10, OWNER_WATER = 0x11, OWNER_END, INVALID_OWNER = 0xFF, INVALID_PLAYER = 0xFF, PLAYER_INACTIVE_CLIENT = 253, PLAYER_NEW_COMPANY = 254, PLAYER_SPECTATOR = 255 } |
| Enum for all players/owners. More... | |
| enum | { MAX_LENGTH_PRESIDENT_NAME = 31, MAX_LENGTH_COMPANY_NAME = 31 } |
Functions | |
| DECLARE_POSTFIX_INCREMENT (Owner) | |
Definition in file player_type.h.
| anonymous enum |
| MAX_LENGTH_PRESIDENT_NAME | The maximum length for a president's name. |
| MAX_LENGTH_COMPANY_NAME | The maximum length for a company's name. |
Definition at line 33 of file player_type.h.
| enum Owner |
Enum for all players/owners.
Definition at line 13 of file player_type.h.
1.5.6