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