Commit Graph

413 Commits

Author SHA1 Message Date
Max Horn
0ee4f304b8 Properly use registerDefault to set the default value for autosave_period
svn-id: r21537
2006-04-01 21:55:45 +00:00
Max Horn
2197597f9a Moved File::resetDefaultDirectories from Engine destructor to runGame (since that is the main spot where we call addDefaultDirectory)
svn-id: r21535
2006-04-01 21:52:33 +00:00
Max Horn
d61b104568 Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)
svn-id: r21534
2006-04-01 21:43:49 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Eugene Sandulenko
e3173172b9 Implement feature request #1393200: "target_md5 even for command line"
svn-id: r21457
2006-03-26 04:22:47 +00:00
Eugene Sandulenko
e373c9b7b5 - Revert my last change with moving addDefaultDirectory() from TheneNew.cpp
- Removed locking of further directory adds because it did not work for themes.

svn-id: r21452
2006-03-25 19:30:10 +00:00
Eugene Sandulenko
f25d49f826 - Move AddDefaultDirectory() calls in somon engine to constructor
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp

svn-id: r21451
2006-03-25 19:18:09 +00:00
Eugene Sandulenko
22042bc637 - Implemented case insensitive file reading. Left old system as a fallback
in case some engine writer decide to do something unwise
- Removed used of ConfMan.getKey("path") in file-related cases, because
  now File class handles that
- Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters
  weren't translated

svn-id: r21443
2006-03-25 04:17:17 +00:00
Eugene Sandulenko
60793c0e64 Positioned logo properly, added different version number rendering and
got rid of antialiasing artifacts

svn-id: r21270
2006-03-14 03:08:14 +00:00
Max Horn
46ee5c8f26 Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
svn-id: r21166
2006-03-09 12:52:10 +00:00
Max Horn
86565fcca5 - Renamed GameSettings to PlainGameDescriptor
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
  Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
  DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines

svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af - added new toDetectedGame() template function (analog to toGameSettings)
- made use of the new DetectedGame constructor from my last commit
- some related cleanup

svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
4c1e4c6987 Added alternate DetectedGame constructor, to make it possible to add games to a detection list w/o first creating a temporary GameSettings struct
svn-id: r21144
2006-03-08 12:09:07 +00:00
Eugene Sandulenko
233c2a42f9 WIP of maemo port
svn-id: r21055
2006-03-04 01:32:04 +00:00
Lars Persson
e053cea9c0 Small loop adjustment to compile for VC6
svn-id: r20869
2006-02-25 10:24:52 +00:00
Paweł Kołodziejski
934ac1b6af fixed error for msvc7, it didn't find func without Common namespace
svn-id: r20832
2006-02-23 18:14:41 +00:00
Gregory Montoir
2570c498fc Added CINE plugin to PluginManager::loadPlugins() section
svn-id: r20814
2006-02-22 23:04:47 +00:00
Max Horn
01fc7034b5 - Merged GameDetector::detectGame() into GameDetector::detectMain()
- Replaced GameSettings GameDetector::_game by a simple gameid string

svn-id: r20753
2006-02-18 12:50:48 +00:00
Max Horn
8ac17430ac - renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistency
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency
- added new Engine_XXX_findGameID / PLUGIN_findGameID function
- updated plugins code to take advantage of the new plugin API, to support
  obsolete gameids w/o showing them to the user

svn-id: r20752
2006-02-18 11:15:37 +00:00
Max Horn
d0e637f7aa Grammar fix
svn-id: r20751
2006-02-18 11:13:08 +00:00
Max Horn
81798556db - Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER

svn-id: r20747
2006-02-18 00:12:36 +00:00
Max Horn
7967e30c73 Added global toGameSettings() template function for convenience; simplified GameSettings usage in some engines
svn-id: r20739
2006-02-17 00:22:53 +00:00
Max Horn
a96760a2fd Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
svn-id: r20738
2006-02-17 00:01:18 +00:00
Max Horn
405733e044 - Fixed a bug that prevented you from overriding the scaler from the command
line for 640x480 games.
- Updated NEWS file a bit

svn-id: r20736
2006-02-16 23:24:23 +00:00
Travis Howell
fbcecb98a1 Add 3DO platform for HE games
svn-id: r20714
2006-02-16 05:01:06 +00:00
Johannes Schickel
0bea9cf47b Made the kyra debug extensions more generic, i.e. scumm engine could replace
their debugC calls now with the new introduced debugC calls.
(A mail how to use it will follow shortly on -devel)
Also now these special engine debug flags can be specified from the commandline.
Also made the -c & --config parameter check more secure.

svn-id: r20695
2006-02-14 23:31:25 +00:00
Eugene Sandulenko
6238fa2b29 We're in SVN now, so change version to "0.9.0svn"
svn-id: r20667
2006-02-13 12:57:06 +00:00
Lars Persson
692adbe614 Changed file paths from /epoc/ to /symbian/
svn-id: r20618
2006-02-12 14:42:43 +00:00
Eugene Sandulenko
609d185739 Another spot of non-standard "#else if" replaced by "#elif"
svn-id: r20608
2006-02-12 13:12:49 +00:00
Max Horn
24a5ba86a7 No need to force engines to implement errorString()
svn-id: r20589
2006-02-12 01:23:58 +00:00
Travis Howell
f661bbe9aa Fix compile
svn-id: r20587
2006-02-12 00:50:37 +00:00
Lars Persson
0b847325e1 'Changed Symbian configuration handling so it is using the basepath of the application installation as a path for Savegames, ini files etc
*Updated list.h so it also compiles for Symbian codewarrior and gcce compilers

svn-id: r20586
2006-02-12 00:33:04 +00:00
Max Horn
80cf2fa46f Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
svn-id: r20584
2006-02-12 00:16:31 +00:00
Travis Howell
6703dc7fa1 Add patch #1374870 - New Lure of the Temptress module
svn-id: r20536
2006-02-11 12:54:56 +00:00
Max Horn
ee6fa83b1b Change CVS keywords to SVN keywords
svn-id: r20509
2006-02-11 09:53:21 +00:00
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +00:00
Eugene Sandulenko
bfb912dbb1 Add undocumented option --gui-theme for easier theme debugging.
svn-id: r20332
2006-01-31 17:52:56 +00:00
Eugene Sandulenko
ec99279ef9 Oops. I should've test it before commit. Fixed now.
svn-id: r20286
2006-01-29 02:55:30 +00:00
Eugene Sandulenko
052a42f89f Added new debugN() function which doesn't append newline.
svn-id: r20285
2006-01-29 02:44:30 +00:00
Max Horn
7fddfa20c6 New tools/update-version.pl script (usage: CMD 1 2 3 CVS -> results in version 1.2.3CVS)
svn-id: r20165
2006-01-25 20:53:25 +00:00
Travis Howell
207841e226 Add new platforms.
Sync. more changes.

svn-id: r20126
2006-01-21 23:59:04 +00:00
Max Horn
0b39c0ea9f Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
svn-id: r20115
2006-01-21 13:01:20 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Joost Peters
98a949f5b7 Commit patch #1171517 by salty-horse (save speech and sfx preferences BASS engine in config file)
svn-id: r20063
2006-01-17 00:24:01 +00:00
Torbjörn Andersson
a61e62db95 Lowered FluidSynth's default gain, and added config file and command-line
options to specify it. FluidSynth's gain ranges from 0.0 through 10.0 and
is probably measured in decibel, but to keep things simple, ScummVM uses
settings from 0 through 1000 instead. (Though currently there's no guard
against invalid settings.)

This is a slightly revised version of the non-GUI part of patch #1336171.

svn-id: r20030
2006-01-14 20:05:56 +00:00
Max Horn
978cbb3fd0 Typo
svn-id: r19889
2006-01-02 19:52:05 +00:00
Lars Persson
6ed67205ec 1. New build structure for Symbian builds to allow easier build and project updates
2. Updated framework files for new structure
3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether.
4. Incorporated Sevs code formatting changes in the new Symbian source structure.
5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered.
6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked)
7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome.
8. Built for S60V1 and UIQ2 targets from the cvs
9. Updated Readme with new build instructions.

Any comments are welcome.  Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated.

svn-id: r19739
2005-12-03 21:29:13 +00:00
Eugene Sandulenko
edfae828f6 Patch #1341626: "New GP32 port"
svn-id: r19710
2005-11-27 02:35:57 +00:00
Gregory Montoir
fe9def0ac0 Made the autosave period a configuration option and updated the engines using that feature (SCUMM, Queen and Sky). The value is supposed to be in seconds ; if it's set to 0 then autosaving is disabled. See also tracker item #1350187.
svn-id: r19700
2005-11-23 19:11:33 +00:00
Max Horn
9a09283a76 Fix compile error in plugin mode
svn-id: r19682
2005-11-21 09:52:22 +00:00
Max Horn
8262b6dc2a Tried to unify plugin code for PalmOS and non-PalmOS (hopefully I didn't break the PalmOS code this way, please verify)
svn-id: r19670
2005-11-19 17:57:24 +00:00
Max Horn
0063257a2b Fix another HOME buffer overflow attack vector
svn-id: r19376
2005-10-31 01:50:51 +00:00
Eugene Sandulenko
be8cd9e69a talkspeed and copy-protection aren't SCUMM-specific anymore SAGA uses them
too.

svn-id: r19154
2005-10-18 19:05:22 +00:00
Eugene Sandulenko
b725a206c0 Add possibility to disable SDL parachute on run-time. Option
--disable-sdl-parachute should be completely undocumented and not mentioned
to end-users. Wrong usage may lead to system lock-up especially when used
with fullscreen mode.

SDL Parachute is used to prevent system instability and do a graceful exit
if something bad happens. It catches most of signals sent to thr process.
Side effect of that that quite often when SDL application dies, core dump
isn't made on *nix systems. This feature adds possibility to disable it.

svn-id: r19146
2005-10-18 03:52:21 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
f3c387f328 Bump version to 0.9.0CVS. Woo hoo!
svn-id: r19133
2005-10-17 13:42:36 +00:00
Chris Apers
ca65477b65 PalmOS stuffs
svn-id: r18977
2005-10-08 22:00:58 +00:00
Joost Peters
d7ea4c6c7f correct features string when using tremor
svn-id: r18837
2005-09-17 10:27:34 +00:00
Chris Apers
368785074c Prepare PalmOS ARM version : no global initializers with ARM loader o_O
svn-id: r18773
2005-09-04 16:38:38 +00:00
Chris Apers
f7fb3bf7a8 Change PalmOS ident
svn-id: r18743
2005-09-03 16:05:28 +00:00
Travis Howell
94fcb89549 Fix compile error.
svn-id: r18715
2005-08-28 12:19:36 +00:00
Travis Howell
7556e064d2 mingw can handle heap checking now.
NOTE: Requires mingw-runtime-3.8

svn-id: r18714
2005-08-28 11:15:38 +00:00
Max Horn
ed2a18569a Detect when plugins directory is missing
svn-id: r18703
2005-08-19 17:27:47 +00:00
Joost Peters
bc394b6ea3 Added: PSP backend
svn-id: r18696
2005-08-16 17:15:37 +00:00
Marcus Comstedt
8bd14c7337 Fixed new plugin search code to work with Dreamcast:
* Code does case-sensitive comparison with PLUGIN_SUFFIX, so put it in
  uppercase (as filenames in ISO9660 are required to be uppercase).

* There is an assert somewhere which prevents the use of "" as a
  directory.  Use "/" instead...

svn-id: r18683
2005-08-14 13:44:20 +00:00
Jonathan Gray
603a5e4d6f Don't explicity check for tremor and vorbis everywhere and
require both USE_TREMOR and USE_VORBIS to be defined when
using tremor.

svn-id: r18642
2005-08-10 12:42:56 +00:00
Jonathan Gray
3c1b5648ae Rest of the changes required for tremor to actually work.
Based on patches against 0.7.1 by Jolan Luff.

svn-id: r18641
2005-08-10 06:16:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Lars Persson
caf6151bba Last modifications for Actions to WinCE.
svn-id: r18500
2005-07-05 20:51:54 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Lars Persson
6d70218f35 Just updated ending comment properly for the sake of it
svn-id: r18473
2005-06-27 21:37:07 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
2ea15e4822 Revert change from printf() to debug(1)
svn-id: r18438
2005-06-23 13:46:38 +00:00
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