aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-14Implement safeguard for negative depth values in AdvancedDetector.Eugene Sandulenko
svn-id: r49655
2010-06-14Mohawk: Added support for running Riven off DVD layout.Eugene Sandulenko
Uses new directory depth feature of AdvancedDetector. Set directory depth to 2 and added Assets1/ directory. As a result, DVD layout which does not have any game data file in top level directory gets detected and runs well. svn-id: r49654
2010-06-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-06-14Really silence the warning with _bufSizeFilippos Karapetis
svn-id: r49652
2010-06-14Silenced warningFilippos Karapetis
svn-id: r49651
2010-06-14Fixed a bug with commit #49640Filippos Karapetis
svn-id: r49650
2010-06-14Some cleanup of the script locals codeFilippos Karapetis
svn-id: r49649
2010-06-14GP2XWiz: Add shellscripts to support building a non-stripped bundle for use ↵John Willis
with GDB. * This should help Tony (GSoC) get debug builds going. svn-id: r49648
2010-06-14SCI: Limit the screen refresh rate to 60fpsFilippos Karapetis
svn-id: r49647
2010-06-14Moved the actionNouns array from the scene to the globals object, since the ↵Paul Gilbert
scene will no longer be active during animation sequences svn-id: r49646
2010-06-14Further memory leak fixes reported by ValgrindPaul Gilbert
svn-id: r49644
2010-06-14Fixes for memory leaks reported by ValgrindPaul Gilbert
svn-id: r49643
2010-06-14Added logic for animation sequences specifying a starting animation frame numberPaul Gilbert
svn-id: r49642
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