22 Commits

Author SHA1 Message Date
Max Horn
b6a4610a77 be tolerant against abuse of ConfMan.getInt(); add missing default value for 'speech_volume' in bs1
svn-id: r13435
2004-03-31 18:00:46 +00:00
Max Horn
b6d911a616 Fixed a bad crash that occured when adding a new game target in the launcher
svn-id: r13428
2004-03-29 19:15:23 +00:00
Max Horn
09e3fec623 Preserve comments in config files
svn-id: r13412
2004-03-28 20:28:45 +00:00
Max Horn
dbda6299e1 cleanup; extended config file format checking (partially from patch #896096)
svn-id: r13411
2004-03-28 18:29:27 +00:00
Torbjörn Andersson
b25f42535b Changed printf() to debug() and removed newline at the end of some messages
svn-id: r13403
2004-03-28 14:27:54 +00:00
James Brown
9b97d851fe Add -c/--config option to specific alternate configuration file. Sorry Max, but it's damn useful for coverdiscs :)
svn-id: r12758
2004-02-07 04:53:59 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
b38995b288 cleanup (merged the two base set() methods)
svn-id: r11256
2003-11-11 00:26:38 +00:00
Max Horn
5c2a3da7f2 fix for bug #833537 (Config manager saves "save_slot")
svn-id: r11254
2003-11-10 23:17:11 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Max Horn
5c4e374d73 fixed ConfigManager getInt/getBool
svn-id: r11199
2003-11-07 16:54:58 +00:00
Max Horn
ced5921ac0 change behaviour of ConfigManager::get once again -> now we *do* fall back to the registered defaults...
svn-id: r11195
2003-11-07 15:57:36 +00:00
Jonathan Gray
b2e9b73c4c spelling fixes
svn-id: r11180
2003-11-07 02:43:47 +00:00
Max Horn
105728adee Use the new capabilities of class Map to make the ConfigManager case insensitive when it comes to comparing config keys/domains
svn-id: r11171
2003-11-07 00:03:55 +00:00
Max Horn
0dfd0e4414 changed the way get(key,domain) works for global domains (instead of defaulting to the empty string, it will now default to the registered default in this case)
svn-id: r11151
2003-11-05 12:16:14 +00:00
Max Horn
d45b475b48 added ConfigManager::removeKey
svn-id: r11140
2003-11-05 00:57:00 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Max Horn
186125ffb6 fix potential crash
svn-id: r11037
2003-11-01 22:11:33 +00:00
Max Horn
2dddd0e29a modified version of patch #821018; fix for bug #821083
svn-id: r10716
2003-10-10 11:13:25 +00:00
Max Horn
21480a2289 fix ConfMan.set when dom is empty; added some asserts (paranoia)
svn-id: r10698
2003-10-09 11:42:59 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +00:00