| 63 | } |
| 64 | |
| 65 | [[nodiscard]] std::optional<std::string> loadHeightmapOpen() |
| 66 | { |
| 67 | fs::path basePath = Environment::getPath(Environment::PathId::heightmap); |
| 68 | Environment::autoCreateDirectory(basePath); |
| 69 | auto path = basePath.make_preferred().u8string(); |
| 70 | |
| 71 | // TODO: make named constant for filter? |
| 72 | return openBrowsePrompt(path, StringIds::title_load_png_heightmap_file, browse_type::load, "*.png"); |
| 73 | } |
| 74 | |
| 75 | // 0x00441843 |
| 76 | [[nodiscard]] std::optional<std::string> saveSaveGameOpen() |
no test coverage detected