Commit Graph

36 Commits

Author SHA1 Message Date
Simon Meulenbeek 625744298b change setValue to replace value instead of insert 2021-07-05 13:22:46 +00:00
Andrei Kortunov 14cf0ce1dc Implement instanced groundcover 2021-01-26 22:29:41 +04:00
fredzio dbdd397716 Remove deadcode. 2021-01-01 16:54:45 +01:00
psi29a 957a1425d1 Merge branch 'cleanup_1' into 'master'
Cleanup 1

See merge request OpenMW/openmw!365
2020-10-24 18:43:03 +00:00
AnyOldName3 538314b03a Make path settings have path type 2020-10-23 15:34:41 +01:00
Bret Curtis e51ca542d4 components/config cleanup 2020-10-23 00:03:14 +02:00
Andrei Kortunov 487bfed672 Use QMultiMap instead of QMap 2020-06-24 15:13:56 +04:00
elsid 045ceeac11
Replace foreach macro by for-loop 2019-10-20 20:08:16 +02:00
Andrei Kortunov 71227ffc04 Handle possible invalid iterator issue during settings parsing 2019-01-08 12:37:46 +04:00
Capostrophic be542507f8
Make hasMaster() behavior consistent with isGameFile() (fixes #3618) 2018-03-28 15:43:51 +03:00
Marcin Baszczewski 46b015d3d9 Fix assert with empty setting value
Local value could be empty, so it's important to check it size before read first char.
2017-10-22 10:10:04 +02:00
AnyOldName3 49dbb4a9ca Add a third copy of a comment where I felt clarification was missing 2017-10-15 02:05:22 +01:00
AnyOldName3 7329e6a9ef Load 'data=...' lines correctly when starting the wizard or launcher, and save them correctly when exiting the launcher. 2017-10-15 01:59:21 +01:00
AnyOldName3 28ff677337 Save 'data=...' lines correctly when exiting the wizard 2017-10-15 00:07:46 +01:00
scrawl 177a6f4a68 Launcher: ensure to clear previous settings when reloading settings 2015-11-27 20:52:29 +01:00
cfcohen 67c4b17581 Commit files that I thought wre in the previous commit. :-[ I'm
accustomed to the hg behavior of commiting all modified files by
default.
2015-11-25 13:17:03 -05:00
cc9cii 6b28955f31 Fix attempt to erase using a const_iterator. 2015-06-15 10:26:16 +10:00
cc9cii 36aa4aa9bd If a removed 'content=' item has comments, keep them in config file for later use. 2015-06-15 09:53:26 +10:00
cc9cii c22c9c271d Allow comments (lines starting with # character) and blank lines in openmw.cfg. Should resolve Feature #2535.
- allows moving various config entries up or down
- comment lines above config entries stay as a pair
2015-06-14 14:51:01 +10:00
scrawl de98d991b4 Revert "Allow comments (lines starting with # character) and blank lines in openmw.cfg. Should resolve Feature #2535."
Breaks the saving of content= entry order.

This reverts commit 15fe5d88e2.

Conflicts:
	components/config/gamesettings.cpp
2015-06-13 23:50:12 +02:00
scrawl c54a225467 Revert "Allow space characters in front of comments."
This reverts commit 4902c66792.
2015-06-13 23:49:29 +02:00
scrawl 3bfe167bc0 Revert "Fix loop where there was a potential for double entry."
This reverts commit a439f49c4d.
2015-06-13 23:49:29 +02:00
cc9cii 8e8da724f5 Remove unnecessary comment entry in the config file. 2015-06-10 08:23:38 +10:00
cc9cii a439f49c4d Fix loop where there was a potential for double entry. 2015-06-07 07:38:52 +10:00
cc9cii 4902c66792 Allow space characters in front of comments. 2015-06-07 07:21:15 +10:00
cc9cii 15fe5d88e2 Allow comments (lines starting with # character) and blank lines in openmw.cfg. Should resolve Feature #2535.
- controlled via a checkbox in launcher settings
2015-06-06 20:35:55 +10:00
scrawl a8cb4e807b Warning fix 2015-03-03 11:24:23 +01:00
dteviot accc078e0e Morrowind.ini import progress bar. (Fixes #2344)
1. Show a "bouncing ball" Progress bar when importing from morrowind.ini.
2. Removed dialog that asks for content list name when import game files from morrowind.ini. Instead, name is time stamp.
3. Removed commented out code.
4. Additional bugfix. No longer create a empty content list when OpenMW.cfg has no content files.
2015-02-22 08:46:12 +13:00
dteviot 05b89be8bf Launcher sets content list to match values in openmw.cfg (Fixes #811)
I took the liberty to add accessor & mutator functions for classes ContentListsGameSettings and LauncherSettings , as existing code can reverse order of entries.
Also replaced some "magic strings" with named constants.
2015-01-10 18:46:47 +13:00
scrawl fb1aa096be Settings: reduce scope for better readability 2014-12-10 21:46:36 +01:00
scrawl e11bec1a37 Fix the launcher not properly reloading data directories 2014-11-20 22:36:24 +01:00
pvdk 38d825b004 Merge remote-tracking branch 'upstream/master' into wizard
Conflicts:
	CMakeLists.txt
	apps/launcher/maindialog.cpp
2014-05-29 16:42:16 +02:00
pvdk 21c406316f Working on the Settings tab: start the importer/wizard 2014-04-16 16:54:55 +02:00
pvdk 3792b301e9 Wizard now runs the ini-importer to import settings from Morrowind.ini 2014-02-25 15:33:30 +01:00
pvdk c54217d008 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	CMakeLists.txt
	components/CMakeLists.txt
	components/config/gamesettings.cpp
2014-02-19 19:26:07 +01:00
pvdk 095ff4e17a Moved launcher settings stuff into components, so they can be reused in the wizard 2013-12-25 00:50:25 +01:00