Game specific configs (#3376)

* poc

* Set up variable game specific variable copies

* Set up getters to return the game specific option if it exists

* Avoid exceptions if a value isn't in the config

* Make sure the custom configs folder exists

* Update + review comments + rewrite

* The loathsome clang-formatter

* Specify which getter/setter is used everywhere
This commit is contained in:
kalaposfos13
2025-09-04 20:25:04 +02:00
committed by GitHub
parent e06667d307
commit 487bcaae85
5 changed files with 393 additions and 328 deletions

View File

@@ -16,7 +16,7 @@ struct GameInstallDir {
enum HideCursorState : int { Never, Idle, Always };
void load(const std::filesystem::path& path);
void load(const std::filesystem::path& path, bool is_game_specific = false);
void save(const std::filesystem::path& path);
int getVolumeSlider();