MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / WindowRideOpen

Function WindowRideOpen

src/openrct2-ui/windows/Ride.cpp:7087–7092  ·  view source on GitHub ↗

* * rct2: 0x006AEAB4 */

Source from the content-addressed store, hash-verified

7085 * rct2: 0x006AEAB4
7086 */
7087 static RideWindow* WindowRideOpen(const Ride& ride)
7088 {
7089 auto* windowMgr = GetWindowManager();
7090 return windowMgr->Create<RideWindow>(
7091 WindowClass::ride, kWindowSize, { WindowFlag::higherContrastOnPress, WindowFlag::resizable }, ride);
7092 }
7093
7094 /**
7095 *

Callers 3

RideMainOpenFunction · 0.85
WindowRideOpenStationFunction · 0.85
RideOpenVehicleFunction · 0.85

Calls 1

GetWindowManagerFunction · 0.85

Tested by

no test coverage detected