Commit Graph

500 Commits

Author SHA1 Message Date
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
Jamieson Christian
a722d0601e Preliminary preparation for new YM2612 FM emulator.
All the hooks are in, but actual implementation
needs to be checked for portability.

svn-id: r10615
2003-10-05 15:36:52 +00:00
Max Horn
b4e5d97994 factor out common gfx_mode/fullscreen setup code from the game engines into the main code (maybe putting this into the Engine constructor would be better, though?)
svn-id: r10611
2003-10-05 14:37:16 +00:00
Max Horn
fd2c041d79 Make use of new List iterator
svn-id: r10609
2003-10-05 14:03:07 +00:00
Jonathan Gray
8cb0c8c320 bump version
svn-id: r10606
2003-10-05 13:58:46 +00:00
Max Horn
e1128abe64 create the timer object a bit earlier
svn-id: r10603
2003-10-05 13:10:28 +00:00
Jonathan Gray
3ef5a410a3 add ability to use boot_param in a config file to specify boot param, this is useful for many things esp loom towns where difficulty select is via boot param
svn-id: r10582
2003-10-04 01:02:23 +00:00
Max Horn
bb6765f85d cleanup & restructuring; in particular move the midi driver list to its own source file
svn-id: r10550
2003-10-02 22:52:57 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
James Brown
9bab58179d Revert kirbens change on 05Sep. Setting debugmode with debuglevel 0 is deliberate and intended behavior (for enabling engine specific 'debug options' without debug messages)
svn-id: r10519
2003-10-01 11:42:32 +00:00
Jonathan Gray
eecdf67c63 disable joystick input by default either command line or config file need to be used to enable it now, ability to choose joystick number to use also added
svn-id: r10518
2003-10-01 10:47:19 +00:00
Max Horn
17bf7b95aa removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
svn-id: r10471
2003-09-28 21:08:48 +00:00
Joost Peters
82fd316187 queen initial import
svn-id: r10462
2003-09-28 15:50:47 +00:00
Jamieson Christian
4dcb829e78 Timer services are now available through g_timer, so
you don't have to go through the Engine to get to them.

svn-id: r10450
2003-09-27 23:59:00 +00:00
Max Horn
7d2fff0012 added hq2x scaler
svn-id: r10439
2003-09-27 21:20:00 +00:00
Travis Howell
68c060405c Add optional define for no console
svn-id: r10410
2003-09-26 00:09:09 +00:00
Max Horn
74e3448a4c added HQ3x filter
svn-id: r10346
2003-09-21 12:10:32 +00:00
Nicolas Bacca
9af8549c95 Use banners on WinCE
svn-id: r10345
2003-09-21 09:06:13 +00:00
Max Horn
e13060dcb9 fixed AMD64 warning
svn-id: r10342
2003-09-20 20:58:31 +00:00
Max Horn
bfbc6ed39a prepend underscore before passing symbols to dlsym, at least on OS X
svn-id: r10328
2003-09-20 01:08:08 +00:00
Max Horn
3afbb22ad7 fix invalid target crash for build using loadable modules
svn-id: r10325
2003-09-20 00:37:09 +00:00
Oliver Kiehl
8fc9d92e32 cleanup
svn-id: r10320
2003-09-19 21:36:27 +00:00
Max Horn
6a4663824e added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
svn-id: r10304
2003-09-18 18:23:53 +00:00
Max Horn
209413ed07 disable the custom operator 'new' on Mac OS X, as it cause multiple definition linker error when building ScummVM with loadable modules
svn-id: r10303
2003-09-18 18:22:15 +00:00
James Brown
dbb20eaee5 This'll also break Makefile.noconf
svn-id: r10291
2003-09-18 12:07:56 +00:00
Max Horn
0ae88a7dfc Temporarily disabled this rule since it causes troubles for MinGW
svn-id: r10290
2003-09-18 10:51:42 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
3c55fd316f cleanup
svn-id: r10284
2003-09-17 23:05:07 +00:00
Max Horn
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00