MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetStationBridgeableTileInfo

Function GetStationBridgeableTileInfo

src/station_cmd.cpp:909–912  ·  view source on GitHub ↗

* Get bridgeable tile information for a station type. * @param type Station type. * @return bridgeable tile information. */

Source from the content-addressed store, hash-verified

907 * @return bridgeable tile information.
908 */
909static std::span<const BridgeableTileInfo> GetStationBridgeableTileInfo(StationType type)
910{
911 return _station_bridgeable_info[to_underlying(type)];
912}
913
914/**
915 * Test if a rail station can be built below a bridge.

Callers 6

IsDockBridgeAboveOkFunction · 0.85
IsBuoyBridgeAboveOkFunction · 0.85
DrawTile_StationFunction · 0.85
CheckBuildAbove_StationFunction · 0.85

Calls 1

to_underlyingFunction · 0.85

Tested by

no test coverage detected