* Get the directory for screenshots. * @return path to screenshots */
| 579 | * @return path to screenshots |
| 580 | */ |
| 581 | std::string_view FiosGetScreenshotDir() |
| 582 | { |
| 583 | static std::optional<std::string> fios_screenshot_path; |
| 584 | |
| 585 | if (!fios_screenshot_path) fios_screenshot_path = FioFindDirectory(SCREENSHOT_DIR); |
| 586 | |
| 587 | return *fios_screenshot_path; |
| 588 | } |
| 589 | |
| 590 | /** Basic data to distinguish a scenario. Used in the server list window */ |
| 591 | struct ScenarioIdentifier { |
no test coverage detected