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

Function LoadLandscape

src/openrct2/Game.cpp:177–183  ·  view source on GitHub ↗

* * rct2: 0x0066DC0F */

Source from the content-addressed store, hash-verified

175 * rct2: 0x0066DC0F
176 */
177static void LoadLandscape()
178{
179 auto intent = Intent(WindowClass::loadsave);
180 intent.PutEnumExtra<LoadSaveAction>(INTENT_EXTRA_LOADSAVE_ACTION, LoadSaveAction::load);
181 intent.PutEnumExtra<LoadSaveType>(INTENT_EXTRA_LOADSAVE_TYPE, LoadSaveType::landscape);
182 ContextOpenIntent(&intent);
183}
184
185void RCT2StringToUTF8Self(char* buffer, size_t length)
186{

Callers 3

SwitchToStartUpSceneMethod · 0.70
SelectFunction · 0.50

Calls 2

ContextOpenIntentFunction · 0.85
IntentClass · 0.70

Tested by

no test coverage detected