aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-06-15SCI: move portrait methods to gfxPaint16Martin Kiewitz
svn-id: r49806
2010-06-15Fixed compilation when SCI32 code is not enabledFilippos Karapetis
svn-id: r49805
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15SCI: Fix timer.Eugene Sandulenko
installTimerProc requires interval specified in milliseconds, not microseconds. Correct palVary method accordingly. svn-id: r49772
2010-06-15Throttle screen updates to 60fps in some screen transition effects as wellFilippos Karapetis
svn-id: r49690
2010-06-15Properly reconstruct the running stack when restoring (a regression from ↵Filippos Karapetis
commits #49376 and #49525), some formatting svn-id: r49689
2010-06-15- Swapped the return value of gamestate_save (false = failed, true = succeeded)Filippos Karapetis
- Removed some duplicate code inside Console::cmdSaveGame() svn-id: r49688
2010-06-15Added a signature of the game itself inside saved games (the size of script ↵Filippos Karapetis
0, as well as the offset of the game object, which are unique for each game), to prevent users from loading saved games across different versions of the same game. In the cases where we can't load a saved game, throw a nice GUI dialog instead of a console warning svn-id: r49687
2010-06-15Add support for SCI32 segment types to seg_table and vr debug commandsLars Skovlund
svn-id: r49686
2010-06-15Reorganized functions a bitFilippos Karapetis
svn-id: r49685
2010-06-15Removed the now unused EngineState parameter of ↵Filippos Karapetis
script_adjust_opcode_formats(), as well as an obsolete TODO svn-id: r49684
2010-06-15Cleanup of the savegame code:Filippos Karapetis
- Added a saveLoadWithSerializer() method to the reg_t class - Moved SegManager::reconstructClones() inside savegame.cpp - Moved SoundCommandParser::syncPlayList() and SoundCommandParser::reconstructPlayList() inside savegame.cpp svn-id: r49683
2010-06-14SCI: Added a version of allNotesOff() which sends messages only to the ↵Filippos Karapetis
channels used by the associated song instead of all channels svn-id: r49673
2010-06-14Removed the code used for tracking script code block relocations in ↵Filippos Karapetis
SCI0-SCI1 games, as we don't actually relocate these blocks, and it was used solely for verification of the exports table. The issue that this warning was created for should no longer occur svn-id: r49669
2010-06-14Cleanup of the SCI0 object initialization codeFilippos Karapetis
svn-id: r49666
2010-06-14Ignore and remove invalid plane and item objects in kFrameout. Fixes loading ↵Matthew Hoops
in-game in GK1. svn-id: r49663
2010-06-14CleanupFilippos Karapetis
svn-id: r49662
2010-06-14Fixed GK1 again, including the inventory screenFilippos Karapetis
svn-id: r49660
2010-06-14Hopefully fixed kOnMe (SCI2) and implemented kIsOnMe (SCI2.1). GK1 and the ↵Filippos Karapetis
demo of Phantasmagoria 1 should now be responding to mouse clicks and movement correctly svn-id: r49659
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-14SCI: Limit the screen refresh rate to 60fpsFilippos Karapetis
svn-id: r49647
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-13Added a default constructor for the ResourceSource structFilippos Karapetis
svn-id: r49622
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-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-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-10SCI: cleanupMax Horn
svn-id: r49573
2010-06-10camelCase changesFilippos Karapetis
svn-id: r49570