MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / loadLandscapeOpen

Function loadLandscapeOpen

src/OpenLoco/src/Game.cpp:58–63  ·  view source on GitHub ↗

0x004417A7

Source from the content-addressed store, hash-verified

56
57 // 0x004417A7
58 [[nodiscard]] std::optional<std::string> loadLandscapeOpen()
59 {
60 auto path = Environment::getPath(Environment::PathId::landscape).make_preferred().u8string();
61
62 return openBrowsePrompt(path, StringIds::title_prompt_load_landscape, browse_type::load, S5::filterSC5);
63 }
64
65 [[nodiscard]] std::optional<std::string> loadHeightmapOpen()
66 {

Callers 1

loadGameFunction · 0.85

Calls 2

getPathFunction · 0.85
openBrowsePromptFunction · 0.85

Tested by

no test coverage detected