Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert ef34896dce Clarified various incorrectly named parameters, and fixed code for loading the correct art file backgrounds when running animation sequences
svn-id: r49595
2010-06-11 11:03:51 +00:00
Angus Lees 580c9032f0 Add support for setFocusRectangle - enabled on 'small' Android screens.
svn-id: r49594
2010-06-11 10:54:49 +00:00
Neeraj Kumar b9ea841b8a added code for ellipse drawing (Aspect ratio correction), fixed some more formatting
svn-id: r49593
2010-06-11 10:44:32 +00:00
Martin Kiewitz 3269e5cc4c SCI: adjust priority bottom, if its 200 to avoid possible out of bounds (sierra actually does the same)
svn-id: r49592
2010-06-11 09:17:11 +00:00
Filippos Karapetis 377cfe6fef Added a new kernel function, kEmpty, for really empty (not dummy, i.e. unimplemented) functions
svn-id: r49591
2010-06-11 07:47:57 +00:00
Alejandro Marzini e81fb60d34 Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged.
svn-id: r49590
2010-06-11 02:50:25 +00:00
Alejandro Marzini 11e8ac61d1 Added missing virtual functions in abstract class GraphicsManager.
svn-id: r49589
2010-06-11 01:55:59 +00:00
Tony Puccinelli a302fdb2c4 changed DBG to use sioprintf but temporarily commented out those statements
svn-id: r49588
2010-06-11 01:08:47 +00:00
Filippos Karapetis 5baa47a9cb In SCI1.1, kSetSynonyms is a dummy (empty) function
svn-id: r49586
2010-06-10 23:16:32 +00:00
Martin Kiewitz f470e1d96e SCI: adding current delta to tick position when getting the setsignalloop command - fixes sq3 music slight delay before actual looping
svn-id: r49585
2010-06-10 20:52:04 +00:00
Alejandro Marzini 475fe8a3bd Added ModularBackend base class for backends.
svn-id: r49584
2010-06-10 20:31:08 +00:00
Matthew Hoops 9f907aac09 kSciAudioWPlay should not actually play the song, but 'pre-load' it. We fake the pre-loading with a flag that will return 0 if the song has been called with kSciAudioWPlay. Fixes the dream sequence sound in MUMG.
svn-id: r49583
2010-06-10 20:26:59 +00:00
Matthew Hoops 8f55c4ddb4 Allow for digits in stage directions in SCI32 games: GK1 floppy uses them.
svn-id: r49582
2010-06-10 18:16:05 +00:00
Max Horn 85b0ec3408 SCI: Fix some doxygen comments
svn-id: r49581
2010-06-10 15:26:26 +00:00
Max Horn 4b0f0894c4 SCI: Switch Console::cmdSelector to use Kernel::getSelectorName
svn-id: r49580
2010-06-10 15:26:10 +00:00
Max Horn 5424d8aecb SCI: Get rid of DEFUN, cleanup
svn-id: r49579
2010-06-10 15:25:54 +00:00
Max Horn 874151f5d1 SCI: Cleanup kernel signature code a bit.
* Moved KSIG_SPEC_* from kernel.h to kernel.cpp
* Clarified the comment on KSIG_SPEC_* a bit
* Changed the other KSIG_ #defines into an enum
* Removed KSIG_TERMINATOR and KSIG_SPEC_ARITMETIC (sic)

svn-id: r49578
2010-06-10 15:25:36 +00:00
Max Horn 8295eb09cd SCI: Fix Console::cmdValueType to handle all possible reg types
svn-id: r49577
2010-06-10 15:25:18 +00:00
Matthew Hoops 6ad04a4a96 Add support for AIFF sound in SCI32 Mac games and add support for AIFF/WAVE audio36 patches; minor cleanup.
svn-id: r49576
2010-06-10 15:06:25 +00:00
Filippos Karapetis 5330e632de Don't attempt to modify the printLang selector if it doesn't exist
svn-id: r49575
2010-06-10 14:02:20 +00:00
Yotam Barnoy d89da56f47 PSP: swapped order of checks in renderAll. It's a little cheaper this way.
svn-id: r49574
2010-06-10 14:01:30 +00:00
Max Horn afa2af5dfb SCI: cleanup
svn-id: r49573
2010-06-10 13:43:38 +00:00
Yotam Barnoy c8ee854600 PSP: switched to psp semaphores rather than SDL's. Removal of SDL is almost complete.
svn-id: r49572
2010-06-10 13:41:29 +00:00
Neeraj Kumar 1032b69f51 some minor changes in the testsuite structure, reduced no. of files per testsuite, fixed some formatting
svn-id: r49571
2010-06-10 12:40:58 +00:00
Filippos Karapetis 711f679b7f camelCase changes
svn-id: r49570
2010-06-10 11:43:20 +00:00
Filippos Karapetis 944b511633 Fixed regression from commit #49564
svn-id: r49569
2010-06-10 11:35:15 +00:00
Filippos Karapetis 93f33c7dab Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, some camelCase changes
svn-id: r49568
2010-06-10 11:18:10 +00:00
Filippos Karapetis a635b94823 Pic port saving/loading is only used in SCI0-SCI11
svn-id: r49567
2010-06-10 10:27:13 +00:00
Paul Gilbert 4d87342847 Added extra code and support methods for properly clearing up backgrounds and used sprites when an animation sequence ends
svn-id: r49566
2010-06-10 10:20:25 +00:00
Martin Kiewitz 8a5762c52d SCI: set picport when loading saved games
svn-id: r49565
2010-06-10 10:15:32 +00:00
Filippos Karapetis cc6f5eb3e4 Unified invokeSelector() and invokeSelectorArgv(), and removed the INV_SEL kludge. Also, removed the selectorInvocation parameter - if invokeSelector() fails, the error is in most cases unrecoverable, and the error description thrown covers all cases where kContinueOnInvalidSelector was used. This uncovered a bug too: in some places, non reg_t parameters were parsed
svn-id: r49564
2010-06-10 09:22:30 +00:00
Filippos Karapetis eb4ec596cd Use the SELECTOR() macro for readability
svn-id: r49563
2010-06-10 09:18:57 +00:00
Filippos Karapetis 0ab7c908bb Removed the pointer to the game object from the EngineState class
svn-id: r49562
2010-06-10 08:11:38 +00:00
Filippos Karapetis 50c1f4e545 Moved the MoveCountType enum above the GameFeatures class, as it's the only class using it
svn-id: r49561
2010-06-10 07:48:32 +00:00
Filippos Karapetis abc5f97608 Fixed compilation with the old music code
svn-id: r49560
2010-06-10 07:41:48 +00:00
Filippos Karapetis 9b8e4e8359 Moved all of the game init/run/exit logic inside the SciEngine class
svn-id: r49559
2010-06-10 07:32:05 +00:00
Torbjörn Andersson ede57eb61b Removed some unnecessary whitespace. (Or should I have saved that for the
rapidly approaching, much coveted r50000? :-)

svn-id: r49558
2010-06-10 04:29:34 +00:00
Alejandro Marzini 9e90858305 Removed deleted DefaultMutexManager from makefile.
svn-id: r49557
2010-06-10 03:20:00 +00:00
Alejandro Marzini 1cebd33262 Added an abstract version of MutexManager. Deleted DefaultMutexManager, now it's NullMutexManager.
svn-id: r49556
2010-06-10 03:18:16 +00:00
Alejandro Marzini 7b63e8ae25 Made creation of SdlMutexManager earlier than other modules.
svn-id: r49555
2010-06-10 03:16:50 +00:00
Alejandro Marzini 33c36f3c7c Commented AudioCDManager
svn-id: r49554
2010-06-10 02:08:08 +00:00
Filippos Karapetis 14437e6394 The segment manager is now initialized before the graphics subsystem. Fixes the detection of the fastCast object on startup, and hence fixes LSL1VGA
svn-id: r49553
2010-06-09 21:41:20 +00:00
Angus Lees d44efa817f Fix dirty tracking in paletted textures.
svn-id: r49552
2010-06-09 21:31:48 +00:00
Angus Lees d8050029f9 Improve build instructions to include themeengine patch and
scummmodern.zip compression.

svn-id: r49551
2010-06-09 21:30:06 +00:00
Martin Kiewitz e533289e07 SCI: document raw lipsync data skipping in readAudioMapSCI11()
svn-id: r49550
2010-06-09 20:32:55 +00:00
Filippos Karapetis 5d71ae952f The EngineState is no longer recreated when a game is restored, thus we don't need to refresh pointers to it
svn-id: r49549
2010-06-09 20:12:25 +00:00
Alejandro Marzini e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +00:00
Alejandro Marzini 4177a1e16d Added an abstract version of AudioCDManager.
svn-id: r49547
2010-06-09 18:51:55 +00:00
Filippos Karapetis c486b77bb7 Fixed crash in SCI2.1 games
svn-id: r49546
2010-06-09 18:42:21 +00:00
Filippos Karapetis d191c9d0f9 Limit kPortrait to be used in the Windows version of KQ6 only
svn-id: r49545
2010-06-09 17:04:03 +00:00