21struct Sign : SignPool::PoolItem<&_sign_pool> {
28 Colours text_colour = COLOUR_WHITE;
31 Sign(
SignID index, Owner owner, int32_t x, int32_t y, int32_t z,
const std::string &name) :
32 SignPool::PoolItem<&_sign_pool>(
index), name(name), x(x), y(y), z(z), owner(owner) {}
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.
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.