Commit Graph

72 Commits (master)

Author SHA1 Message Date
Alexei Kotov 93d1c6d7e0 Drop 360-degree screenshot support (#7720) 7 months ago
Alexei Kotov 8a8d77a444 Merge branch 'settings_reload' into 'master'
Support reload for settings values

See merge request OpenMW/openmw!3543
1 year ago
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 dcd81d026f
Use settings values for Video settings
* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
1 year ago
elsid a84e412a37
Use settings values for Sound settings 1 year ago
elsid 08902371b4
Use settings values for Shaders settings 1 year ago
elsid b3c8a15af1
Parse navmesh render mode on reading settings 1 year ago
elsid 6c18723bc7
Use settings values for Input settings 1 year ago
elsid d113f0fc44
Use settings values for GUI settings 1 year ago
elsid ebb8fdc698
Use settings values for General settings 2 years ago
elsid 86e5b94ef6
Convert setting value int to CollisionShapeType on initialization 2 years ago
elsid 258ae9d98e
Add settings index to provide lookup by category and name 2 years ago
elsid 0a678224cd
Add category to error message 2 years ago
elsid 8e487c283c
Store default settings values 2 years ago
elsid 8f84431840
Do not initialize settings storage for editor 2 years ago
elsid bdc2eb5250
Check only original default settings
When more than 1 user config layers are used we still want to check only the
first layer of default settings loaded from settings-default.cfg.
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
Shi Han a90e3b8c3b Move from std::atoi to std::from_char 2 years ago
elsid 624d8bc931
Support unsigned settings values 2 years ago
elsid 2388b21f63
Use std::from_chars to parse settings integral numbers and handle errors 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
Project579 4bb07282c9 Replace all remaining occurrences of boost::filesystem with std::filesystem. 2 years ago
Evil Eye 2222b47e3d Make Settings::Manager::getString return a reference 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
Andrei Kortunov 8ff64ca176 Add a default way to store arrays in the settings.cfg 2 years ago
elsid e03e0db55d
Use std::string_view to access settings
There is no more need to copy std::string into a pair when need to call
std::map::find.

Remove unused resetPendingChange function.
3 years ago
jvoisin cb226e00f9 Remove some more of boost:: 3 years ago
Evil Eye a64979e25d Replace empty std::string assignments 3 years ago
elsid 7038c82690
Configure mav navmeshdb file size from the launcher 3 years ago
Martin Otto 96e48e5492 Make settings loader differentiate between engine and editor (fixes #6658). 3 years ago
Petr Mikheev a453e5c198 Reuse the same code to load settings in apps/openmw, apps/launcher, apps/opencs 3 years ago
Petr Mikheev 1bcc4a8bcc Read settings.cfg from all active config dirs 3 years ago
elsid 01c712d5f1
Split navigator settings into subtypes
Mostly to distinguish settings that affect properties of the generated navmesh.
3 years ago
OnlyForF1 c5b33185b5 Recalculate the Projection Matrix every time the window is resized. 3 years ago
Thunderforge 89950e5528 Preventing type conversion of double to float for objectPagingMinSize 4 years ago
AnyOldName3 09f39b29f0 Load defaults.bin instead of settings-default.cfg. Do not decode yet. 4 years ago
AnyOldName3 92325976e9 Update documentation to refer to defaults.bin 4 years ago
Petr Mikheev 8cdc7031f5 Support vectors in settings.cfg 4 years ago
Capostrophic f7d2cdb782 Revert to 0.45.0 comments-in-the-middle settings behavior 5 years ago
elsid a7930073e8
Move settings parser declaration to separate header 5 years ago
Capostrophic dfb852cbb0 Improve Boost apologia 6 years ago
Capostrophic 49c691d00a Make settings manager locale-independent again 6 years ago
Andrei Kortunov 4f42fe5595 Refactor Settings::Manager::apply() 6 years ago
Andrei Kortunov 0cd8d4b842 Do not track resolution settings changes in the InputManager (bug #4902) 6 years ago
Andrei Kortunov 0937f02598 Get rid of unnecessary string streams 6 years ago
Andrei Kortunov 1452684d9e Use new logging system for components 6 years ago
Harald H d3b623b5d3 http to https for supported urls (#1625)
* http to https for supported urls

* http to https

* http to https

* http to https

* http to https

* http to https

* http to https

* http to https

* http tp https

* http to https

* http to https

* http to https

* http to https

* http to https

* http to https

* http to https

* http to https

* some url fixes

* http to https
7 years ago
David Walley 41dc82abad Update Links to Documentation in settings.cfg files (#1523)
* Update settings-default.cfg

* Update settings.cpp
7 years ago
Bret Curtis c781d1f8ed purge unnecessary imports
add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back
8 years ago