OpenTTD Source
1.11.0-beta2
|
Go to the documentation of this file.
21 default: NOT_REACHED();
68 default: NOT_REACHED();
@ VEH_AIRCRAFT
Aircraft vehicle type.
uint32 TileIndex
The index/ID of a Tile.
@ TRANSPORT_RAIL
Transport by train.
static bool IsRoadDepotTile(TileIndex t)
Return whether a tile is a road depot tile.
uint16 DepotID
Type for the unique identifier of depots.
static bool IsDepotTypeTile(TileIndex tile, TransportType type)
Check if a tile is a depot and it is a depot of the given type.
uint16 m2
Primarily used for indices to towns, industries and stations.
TransportType
Available types of transport.
@ VEH_ROAD
Road vehicle type.
@ MP_ROAD
A tile with road (or tram tracks)
static bool IsDepotTile(TileIndex tile)
Is the given tile a tile with a depot on it?
@ TRANSPORT_ROAD
Transport by road vehicle.
static bool IsRailDepotTile(TileIndex t)
Is this tile rail tile and a rail depot?
VehicleType
Available vehicle types.
@ TRANSPORT_WATER
Transport over water.
@ MP_STATION
A tile of a station.
@ TRANSPORT_AIR
Transport through air.
static TileType GetTileType(TileIndex tile)
Get the tiletype of a given tile.
@ VEH_TRAIN
Train vehicle type.
@ VEH_SHIP
Ship vehicle type.
static bool IsShipDepotTile(TileIndex t)
Is it a ship depot tile?
Tile * _m
Tiles of the map.
static DepotID GetDepotIndex(TileIndex t)
Get the index of which depot is attached to the tile.
static bool IsHangarTile(TileIndex t)
Is tile t an hangar tile?
static VehicleType GetDepotVehicleType(TileIndex t)
Get the type of vehicles that can use a depot.