10 #ifndef COMPANY_TYPE_H 11 #define COMPANY_TYPE_H 49 typedef uint16 CompanyMask;
Helper template class that makes basic properties of given enumeration type visible from outsize...
Owner
Enum for all companies/owners.
A town owns the tile, or a town is expanding.
The company is manually removed.
The client wants a new company.
static const uint MAX_LENGTH_PRESIDENT_NAME_CHARS
The maximum length of a president name in characters including '\0'.
Type (helpers) for enums.
The company is removed due to autoclean.
uint32 CompanyManagerFace
Company manager face bits, info see in company_manager_face.h.
The tile has no ownership.
The client is spectating.
static const uint MAX_LENGTH_COMPANY_NAME_CHARS
The maximum length of a company name in characters including '\0'.
Informative template class exposing basic enumeration properties used by several other templates belo...
The tile/execution is done by "water".
static const uint MAX_HISTORY_QUARTERS
The maximum number of quarters kept as performance's history.
CompanyCtrlAction
The action to do with CMD_COMPANY_CTRL.
The company went belly-up.
First company, same as owner.
Maximum number of companies.
CompanyRemoveReason
The reason why the company was removed.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
The object is owned by a superuser / goal script.