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

Function loadSaveGameOpen

src/OpenLoco/src/Game.cpp:50–55  ·  view source on GitHub ↗

0x004416FF

Source from the content-addressed store, hash-verified

48
49 // 0x004416FF
50 [[nodiscard]] std::optional<std::string> loadSaveGameOpen()
51 {
52 auto path = Environment::getPath(Environment::PathId::save).make_preferred().u8string();
53
54 return openBrowsePrompt(path, StringIds::title_prompt_load_game, browse_type::load, S5::filterSV5);
55 }
56
57 // 0x004417A7
58 [[nodiscard]] std::optional<std::string> loadLandscapeOpen()

Callers 1

loadGameFunction · 0.85

Calls 2

getPathFunction · 0.85
openBrowsePromptFunction · 0.85

Tested by

no test coverage detected