Commit Graph

194 Commits

Author SHA1 Message Date
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
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
Joost Peters
d7ea4c6c7f correct features string when using tremor
svn-id: r18837
2005-09-17 10:27:34 +00:00
Chris Apers
f7fb3bf7a8 Change PalmOS ident
svn-id: r18743
2005-09-03 16:05:28 +00:00
Joost Peters
bc394b6ea3 Added: PSP backend
svn-id: r18696
2005-08-16 17:15:37 +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
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
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
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
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
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
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
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +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
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
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
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
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
4a0c1b86f7 Make ESC key work in the launcher
svn-id: r16323
2004-12-25 22:13:44 +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
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
8d4fcb1689 Turn off 'launcher looping' for now
svn-id: r15989
2004-12-05 17:35:24 +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
44ab7ce0be whitespaces
svn-id: r15845
2004-11-20 01:55:53 +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
139be2620b Free more memory on PalmOS
svn-id: r15741
2004-11-09 10:37:28 +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
James Brown
09c0855f9a Reenable persistant launcher, in order to encourage some debugging ;)
svn-id: r15510
2004-10-10 16:31: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
Max Horn
b4223febd3 Enhanced extrapath support
svn-id: r14470
2004-08-05 11:13:00 +00:00
Max Horn
adc9313f89 Move g_timer destruction to proper place
svn-id: r14262
2004-07-18 20:02:27 +00:00
Paweł Kołodziejski
ce0e71dd1c now it should be in cvs
svn-id: r13982
2004-06-20 19:23:04 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +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
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
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
Nicolas Bacca
8ea92dedab Support for new CE backend launcher
svn-id: r12601
2004-01-26 07:32:25 +00:00
Nicolas Bacca
568913784a CE backend specific tweaks
svn-id: r12461
2004-01-17 23:43:23 +00:00
James Brown
7a148743f1 Fiddling.
svn-id: r12411
2004-01-15 14:01:57 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +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
James Brown
fba9070198 Version bump, small NEWS tweakage
svn-id: r11530
2003-12-08 16:14:00 +00:00
Max Horn
22c22d1e81 added namespace GUI
svn-id: r11255
2003-11-10 23:40:48 +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
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
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
4ae61964f2 cleanup
svn-id: r10874
2003-10-17 17:05:19 +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
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
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
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
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
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
Travis Howell
68c060405c Add optional define for no console
svn-id: r10410
2003-09-26 00:09:09 +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
3afbb22ad7 fix invalid target crash for build using loadable modules
svn-id: r10325
2003-09-20 00:37:09 +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
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
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