23 default: NOT_REACHED();
70 default: NOT_REACHED();
static TileType GetTileType(TileIndex tile)
Get the tiletype of a given tile.
uint16 DepotID
Type for the unique identifier of depots.
Maps accessors for stations.
uint16 m2
Primarily used for indices to towns, industries and stations.
A tile with road (or tram tracks)
Tile * _m
Tiles of the map.
VehicleType
Available vehicle types.
static bool IsDepotTypeTile(TileIndex tile, TransportType type)
Check if a tile is a depot and it is a depot of the given type.
static bool IsRoadDepotTile(TileIndex t)
Return whether a tile is a road depot tile.
static VehicleType GetDepotVehicleType(TileIndex t)
Get the type of vehicles that can use a depot.
static bool IsShipDepotTile(TileIndex t)
Is it a ship depot tile?
static DepotID GetDepotIndex(TileIndex t)
Get the index of which depot is attached to the tile.
static bool IsRailDepotTile(TileIndex t)
Is this tile rail tile and a rail depot?
uint32 TileIndex
The index/ID of a Tile.
TransportType
Available types of transport.
Transport by road vehicle.
static bool IsHangarTile(TileIndex t)
Is tile t an hangar tile?
static bool IsDepotTile(TileIndex tile)
Is the given tile a tile with a depot on it?