diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2023-09-19 11:19:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 18:19:39 +0200 |
| commit | 70509275405d2a5c5e94743786f03b17ef2051f2 (patch) | |
| tree | e98fb95afcd9e8ce499ff02351e3ad963a9c76f8 /src/settings.cpp | |
| parent | 59b5b1cfca1614df681055d98d602692f482f0e2 (diff) | |
Default profile settings (#1869)
* Fix archive parsing and BSA invalidation
Diffstat (limited to 'src/settings.cpp')
| -rw-r--r-- | src/settings.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index fc9985f4..b568d802 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -214,6 +214,36 @@ void Settings::setUsePrereleases(bool b) set(m_Settings, "Settings", "use_prereleases", b); } +bool Settings::profileLocalInis() const +{ + return get<bool>(m_Settings, "Settings", "profile_local_inis", true); +} + +void Settings::setProfileLocalInis(bool b) +{ + set(m_Settings, "Settings", "profile_local_inis", b); +} + +bool Settings::profileLocalSaves() const +{ + return get<bool>(m_Settings, "Settings", "profile_local_saves", false); +} + +void Settings::setProfileLocalSaves(bool b) +{ + set(m_Settings, "Settings", "profile_local_saves", b); +} + +bool Settings::profileArchiveInvalidation() const +{ + return get<bool>(m_Settings, "Settings", "profile_archive_invalidation", false); +} + +void Settings::setProfileArchiveInvalidation(bool b) +{ + set(m_Settings, "Settings", "profile_archive_invalidation", b); +} + bool Settings::useSplash() const { return get<bool>(m_Settings, "Settings", "use_splash", true); |
