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