21struct Sign : SignPool::PoolItem<&_sign_pool> {
31 Sign(
SignID index, Owner
owner, int32_t x, int32_t y, int32_t z,
const std::string &name) :
Types related to companies.
static constexpr Owner INVALID_OWNER
An invalid owner.
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle,...
SignPool _sign_pool("Sign")
Initialize the sign-pool.
PoolID< uint16_t, struct SignIDTag, 64000, 0xFFFF > SignID
The type of the IDs of signs.
Base class for all pools.
Colours text_colour
Colour of the sign's text. Only relevant for OWNER_DEITY.
Owner owner
Placed by this company. Anyone can delete them though. OWNER_NONE for gray signs from old games.
void UpdateVirtCoord()
Update the coordinate of one sign.
Specialised ViewportSign that tracks whether it is valid for entering into a Kdtree.
Types related to viewports.