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

Function ShowStationViewWindow

src/station_gui.cpp:2174–2177  ·  view source on GitHub ↗

* Opens StationViewWindow for given station * * @param station station which window should be opened */

Source from the content-addressed store, hash-verified

2172 * @param station station which window should be opened
2173 */
2174void ShowStationViewWindow(StationID station)
2175{
2176 AllocateWindowDescFront<StationViewWindow>(_station_view_desc, station);
2177}
2178
2179/** Struct containing TileIndex and StationID */
2180struct TileAndStation {

Callers 2

ClickTile_StationFunction · 0.85
CheckClickOnViewportSignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected