aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2011-01-08SCI: Fixed a typoFilippos Karapetis
svn-id: r55159
2011-01-08SCI2.1: Added/documented some functionality used by Shivers 1Filippos Karapetis
- Added kFileIO subop 17 (create save slot) - Added information about a (probably debug) kernel function used in a puzzle, kCelInfo - Added some information on two kSave subops - Added 2 workarounds for uninitialized variables svn-id: r55158
2011-01-07SCI: Moved the handling of the op_line debug opcode inside ↵Filippos Karapetis
readPMachineInstruction() The handling has been moved inside readPMachineInstruction(), instead of run_vm(), as a lot of parts of the code depend on this function handling all opcodes correctly (e.g. the script dissassembler, the features class, find_callk etc) svn-id: r55154
2011-01-07SCI: Removed leftover end markers from the opcode formats arrayFilippos Karapetis
svn-id: r55153
2011-01-07SCI2/2.1: Improvements to the find_callk debug function, and some kernel ↵Filippos Karapetis
function updates - Improved the find_callk function to properly find the end of script objects, by monitoring jump calls - Added three extra special calls to find_callk: find kernel function calls to dummy, unused and unmapped kernel functions - Updated several kernel function calls because of the above functionality - The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added a FIXME for it svn-id: r55151
2011-01-07SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)Filippos Karapetis
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug functions with empty function calls - Marked several unused or debug kernel functions as stub - Added some games where the rest of the unimplemented SCI2.1 kernel functions are used svn-id: r55138
2011-01-07SCI2.1: Added a sanity check for VMD video positioning, for the demo of ↵Filippos Karapetis
Lighthouse svn-id: r55137
2011-01-04SCI: CleanupFilippos Karapetis
svn-id: r55123
2011-01-04SCI: Fixed part of bug #3150767 - "KQ5 French crash on startup, only partial ↵Filippos Karapetis
English text" This is a regression from r54510 svn-id: r55122
2011-01-04SCI: Slight cleanup to the garbage collectorFilippos Karapetis
svn-id: r55116
2011-01-01SCI: debugC calls no longer require a debug level of 2 to show outputFilippos Karapetis
svn-id: r55086
2011-01-01SCI: Disable continuous list checking by defaultFilippos Karapetis
svn-id: r55085
2010-12-31SCI: Added workaround for script bug #3148418 - "QFG2: Script Error On last ↵Filippos Karapetis
screen" svn-id: r55075
2010-12-28SCI: Fixed script bug #3038870 - "SCI Fanmade - Demo Quest: ScummVM hangs ↵Filippos Karapetis
with typo" and removed a related FIXME svn-id: r55056
2010-12-26SCI: A more efficient solution for bug #3037874 (SCI high CPU usage), which ↵Filippos Karapetis
will hopefully not clash with the speed throttler. This is a more proper fix for bug #3058865, and a partial fix for bug #3127824 svn-id: r55046
2010-12-24SCI: Only sync the synonyms vocabulary if the game actually has one (thanks wjp)Filippos Karapetis
svn-id: r55033
2010-12-24SCI: Now saving/loading the list of synonyms (set by kSetSynonyms), like ↵Filippos Karapetis
SSCI did This is a more correct way of fixing bug #3037618 than in rev #55017. - Changed replaceant/replacement to be uint16's (they're very small positive values, usually smaller than 4096) - Changed SynonymList to an Array (so that it can be saved/loaded) - Removed the PQ2 script patch to Game::replay() - Added savegame history svn-id: r55032
2010-12-23Fix code formattingLars Skovlund
svn-id: r55026
2010-12-23SCI: Unbreak script loading on big-endian machines. Thanks to [md5] and wjp.Lars Skovlund
svn-id: r55025
2010-12-22SCI: Fixed bug #3037618 - "PQ2 : Restoring in Scuba Van causes Parser Issues"Filippos Karapetis
svn-id: r55017
2010-12-22SCI: Also reset flags when resetting the video stateFilippos Karapetis
svn-id: r55007
2010-12-22SCI: Sync in-game speech/subtitle options with the ones from the ScummVM GUI.Filippos Karapetis
- Obtain speech/subtitle options from the ScummVM GUI and set them in CD games. - Also, set simultaneous speech and subtitles in games that support them (currently SQ4 CD and Freddy Pharkas CD). There is no GUI option for setting simultaneous speech and subtitles in Freddy Pharkas CD, so this is the only current way of achieving this (unless the text speed slider inside the Freddy Pharkas options window is repurposed - but that will require extensive changes) svn-id: r55005
2010-12-22SCI: VMD video related changesFilippos Karapetis
- VMD videos are now properly started from the associated play subop of the kPlayVMD kernel call, and are now properly positioned on screen, and doubled only if the games require them to be - Added an enum for VMD video flags svn-id: r55003
2010-12-22SCI: Changed the check for NULL values inside kArray(Cpy) to only ignore ↵Filippos Karapetis
such values in SCI3 svn-id: r55002
2010-12-21- SCI: Added code to free the _baseVars value in SCI3 as well. Both free() ↵Filippos Karapetis
operations have been commented out for now, as MSVC complains about heap corruption in SCI3 games - Code formatting fixes svn-id: r54991
2010-12-21Added back the null check in kArray(cpy): it happens in SCI3Filippos Karapetis
svn-id: r54990
2010-12-21Make Object::_baseMethod a Common::Array. This is intended to clean upLars Skovlund
the Object class, and it also plugs a leak. svn-id: r54986
2010-12-21Simplify SCI3 relocation code, also making it correct.Lars Skovlund
svn-id: r54985
2010-12-21SCI: Fixed bug #3092115 - "ECOQUEST2: Initial text not cleared during ↵Filippos Karapetis
ecorder intro" svn-id: r54984
2010-12-16VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointerMatthew Hoops
svn-id: r54927
2010-12-15SCI: Slight cleanupFilippos Karapetis
svn-id: r54925
2010-12-07SCI: Bumped up the save game version for rev #54805Filippos Karapetis
Initially, I thought that older ScummVM versions will work with these saved games. However, they will probably crash when trying to load saved games after rev #54805, as the heap is reset when loading, and the system strings segment is no longer initialized (thanks wjp). svn-id: r54809
2010-12-07SCI: Silence warningsMatthew Hoops
svn-id: r54806
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-12-02SCI: Enabled the GUI option to play speech and show subtitles simultaneously ↵Filippos Karapetis
in SQ4CD svn-id: r54736
2010-11-30SCI: Added an uninitialized read script workaround for QFG1VGAFilippos Karapetis
svn-id: r54663
2010-11-30SCI: Fixed bug #3053093 - "QFG1VGA and QFG3: Text box glitches"Filippos Karapetis
svn-id: r54662
2010-11-28SCI: Fixed bug #3034471 - "SCI, Castlebrain/Amiga: Invisible text in word ↵Filippos Karapetis
search" Fixed some endianness issues in Amiga versions, thanks to wjp. Amiga versions expect a BE VM, thus we adjust accordingly in the places where memory is accessed directly (i.e. kStrAt, kMemory and all places that set/get characters from memory) svn-id: r54521
2010-11-27SCI: Reverted changes to savegame.cpp made in r54510, as that still occursFilippos Karapetis
svn-id: r54511
2010-11-27SCI: Fixed bug #3034713 - "ICEMAN Demo: Fails to find base object"Filippos Karapetis
This could happen because objects in scripts can be in the wrong order. Same thing happens in the French and German version of KQ5 (bug #3035396). Removed the scriptObjRemove() method, which is in fact a hack. svn-id: r54510
2010-11-25SCI: implemented reverb handling and related functionalityFilippos Karapetis
svn-id: r54478
2010-11-25SCI: Added support for the alternate Windows MIDI soundtracks of the CD ↵Filippos Karapetis
versions of EcoQuest, Jones, KQ5 and SQ4 svn-id: r54476
2010-11-24SCI: Fixed a bug in the script disassemblerFilippos Karapetis
svn-id: r54463
2010-11-24SCI: Some renaming and added several TODOs concerning reverbFilippos Karapetis
svn-id: r54461
2010-11-24SCI: Placed some selectors added in SCI1.1 in a separate tableFilippos Karapetis
svn-id: r54458
2010-11-24SCI: some changes to the way reverb is handledFilippos Karapetis
- "Invalid" SCI reverb values (127) are properly handled now - SCI kDoSound(reverb) sets the global reverb (renamed it accordingly) - kDoSound(reverb) can also return the current reverb if no parameter is sent svn-id: r54457
2010-11-24SCI: Some slight changes to get the "find_callk" console command working in KQ5Filippos Karapetis
- Ignore invalid object in KQ5 script 784 - Script 980 looks to be an unused leftover, as its object contain references to classes placed in script 988, which is missing svn-id: r54455
2010-11-23SCI: added a workaround for script bug #3116892 - "SQ4 German: crash when ↵Filippos Karapetis
shooting with laser", by applying the one for the English version svn-id: r54447
2010-11-22SCI: Fixed bug #3044050 - "SQ4FLOPPY: Crash while flying in Skate-o-Rama"Filippos Karapetis
Fixed Object::locateVarSelector() for SCI0-SCI1 games, as it wasn't checking the class for object variables svn-id: r54415
2010-11-22SCI: Patched the QFG3 character import screen the same way as with QFG2Filippos Karapetis
This prevents random crashes and slow refreshing, same as with QFG2 svn-id: r54414