Commit Graph

22 Commits (openmw-39)

Author SHA1 Message Date
scrawl ace4cfc0a8 Fix 'duplicate setting' errors when running installation wizard 9 years ago
cfcohen ad5eaaa705 Update the OpenMW Launcher so that it only writes changed values to
the user settings.cfg file.  Add a helpful header to the top of new
settings.cfg files.  Remove old code involve whitespace management
that didn't work correctly anayway, and doesn't matter since we're not
adding comments to the file.  Remove "automatically generated"
comments.
9 years ago
cfcohen 6882e6451a Remove tabs. :-[ 9 years ago
cfcohen 9a975a2e68 Substantial rewrite of code to save settings.cfg file, allowing
comments to persist, ordering of settings to be retained, additional
reporting of changed settings, preservation of the settings.cfg
timestamp when no changes are made, and foundational changes for
possible future features.  Due to poor interaction with the
openmw-launcher settings code, the launcher will still discard all of
these benefits.
9 years ago
scrawl 2eec0caca0 Remove dependency on Ogre::StringConverter 10 years ago
scrawl 27dc49a135 Rewrite game settings manager
Removes the abhorrent dependency on Ogre for this code and improves the error handling.
10 years ago
scrawl 77a4e38c49 Remove -Wno-ignored-qualifiers and fix caused warnings 11 years ago
greye 6cb795ef7d attempt to fix LowLevelFile, minor code reuse 11 years ago
greye 2c82da8e6e load Ogre::ConfigFile from DataStream 11 years ago
greye e02b04536f fix most vexing parse issue 11 years ago
greye 424d06a6f8 open fstreams from boost::filesystem::path, vol.2 11 years ago
scrawl c004fb778f Get rid of underscore defines. They are reserved by the standard. 11 years ago
Edmondo Tommasina 7b73bfb099 settings.cpp: fix std::runtime_error compile error
Fix following error:
[ 11%] Building CXX object
components/CMakeFiles/components.dir/nifoverrides/nifoverrides.cpp.o
/home/edmondo/src/openmw/components/settings/settings.cpp: In static
member function ‘static const std::string
Settings::Manager::getString(const std::string&, const std::string&)’:
/home/edmondo/src/openmw/components/settings/settings.cpp:82:15: error:
‘runtime_error’ is not a member of ‘std’
make[2]: ***
[components/CMakeFiles/components.dir/settings/settings.cpp.o] Error 1
12 years ago
scrawl 950bf66334 throw an exception if default value for a setting is not found 13 years ago
scrawl 797c2c538d fix some settings bugs 13 years ago
scrawl 689cf7ce05 ConfirmationDialog 13 years ago
scrawl 5accca385c fix crash on exit when no user settings exist 13 years ago
scrawl 7b3adb27a3 backend changes, terrain num lights setting 13 years ago
scrawl 6091a0504d first settings test (config file has to be created manually) 13 years ago
scrawl 308df7caa8 add method for keeping track of settings that changed 13 years ago
scrawl 82429d6931 finished interface 13 years ago
scrawl ff85006e71 added untested interface 13 years ago