Commit Graph

6 Commits (30e6821d818932797ff9cba22863bcb38857b71a)

Author SHA1 Message Date
elsid ebfcb661ee
Support reload for settings values
Convert local static variables into unique_ptr static members of StaticValues.
Add clear member function to reset them. Use it when settings have to be
reloaded.
1 year ago
elsid 258ae9d98e
Add settings index to provide lookup by category and name 2 years ago
elsid 35f4bcd31e
Run openmw_settings_access_benchmark in CI
Add benchmarks to access 2 and 3 settings. Use settings with max memory address
distance assuming Settings::Values is single memory location object.

Use settings-default.cfg from the source code repository to initialize settings.
2 years ago
elsid 8e487c283c
Store default settings values 2 years ago
elsid db7d0adfe8
Define settings values based on documentation
Using docs/source/reference/modding/settings/*.rst and
files/settings-default.cfg files content.
2 years ago
elsid 3bad40153c
Define typed settings storage with single time initialization
To make sure loaded settings have valid values doing the check once per loading.
And to make access more efficient.
2 years ago