Commit Graph

690 Commits

Author SHA1 Message Date
Lars Persson
b9881d63f6 replaced #if defined(_MSC_VER)
with #if defined (WIN32)

svn-id: r18432
2005-06-21 22:23:53 +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
Jonathan Gray
bf304539fe Document c64 as being a valid --platform= option.
svn-id: r18413
2005-06-19 23:02:38 +00:00
Torbjörn Andersson
dc3372b580 Applied patch #1208299. A warning message about the "playing from CD under
Windows" bug is better than nothing, even if a proper bugfix - if one is
possible - would be preferable.

svn-id: r18389
2005-06-14 08:54:11 +00:00
Paweł Kołodziejski
bc65eb8ea5 added code for loading dynamic plugins(DLLs) for windows
svn-id: r18356
2005-06-05 12:55:33 +00:00
Max Horn
5286121524 Removing the last traces of the old custom new/delete operators
svn-id: r18094
2005-05-14 15:33:27 +00:00
Torbjörn Andersson
6646a6e3ac Added "FluidSynth" to the features string. We may have to start word-
wrapping it in the "About" dialog...

svn-id: r18055
2005-05-11 15:55:40 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn
52bbc86797 Patch #1181544 (AmigaOS 4 changes)
svn-id: r18011
2005-05-09 21:21:21 +00:00
Max Horn
f5900a917c Handle engine creation failure a bit more graceful
svn-id: r17918
2005-05-05 12:03:40 +00:00
Max Horn
ce3cd9b194 Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
svn-id: r17788
2005-04-24 12:21:53 +00:00
Max Horn
06a313f0a8 Change the way the command line options are put into the ConfigManager
svn-id: r17775
2005-04-23 14:39:15 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Max Horn
7903943019 oops
svn-id: r17760
2005-04-22 21:56:32 +00:00
Max Horn
78030693fc Added macros for integer options; added some explantory comments to the option parser macros
svn-id: r17759
2005-04-22 21:49:29 +00:00
Max Horn
2cfb9322e2 Added new (optional) OSystem::initBackend() method; this (and its usage) fixes bugs #1160977 and #1184664
svn-id: r17694
2005-04-19 20:22:50 +00:00
Torbjörn Andersson
59e96ca993 Pedantic fix.
svn-id: r17584
2005-04-13 12:36:19 +00:00
Eugene Sandulenko
bdbd56406c Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.

svn-id: r17571
2005-04-13 00:11:49 +00:00
Max Horn
c9455a8806 oops
svn-id: r17522
2005-04-10 16:55:37 +00:00
Torbjörn Andersson
13dc149ded Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.

svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn
3aba4997f4 Moved the GFX_ constants to sdl-common.h, where they belong.
svn-id: r17479
2005-04-09 13:31:47 +00:00
Jonathan Gray
24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Eugene Sandulenko
249134ede3 Add NES platform
svn-id: r17454
2005-04-08 20:49:13 +00:00
Eugene Sandulenko
1758c5b211 Initial checking of Gob engine
svn-id: r17388
2005-04-05 15:07:40 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Travis Howell
26f4124873 Typo
svn-id: r17269
2005-03-28 09:43:09 +00:00
Eugene Sandulenko
b2288005da Enable kyra engine in static builds. Maybe someone will work on it :)
svn-id: r17234
2005-03-25 22:37:34 +00:00
Max Horn
9a4bc8ce16 Patch #1117443 (Experimental plugin code revision)
svn-id: r17231
2005-03-25 17:55:57 +00:00
Travis Howell
5ac7520071 Missed file
svn-id: r17084
2005-03-12 00:55:46 +00:00
Chris Apers
28edee2380 PalmOS too
svn-id: r17073
2005-03-11 10:35:38 +00:00
Eugene Sandulenko
3cf691e9f9 Add --force-1x-overlay command line option as discussed in bugreport
#1160454 "ALL: Failed assertion when using 1x scaler"

svn-id: r17067
2005-03-10 16:29:08 +00:00
Eugene Sandulenko
7bb53f3bf1 Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.

Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.

svn-id: r17055
2005-03-09 23:07:32 +00:00
Eugene Sandulenko
b72df416a6 WIP of GP32 port. Now it is more correct port and compiles with current
CVS. Though it has some issues unresolved, one of them is that it crashes
right after splash screen without showing anything. Work in progress :)

svn-id: r17054
2005-03-09 22:21:57 +00:00
Travis Howell
07aa92063a Add Amiga renderer mode for EGA games.
svn-id: r17019
2005-03-07 00:39:48 +00:00
Eugene Sandulenko
ff1a0c1c4e That's what may happen if you happen to have more than one local tree.
Another spot of oboslete hercules-related usage.

svn-id: r16986
2005-03-03 12:51:09 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
8525d73e9b Configure the plugin prefix/suffix in the configure script; use that setting in plugins.cpp
svn-id: r16739
2005-02-06 17:21:31 +00:00
Eugene Sandulenko
284c209bad Fix bug #1109687 buffer overflow causes crash from env-var HOME and some
other places with such overflows.

svn-id: r16640
2005-01-26 11:01:41 +00:00
Max Horn
6f6668ce21 Reduce dependencies on common/savefile.h from 88 to 14
svn-id: r16528
2005-01-10 22:18:39 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
65a4044203 Fix bug #1097467 (COMI: cursor is invisible at "insert CD" message)
svn-id: r16490
2005-01-08 18:37:28 +00:00
Max Horn
5d88c39549 Modify the singleton code once more to help overcome an issue with MSVC 7 (see also patch #1095133)
svn-id: r16454
2005-01-06 18:38:34 +00:00
Max Horn
74bf578bda Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
f52be9df68 Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
acd1f910d5 Handle SCUMMVM_SAVEPATH exactly like the command line option --savepath (but the command line option has higher priority); i.e. it's affecting the config system (see also bug #1045171)
svn-id: r16391
2004-12-30 21:48:22 +00:00
Max Horn
b15d92e470 Fix running ScummVM in plugin-mode
svn-id: r16360
2004-12-28 20:29:42 +00:00
Max Horn
d299f0601b Reducing header dependencies a bit
svn-id: r16347
2004-12-27 22:08:20 +00:00
Max Horn
d138a880bf Fix for bug #1091748 (DIG: Starting new games takes a long time); turns out querying the debuglevel from the config-manager very often is too slow
svn-id: r16345
2004-12-27 21:54:20 +00:00
Max Horn
81b6e9e1e6 Get rid of the useless & troublesome master_volume
svn-id: r16328
2004-12-25 23:43:05 +00:00
Max Horn
4a0c1b86f7 Make ESC key work in the launcher
svn-id: r16323
2004-12-25 22:13:44 +00:00
Andrew Kurushin
d59a929114 - fix win32 with USE_WINDBG compile error
svn-id: r16320
2004-12-25 19:58:00 +00:00
Max Horn
d6872dba6b Get rid of g_debugLevel (this fixes bug #1091142)
svn-id: r16318
2004-12-25 19:04:18 +00:00
Max Horn
2941d595bd Make loading the config file explicit
svn-id: r16317
2004-12-25 19:03:13 +00:00
Max Horn
fec3df2096 Moved the softsynth midi drivers into a sound/softsynth; amongst other things, this fixes bug #1083058
svn-id: r16316
2004-12-25 18:34:44 +00:00
Max Horn
f6dd5125d1 errno is defined in errno.h, not sys/errno.h (says POSIX)
svn-id: r16284
2004-12-24 00:31:51 +00:00
Jonathan Gray
f344976a35 Default save path for OS X as well.
svn-id: r16112
2004-12-18 11:07:47 +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
58eabb6a5f Switched HEAD to 0.8.0-CVS (did I miss any spots?
svn-id: r16048
2004-12-14 22:59:00 +00:00
Max Horn
59b6a07826 Evil workaround for bug #1083058
svn-id: r16045
2004-12-14 01:02:55 +00:00
Max Horn
791db21a6c Fix for bug #1082105 (GUI: ScummVM returns to window mode automatically)
svn-id: r16038
2004-12-12 00:02:44 +00:00
Max Horn
8d4fcb1689 Turn off 'launcher looping' for now
svn-id: r15989
2004-12-05 17:35:24 +00:00
Max Horn
5d5a13eec7 Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
svn-id: r15968
2004-12-02 00:33:42 +00:00
Gregory Montoir
ebd1c15e1f 'atari, fmtowns, mac, pc, windows' have nothing to do with savepath :)
svn-id: r15965
2004-11-30 21:07:02 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
8ac347fd95 Added OSystem::beginGFXTransaction / endGFXTransaction (not yet implemented, though :-)
svn-id: r15864
2004-11-22 23:25:08 +00:00
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Max Horn
44ab7ce0be whitespaces
svn-id: r15845
2004-11-20 01:55:53 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Eugene Sandulenko
71a2c36fa1 Add global extrapath to GUI and to default directories list.
svn-id: r15816
2004-11-15 04:41:51 +00:00
James Brown
2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
2004-11-13 04:33:33 +00:00
James Brown
cb4b3c1f7e Prevent infinite loop by displaying the launcher after a game start FAILURE too.
svn-id: r15787
2004-11-11 14:01:11 +00:00
Chris Apers
4635440998 Cleanup
svn-id: r15742
2004-11-09 10:39:12 +00:00
Chris Apers
139be2620b Free more memory on PalmOS
svn-id: r15741
2004-11-09 10:37:28 +00:00
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Eugene Sandulenko
805b21181a Major MT-32 emu overhaul based on KingGuppy's code.
o added configure option
 o mi2 intro doesn't freeze anymore and has no sound glitches
 o missing instruments in many titles are fixed
 o numerous memory overwrite bugs are fixed
 o code is cleaned a lot and splitted into many smaller files
 o mt32.cpp went to backends/midi
 o synced with upstream code
 o reverberation fixed

 * don't complain about File class wrapper :)
 * all custom types are back
 * #pragmas are to do
 * maybe some indentation is wrong too

I prefer smaller commits, but this thing came in one piece.

svn-id: r15715
2004-11-06 01:41:32 +00:00
Eugene Sandulenko
9d0b746aaa Patch #1048326 Better MT-32 support
svn-id: r15635
2004-10-21 22:37:37 +00:00
Torbjörn Andersson
73f89577d6 Documented the --savepath option.
svn-id: r15546
2004-10-14 07:17:02 +00:00
Torbjörn Andersson
942ad1dc6c Remove the "boot_param" and "save_slot" settings from the transient domain
when returning to the launcher after quitting a game.

From what I understand, if they're in the transient domain it means they
were set from the command-line. And it's unlikely that we want to re-use
the same bootparam or save slot when starting what's likely to be a
completely different game than the one we just quit from.

svn-id: r15541
2004-10-13 08:49:33 +00:00
Torbjörn Andersson
79ef36cf0e Clear g_engine when an Engine is deleted. This avoids a crash in error()
when quitting Broken Sword II. (I still get the error message, of course,
but that's a lot more helpful than an SDL parachute.)

svn-id: r15535
2004-10-13 06:35:13 +00:00
James Brown
09c0855f9a Reenable persistant launcher, in order to encourage some debugging ;)
svn-id: r15510
2004-10-10 16:31:15 +00:00
Chris Apers
757f2fdcef Prevent double slash in path
svn-id: r15473
2004-10-08 16:09:52 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Chris Apers
3b39dd2ff9 Enable Zodiac driver
svn-id: r15022
2004-09-12 10:45:15 +00:00
Marcus Comstedt
f6af7cdcc7 Provide unloading of unneeded plugins.
svn-id: r14829
2004-08-29 19:08:08 +00:00
Marcus Comstedt
77026760c8 Run the DC launcher from inside the regular main() function.
svn-id: r14787
2004-08-26 21:51:26 +00:00
Marcus Comstedt
ba39d7a3db Support dynamic plugins on Dreamcast.
svn-id: r14688
2004-08-22 21:41:22 +00:00
Max Horn
40dcd61a4d sync with README
svn-id: r14610
2004-08-14 19:11:20 +00:00
Max Horn
b4223febd3 Enhanced extrapath support
svn-id: r14470
2004-08-05 11:13:00 +00:00
Max Horn
527c1cd200 Workaround for bug #999122; this will fix config files which were broken by the 0.6.1 release
svn-id: r14444
2004-08-02 17:09:31 +00:00
Travis Howell
4b4ab244b1 Correct default settings used by COMI
Allow object_labels config option in COMI

svn-id: r14408
2004-08-01 06:52:56 +00:00
Max Horn
adc9313f89 Move g_timer destruction to proper place
svn-id: r14262
2004-07-18 20:02:27 +00:00
Torbjörn Andersson
70f8f689a1 Applied patch #957544 to make output sample rate configurable at runtime.
svn-id: r14225
2004-07-16 10:24:29 +00:00
Max Horn
53af3dc670 Enhanced default directory support in the File class; now one can specify arbitrary many default search directories
svn-id: r14095
2004-06-28 00:06:31 +00:00
Max Horn
6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00
Eugene Sandulenko
90032ce348 Proper fix for detecting --platform command line switch
svn-id: r14023
2004-06-23 11:58:47 +00:00
Paweł Kołodziejski
ce0e71dd1c now it should be in cvs
svn-id: r13982
2004-06-20 19:23:04 +00:00
Nicolas Bacca
37b311d628 Remove old savePath handling on WinCE
svn-id: r13900
2004-05-30 12:30:29 +00:00
Chris Apers
b4f7ab7994 Not yet supported
svn-id: r13891
2004-05-25 15:03:24 +00:00
Paweł Kołodziejski
f74a675850 removed awe based on Endy statement
svn-id: r13809
2004-05-09 13:12:19 +00:00
Jonathan Gray
b8bac5f208 mention fmtowns platform option in help
svn-id: r13784
2004-05-05 09:08:04 +00:00
Paweł Kołodziejski
e29ec6e79c adding initial code for Another World engine
svn-id: r13783
2004-05-05 07:25:32 +00:00
Max Horn
8a69ffc46c Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
svn-id: r13520
2004-04-09 15:10:23 +00:00
James Brown
3978b728db Add Kyrandia base
svn-id: r13516
2004-04-09 12:36:06 +00:00
Torbjörn Andersson
349f63ebfc Changed "voice_volume" to "speech_volume" for consistency with the Broken
Sword games. (The digial iMUSE code still calls it voice volume, though.)

svn-id: r13483
2004-04-06 11:50:35 +00:00
Paweł Kołodziejski
f141ad488b added voice group volume to scumm engine for imuse digital and implemeted volume groups control
svn-id: r13468
2004-04-05 18:24:36 +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
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
66de19015b With latest dlcompat on OSX, no need anymore to manually prepend an underscore before symbol names
svn-id: r13367
2004-03-23 00:16:36 +00:00
Max Horn
c61622ebaf fix dynamic version of LOAD_MODULE macro; fixed typo
svn-id: r13366
2004-03-23 00:12:49 +00:00
James Brown
aff5b4bc4b Bump version
svn-id: r13327
2004-03-17 06:08:01 +00:00
Max Horn
fd52b3a3c0 Patch #917503: Remove stray semicolons
svn-id: r13319
2004-03-16 23:51:41 +00:00
Eugene Sandulenko
2fe422ad0c Initial SAGA checkin. Disabled by default, enable with --enable-saga
but don't expect it to work.

svn-id: r13280
2004-03-14 23:37:11 +00:00
Nicolas Bacca
2c0dfc4471 Avoid flooding CE files since stdin and stderr exist now
svn-id: r13184
2004-03-04 21:14:11 +00:00
Travis Howell
2f60f4485d Allow --demo-mode with maniac (Enchanced)
svn-id: r13173
2004-03-04 02:47:39 +00:00
Max Horn
96e910ea72 fix for normal/default scaler behavior (not yet tested)
svn-id: r13168
2004-03-03 11:37:51 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Torbjörn Andersson
60a26dc1f5 Honor per-game aspect-ratio correction setting when starting the game from
the launcher.

svn-id: r13043
2004-02-25 08:03:31 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Max Horn
cfd248eeb9 avoid #include scaler.h
svn-id: r12997
2004-02-22 21:01:40 +00:00
Travis Howell
adaeb61054 Add Change --floppy-intro to --alt-intro patch (#896311)
svn-id: r12844
2004-02-13 10:51:33 +00:00
Max Horn
71edb7ed65 Patch #893813 (Fix to compile when no USE_* flag is specified)
svn-id: r12814
2004-02-10 13:15:46 +00:00
Max Horn
1141ff1ac2 Modified version of patch #892795 (Let scumvm -v show supported libs)
svn-id: r12780
2004-02-09 01:27:27 +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
Chris Apers
2420bf2900 Prepare Zodiac MIDI support
svn-id: r12734
2004-02-05 13:56:39 +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
da76ac5890 Various changes to the build system which allow building ScummVM in an external directory (and as such, allow you to have a debug, a profiling, and a release build from the same set of source files in parallel). Work in progress
svn-id: r12680
2004-01-30 21:54:28 +00:00
Max Horn
81ff879a9d Add the super-ultra-mega-secret --savepath option (and it's not just secret because I am too lame to write a help entry, add it to the README, and add it to the TeX files. *cough* No, that's not at all the reason... :-)
svn-id: r12669
2004-01-29 21:54:03 +00:00
Nicolas Bacca
8ea92dedab Support for new CE backend launcher
svn-id: r12601
2004-01-26 07:32:25 +00:00
Max Horn
e578aeec44 don't use bit 31
svn-id: r12501
2004-01-18 20:46:11 +00:00
Nicolas Bacca
568913784a CE backend specific tweaks
svn-id: r12461
2004-01-17 23:43:23 +00:00
James Brown
eeab2bb3bf Hack for Launcher Scaler dropdown. Backends using the Launcher will need to implement the OSystem HAS_SCALER property. The global options dialog still needs doing.
svn-id: r12436
2004-01-16 16:28:56 +00:00
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