Types related to companies. More...
#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 | CompanyID |
| typedef OwnerByte | CompanyByte |
| typedef uint16 | CompanyMask |
| typedef uint32 | CompanyManagerFace |
| Company manager face bits, info see in company_manager_face.h. | |
Enumerations | |
| enum | Owner { OWNER_BEGIN = 0x00, COMPANY_FIRST = 0x00, MAX_COMPANIES = 0x0F, OWNER_TOWN = 0x0F, OWNER_NONE = 0x10, OWNER_WATER = 0x11, OWNER_END, INVALID_OWNER = 0xFF, INVALID_COMPANY = 0xFF, COMPANY_INACTIVE_CLIENT = 253, COMPANY_NEW_COMPANY = 254, COMPANY_SPECTATOR = 255 } |
Enum for all companies/owners. More... | |
| enum | { MAX_LENGTH_PRESIDENT_NAME_BYTES = 31, MAX_LENGTH_PRESIDENT_NAME_PIXELS = 94, MAX_LENGTH_COMPANY_NAME_BYTES = 31, MAX_LENGTH_COMPANY_NAME_PIXELS = 150 } |
| enum | { MAX_HISTORY_MONTHS = 24 } |
Functions | |
| DECLARE_POSTFIX_INCREMENT (Owner) | |
Types related to companies.
Definition in file company_type.h.
| anonymous enum |
Definition at line 40 of file company_type.h.
| anonymous enum |
Definition at line 47 of file company_type.h.
| enum Owner |
Enum for all companies/owners.
Definition at line 20 of file company_type.h.
1.6.1