78 Commits

Author SHA1 Message Date
Max Horn
cfcee0f673 bumped version to 0.5.5 (since so many changes to the launcher/options dialogs were made -> this helps to verify whether users use ScummVM pre or post these changes)
svn-id: r11153
2003-11-05 12:28:03 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Paweł Kołodziejski
9588a6fd31 fixed warnings
svn-id: r11046
2003-11-02 10:12:08 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
b6d5f750d5 small fix: if one specifies fullscreen=true in the 'scummvm' config section but fullscreen=false in the game specific config section, ScummVM now properly disables fullscreen mode; also, don't use setvbuf with a NULL bufer and a non-zero size param, that's not portable -> use setlinebuf instead
svn-id: r11029
2003-11-01 19:13:48 +00:00
Max Horn
235047d526 made SDL backend use config manager
svn-id: r11028
2003-11-01 19:12:11 +00:00
Max Horn
53db0a8a07 cleanup: removed version/id from GameSettings
svn-id: r10995
2003-10-28 17:07:25 +00:00
Jonathan Gray
fbd6528e36 stay within 80 char limit
svn-id: r10983
2003-10-26 21:08:53 +00:00
Oliver Kiehl
c86803c0c7 fix compile
svn-id: r10979
2003-10-26 15:58:49 +00:00
Max Horn
df60e72f77 updated README and usage/help text
svn-id: r10976
2003-10-26 13:33:49 +00:00
Max Horn
1d1f52f8e9 cleanup
svn-id: r10975
2003-10-26 12:44:20 +00:00
Robert Göffringmann
6929b9dd7b fix bug #830104: BASS won't start unless music driver chosen
svn-id: r10964
2003-10-25 14:36:09 +00:00
Oliver Kiehl
58dffdb027 fix compile when using dynamic plugin support
svn-id: r10920
2003-10-20 22:02:10 +00:00
Max Horn
89a9a35a0b usage string has to be updated (as I explained in various commit messages and in #scummv, but it seems not everybody saw that :-)
svn-id: r10918
2003-10-20 20:06:29 +00:00
Max Horn
23b3e4cc7d fix handling of unknown targets (previously, you could invoke scummvm with a randomg string, e.g. 'scumvmm foobar', and it wouldn't error out as it should)
svn-id: r10884
2003-10-18 00:25:13 +00:00
Max Horn
33f2fbff08 We proudly present the latest installment of our hit series 'Untangle the mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now
svn-id: r10883
2003-10-18 00:22:46 +00:00
Max Horn
0694eed273 moved game detection code out to the plugins
svn-id: r10882
2003-10-17 23:16:53 +00:00
Max Horn
1aab20ff2b new command line parser (README still has to be updated)
svn-id: r10880
2003-10-17 19:39:13 +00:00
Max Horn
0019f9c1ee removed obsolete FIXME/TODO
svn-id: r10875
2003-10-17 17:06:58 +00:00
Max Horn
4ae61964f2 cleanup
svn-id: r10874
2003-10-17 17:05:19 +00:00
Max Horn
ae6e6a4885 added a listTargets() function (not yet used, soon) and some cleanup
svn-id: r10865
2003-10-17 16:04:46 +00:00
Max Horn
aadb0aa237 oops, forgot to remove the old Platform enum
svn-id: r10863
2003-10-17 15:38:56 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Max Horn
116dbee1fc factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
svn-id: r10858
2003-10-17 12:18:58 +00:00
Max Horn
1e56fb8191 cleanup
svn-id: r10839
2003-10-16 23:16:16 +00:00
Max Horn
7cdb08f307 really removed kDefault*Volume this time :-)
svn-id: r10817
2003-10-15 23:26:07 +00:00
Max Horn
d71160af74 removed the kDefault*Volume constants
svn-id: r10816
2003-10-15 23:16:52 +00:00
Max Horn
ebd314a9ec fix debug mode 0
svn-id: r10791
2003-10-14 07:52:34 +00:00
Jonathan Gray
15eb5a91b0 zero is a valid debug level, also change incorrect string; 0 is game only, not engine only. Maybe the game and engine debug levels should be seperated? This only applies to SCUMM as no other engine maintains its own debug level as far as I know.
svn-id: r10786
2003-10-14 06:02:38 +00:00
Max Horn
5fb358365c set _debugMode to true if a non-zero debug level has been specified in the config
svn-id: r10782
2003-10-13 18:03:13 +00:00
Jamieson Christian
c2907a9b20 amiga= is deprecated, so don't auto-write it into the config file anymore
svn-id: r10773
2003-10-12 20:44:52 +00:00
Max Horn
31ba12c800 some more target<->game cleanup
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
5325ed83cf use gScummVMFullVersion for initial window caption; use ConfigManager::kApplicationDomain instead of hard-coded 'scummvm'
svn-id: r10768
2003-10-12 18:46:50 +00:00
Max Horn
36fd7ec445 some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
svn-id: r10766
2003-10-12 18:40:12 +00:00
Max Horn
c3f4bbf34f removing last traces of -w/-l
svn-id: r10765
2003-10-12 18:24:28 +00:00
Nicolas Bacca
a489795d93 Fix WinCE build
svn-id: r10741
2003-10-12 13:03:34 +00:00
Jamieson Christian
1c3bfd6e73 Patch around another MSVC6 quirk
svn-id: r10735
2003-10-11 14:13:22 +00:00
Jamieson Christian
504fa5c5e0 Hmm, that wasn't the problem after all. Apparently
MSVC6 doesn't like the "using" keyword and consequently
got confused by the namespaces.

svn-id: r10726
2003-10-10 14:58:13 +00:00
Max Horn
251c89b037 fix handling of last argument: if it's not a valid target, treat it like any other arg (in particular, this is now legal: ./scummvm -f -g hq3x)
svn-id: r10724
2003-10-10 14:12:01 +00:00
Jamieson Christian
413ae8aa3e Public constructor/destructor, for the sake of Singleton<>.
Sorry, MSVC6 doesn't seem to properly deal with the line
friend class Singleton<PluginManager>;

svn-id: r10723
2003-10-10 14:01:30 +00:00
Max Horn
5301edc383 some cleanup
svn-id: r10720
2003-10-10 13:55:08 +00:00
Max Horn
a8f8ae5452 added my thoughts on our command line options (please feel free to comment and tell me what you thinkg about it!); fixed program exit code for -z
svn-id: r10717
2003-10-10 11:15:14 +00:00
Max Horn
eece292342 rearranged code a bit
svn-id: r10715
2003-10-10 10:42:54 +00:00
Max Horn
ed5948272d constness
svn-id: r10714
2003-10-10 10:42:37 +00:00
Jonathan Gray
0de202bfb4 make gcc 2.95 -Wshadow happy (yes fingolfin its a broken compiler :)
svn-id: r10701
2003-10-09 14:05:09 +00:00
Jonathan Gray
e53923eeda give this more chance of working properly
svn-id: r10697
2003-10-09 11:33:34 +00:00
Max Horn
02b132b31c make khaleks correct fix a bit nicer; and add similar safety nets to the other parser...() methods
svn-id: r10696
2003-10-09 11:15:54 +00:00
Torbjörn Andersson
d3e35bc731 Temporary (?) fix to stop ScummVM crashing for me. (I don't define any
music driver in my [scummvm] section, which may be what's causing me
problems.)

svn-id: r10692
2003-10-09 06:52:28 +00:00
Max Horn
6e09d35090 turned PluginManager into a proper singleton
svn-id: r10688
2003-10-08 22:10: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