Commit graph

137 commits

Author SHA1 Message Date
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Torbjörn Andersson
b56824d0cf Don't assert that "domain" is valid. One of the cases where this function
is called is when parsing the command-line, and we can't really expect the
user to always type something sensible.

svn-id: r17893
2005-05-02 05:29:50 +00:00
Max Horn
fa224cbb3f Use class File instead of FILE (not finished)
svn-id: r17753
2005-04-22 18:10:02 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Max Horn
039b2b3a20 Verify domain names as they are passed into the config manager (better to crash here, early, than to corrupt a user's config file)
svn-id: r16862
2005-02-22 18:11:36 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
b15d92e470 Fix running ScummVM in plugin-mode
svn-id: r16360
2004-12-28 20:29:42 +00:00
Max Horn
2941d595bd Make loading the config file explicit
svn-id: r16317
2004-12-25 19:03:13 +00:00
Nicolas Bacca
486e711173 WinCE global domains are not needed anymore
svn-id: r16219
2004-12-20 23:58:40 +00:00
Jonathan Gray
2909c8fff6 - Move MAXPATHLEN includes/defines into common location
- Save files are now stored in $HOME/.scummvm/ by default if no other
  save path is specified on non MacOS X unices.

svn-id: r16060
2004-12-15 12:30:58 +00:00
Max Horn
30039560a3 cleanup
svn-id: r15991
2004-12-05 23:24:43 +00:00
Max Horn
ab82837dcc Preserve the order of config file sections -> to suite people who manually edit the config file
svn-id: r15322
2004-09-28 12:10:49 +00:00
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