196 Commits

Author SHA1 Message Date
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