aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-13Fixed compilation with the old music codeFilippos Karapetis
svn-id: r49641
2010-06-13The offset of script local variables is now calculated when the script is ↵Filippos Karapetis
loaded, thus we no longer need to save it. Merged scriptInitialiseLocals() with scriptInitialiseLocalsZero() svn-id: r49640
2010-06-13Disabled two cases of findObjectByName() in SCI0 early gamesFilippos Karapetis
svn-id: r49639
2010-06-13Fixed regression from commit #49251, and added an explanation. Calls to ↵Filippos Karapetis
kNewNode with 1 parameter are handled properly again. Fixes the demo of Phantasmagoria 1. Thanks to lskovlun and waltervn for spotting this svn-id: r49638
2010-06-13Bugfixes for correct moving of the screen viewport within an animationPaul Gilbert
svn-id: r49629
2010-06-13Added a parser for kZoneNone zones/animations in BRA.Nicola Mettifogo
The only thing it does is parsing a possible command list, which is enough to support the script bug in "scende2". See ticket #3005384. svn-id: r49628
2010-06-13Added logic for handling the rate of animation background scrolling, and ↵Paul Gilbert
miscellaneous extra fields svn-id: r49627
2010-06-13When closing inventory, do not force input back to game-mode if commands ↵Nicola Mettifogo
need otherwise. svn-id: r49623
2010-06-13Added a default constructor for the ResourceSource structFilippos Karapetis
svn-id: r49622
2010-06-13Fixed clipping when drawing sprites at small scale factors (this fixes the ↵Nicola Mettifogo
balloon scene). svn-id: r49621
2010-06-13Support for vertical scrolling. Patch 3005933 by fuzzie.Nicola Mettifogo
svn-id: r49620
2010-06-13Keep the balloon from getting stuck in an infinite loop when floating near ↵Nicola Mettifogo
the borders of the screen. See the detailed explanation in walk.cpp. svn-id: r49619
2010-06-13Improved debug output of BRA walk code.Nicola Mettifogo
svn-id: r49618
2010-06-12Applied fix for checking unallocated channels for All Notes Off MIDI commandPaul Gilbert
svn-id: r49613
2010-06-12SAGA: Music code cleanup. The music driver is now placed inside the ↵Filippos Karapetis
MusicPlayer class, instead of the SagaEngine class. Split the functionality that the music parser should handle from the functionality that the music driver should handle. Also, fixed a bug in MusicDriver::send() (the notes off signal was sent to unallocated channels, not allocated ones) svn-id: r49607
2010-06-12Initialize compression-related variables when loading external patch files. ↵Filippos Karapetis
Fixes Cassima's speech in the intro of KQ6 (the engine thought that the external patch files of her speech were compressed) svn-id: r49606
2010-06-12Added debug output to kDoAudio and some music commands. Also added a warning ↵Filippos Karapetis
when an audio stream can't be created. Finally, the debug level of the MIDI parser debug output has been raised to 4, as it's too verbose svn-id: r49605
2010-06-12Reimplemented the scaled sprite drawing logic. The first introduction ↵Paul Gilbert
sequence scene now displays correctly svn-id: r49604
2010-06-12Extended show_instruments to show the songs where each instrument is used inFilippos Karapetis
svn-id: r49603
2010-06-11Renamed verify_midi to show_instruments (and fixed a bug with it at the same ↵Filippos Karapetis
time). This command scans all songs, or a specific song of a game and displays the instruments used svn-id: r49599
2010-06-11- Added a new debug command, verify_midi, which can be used to check all the ↵Filippos Karapetis
songs of a game for unmapped instruments (still WIP and disabled) - Fixed a bug in the verify_scripts command (it was loading the script resource twice) svn-id: r49597
2010-06-11Bugfixes to correctly scroll the background during animationsPaul Gilbert
svn-id: r49596
2010-06-11Clarified various incorrectly named parameters, and fixed code for loading ↵Paul Gilbert
the correct art file backgrounds when running animation sequences svn-id: r49595
2010-06-11Add support for setFocusRectangle - enabled on 'small' Android screens.Angus Lees
svn-id: r49594
2010-06-11SCI: adjust priority bottom, if its 200 to avoid possible out of bounds ↵Martin Kiewitz
(sierra actually does the same) svn-id: r49592
2010-06-11Added a new kernel function, kEmpty, for really empty (not dummy, i.e. ↵Filippos Karapetis
unimplemented) functions svn-id: r49591
2010-06-10In SCI1.1, kSetSynonyms is a dummy (empty) functionFilippos Karapetis
svn-id: r49586
2010-06-10SCI: adding current delta to tick position when getting the setsignalloop ↵Martin Kiewitz
command - fixes sq3 music slight delay before actual looping svn-id: r49585
2010-06-10kSciAudioWPlay should not actually play the song, but 'pre-load' it. We fake ↵Matthew Hoops
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-10Allow for digits in stage directions in SCI32 games: GK1 floppy uses them.Matthew Hoops
svn-id: r49582
2010-06-10SCI: Fix some doxygen commentsMax Horn
svn-id: r49581
2010-06-10SCI: Switch Console::cmdSelector to use Kernel::getSelectorNameMax Horn
svn-id: r49580
2010-06-10SCI: Get rid of DEFUN, cleanupMax Horn
svn-id: r49579
2010-06-10SCI: Cleanup kernel signature code a bit.Max Horn
* 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-10SCI: Fix Console::cmdValueType to handle all possible reg typesMax Horn
svn-id: r49577
2010-06-10Add support for AIFF sound in SCI32 Mac games and add support for AIFF/WAVE ↵Matthew Hoops
audio36 patches; minor cleanup. svn-id: r49576
2010-06-10Don't attempt to modify the printLang selector if it doesn't existFilippos Karapetis
svn-id: r49575
2010-06-10PSP: swapped order of checks in renderAll. It's a little cheaper this way.Yotam Barnoy
svn-id: r49574
2010-06-10SCI: cleanupMax Horn
svn-id: r49573
2010-06-10PSP: switched to psp semaphores rather than SDL's. Removal of SDL is almost ↵Yotam Barnoy
complete. svn-id: r49572
2010-06-10camelCase changesFilippos Karapetis
svn-id: r49570
2010-06-10Fixed regression from commit #49564Filippos Karapetis
svn-id: r49569
2010-06-10Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, ↵Filippos Karapetis
some camelCase changes svn-id: r49568
2010-06-10Pic port saving/loading is only used in SCI0-SCI11Filippos Karapetis
svn-id: r49567
2010-06-10Added extra code and support methods for properly clearing up backgrounds ↵Paul Gilbert
and used sprites when an animation sequence ends svn-id: r49566
2010-06-10SCI: set picport when loading saved gamesMartin Kiewitz
svn-id: r49565
2010-06-10Unified invokeSelector() and invokeSelectorArgv(), and removed the INV_SEL ↵Filippos Karapetis
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-10Use the SELECTOR() macro for readabilityFilippos Karapetis
svn-id: r49563
2010-06-10Removed the pointer to the game object from the EngineState classFilippos Karapetis
svn-id: r49562
2010-06-10Moved the MoveCountType enum above the GameFeatures class, as it's the only ↵Filippos Karapetis
class using it svn-id: r49561