49 #define FOR_ALL_DEPOTS_FROM(var, start) FOR_ALL_ITEMS_FROM(Depot, depot_index, var, start) 50 #define FOR_ALL_DEPOTS(var) FOR_ALL_DEPOTS_FROM(var, 0) static TileType GetTileType(TileIndex tile)
Get the tiletype of a given tile.
~Depot()
Clean up a depot.
static Titem * Get(size_t index)
Returns Titem with given index.
Defintion of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle...
Date build_date
Date of construction.
Map related accessors for depots.
DepotPool _depot_pool
All our depots tucked away in a pool.
Base class for all PoolItems.
static DepotID GetDepotIndex(TileIndex t)
Get the index of which depot is attached to the tile.
Base class for all pools.
bool IsOfType(const Depot *d) const
Is the "type" of depot the same as the given depot, i.e.
uint32 TileIndex
The index/ID of a Tile.
int32 Date
The type to store our dates in.
static const TileIndex INVALID_TILE
The very nice invalid tile marker.
uint16 town_cn
The N-1th depot for this town (consecutive number)