|
@@ -631,28 +631,30 @@ static inline void MakeDriveThroughRoadS
|
|
|
MakeStation(t, station, sid, (rst == ROADSTOP_BUS ? STATION_BUS : STATION_TRUCK), GFX_TRUCK_BUS_DRIVETHROUGH_OFFSET + a);
|
|
|
SetRoadTypes(t, rt);
|
|
|
SetRoadOwner(t, ROADTYPE_ROAD, road);
|
|
|
SetRoadOwner(t, ROADTYPE_TRAM, tram);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* Make the given tile an airport tile.
|
|
|
* @param t the tile to make a airport
|
|
|
* @param o the owner of the airport
|
|
|
* @param sid the station to which this tile belongs
|
|
|
* @param section the StationGfx to be used for this tile
|
|
|
* @param wc the type of water on this tile
|
|
|
*/
|
|
|
static inline void MakeAirport(TileIndex t, Owner o, StationID sid, byte section)
|
|
|
static inline void MakeAirport(TileIndex t, Owner o, StationID sid, byte section, WaterClass wc)
|
|
|
{
|
|
|
MakeStation(t, o, sid, STATION_AIRPORT, section);
|
|
|
SetWaterClass(t, wc);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* Make the given tile a buoy tile.
|
|
|
* @param t the tile to make a buoy
|
|
|
* @param sid the station to which this tile belongs
|
|
|
* @param wc the type of water on this tile
|
|
|
*/
|
|
|
static inline void MakeBuoy(TileIndex t, StationID sid, WaterClass wc)
|
|
|
{
|
|
|
/* Make the owner of the buoy tile the same as the current owner of the
|
|
|
* water tile. In this way, we can reset the owner of the water to its
|