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

Function ShowWaypointWindow

src/waypoint_gui.cpp:232–235  ·  view source on GitHub ↗

* Show the window for the given waypoint. * @param wp The waypoint to show the window for. */

Source from the content-addressed store, hash-verified

230 * @param wp The waypoint to show the window for.
231 */
232void ShowWaypointWindow(const Waypoint *wp)
233{
234 AllocateWindowDescFront<WaypointWindow>(_waypoint_view_desc, wp->index);
235}

Callers 2

ClickTile_StationFunction · 0.85
CheckClickOnViewportSignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected