Commit Graph

604 Commits

Author SHA1 Message Date
James Brown
7a148743f1 Fiddling.
svn-id: r12411
2004-01-15 14:01:57 +00:00
James Brown
1778b01d76 Start of debug channel support. TODO: Move this to the common Debugger system?
svn-id: r12289
2004-01-10 05:20:15 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Jonathan Gray
2be1b4d68a start work on czech subtitle support, not finished
svn-id: r12175
2004-01-06 12:28:24 +00:00
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
2004-01-04 14:00:58 +00:00
Max Horn
ed41771d1f spelling
svn-id: r11960
2003-12-27 13:52:48 +00:00
Max Horn
2e99e3f1f9 disable custom new/delete/free by default (only keep it around in case it comes in handy again in the future)
svn-id: r11839
2003-12-21 19:24:14 +00:00
Travis Howell
53950b89de Leave set to false for now, due to Simon2.
svn-id: r11819
2003-12-21 16:15:37 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +00:00
Robert Göffringmann
189e08bc79 Broken Sword 1: initial import
svn-id: r11664
2003-12-16 02:10:15 +00:00
Chris Apers
de1a8fdafa Correct name
svn-id: r11655
2003-12-15 15:11:58 +00:00
Max Horn
35b62c294d removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
svn-id: r11603
2003-12-13 00:20:01 +00:00
Jonathan Gray
7c320d63de add config file parameter to specify the desired port when using the ALSA music driver
svn-id: r11583
2003-12-11 14:38:43 +00:00
Travis Howell
3d6461d30f Add option to enable copy protection in SCUMM games, which ScummVM disable it by default.
svn-id: r11571
2003-12-11 06:08:43 +00:00
Travis Howell
e11c741e82 Drop OpenGL backend, since it has no maintainer and is too buggy.
svn-id: r11569
2003-12-11 05:32:27 +00:00
James Brown
fba9070198 Version bump, small NEWS tweakage
svn-id: r11530
2003-12-08 16:14:00 +00:00
Travis Howell
c793e4c9df Switch nosubtitles option to subtitles, to match others and help with Simon2 issue.
svn-id: r11458
2003-12-02 08:09:14 +00:00
Max Horn
493d64d91b cleanup / added Engine::getGameDataPath()
svn-id: r11420
2003-11-29 12:10:23 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +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
Max Horn
e34f2b8b33 cut down on unnecessary GameDetector references
svn-id: r11239
2003-11-10 01:04:12 +00:00
Paweł Kołodziejski
bd972c97e5 cleanup whitespaces
svn-id: r11218
2003-11-08 22:05:58 +00:00
Max Horn
496d19d461 err, *strnlen(,,3)* used to check for empty strings? I think not :-)
svn-id: r11190
2003-11-07 14:17:34 +00:00
Jonathan Gray
dc63e3882b adjust for recent string c_str changes so title is always shown again. Fixes bug #837868 probably not the best way of doing it but it'll do
svn-id: r11188
2003-11-07 14:00:33 +00:00
Torbjörn Andersson
3433769bea Removed some unnecessary whitespace
svn-id: r11187
2003-11-07 13:17:37 +00:00
Jonathan Gray
239aea0ff0 spelling fixes
svn-id: r11178
2003-11-07 02:31:44 +00:00
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
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