Timer that is increased every 27ms, and counts towards ticks / days / months / years.
DepotPool _depot_pool("Depot")
All our depots tucked away in a pool.
Map related accessors for depots.
DepotID GetDepotIndex(Tile t)
Get the index of which depot is attached to the tile.
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle,...
bool IsOfType(const Depot *d) const
Is the "type" of depot the same as the given depot, i.e.
~Depot()
Clean up a depot.
uint16_t town_cn
The N-1th depot for this town (consecutive number)
TimerGameCalendar::Date build_date
Date of construction.
Templated helper to make a PoolID a single POD value.
Base class for all PoolItems.
PoolItem(Tindex index)
Construct the item.
static Titem * Get(auto index)
Returns Titem with given index.
const Tindex index
Index of this pool item.
Base class for all pools.
static TileType GetTileType(Tile tile)
Get the tiletype of a given tile.
constexpr TileIndex INVALID_TILE
The very nice invalid tile marker.
Definition of the game-calendar-timer.