aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2016-01-05SCI: fix compatibility issue in kFileIOMartin Kiewitz
Allow 0xFFFF as invalid file handle again for kFileIO calls Fan game "Dating Pool" opens a non-existant file at the start and tries to read it, even though it shouldn't do the latter. The sciAudio adjustments changed our behavior to error() out in such a case. This commit changes it back to our old behavior to only print out a warning.
2016-01-04SCI32: fix kString calling from within kArrayMartin Kiewitz
(didn't work since the introduction of kString signatures and the kString split-up)
2016-01-03SCI: kGetEvent modifiers bug was fixed in SCI1Martin Kiewitz
- SCI1 EGA QfG2 keyboard driver resets AH In the original commit I forgot to mention: - thanks to lskovlun for figuring out that bit 9 is checked/set - thanks to wjp for checking SCI32
2016-01-03SCI: implement kGetEvent modifiers DOS bugMartin Kiewitz
Will fix darts minigame in the fan game "Betrayed Alliance" This bug in the original interpreter/keyboard driver seems to have been fixed in SCI32.
2016-01-02SCI: fix sciAudio support on some platformsMartin Kiewitz
The old code expected sciAudio FOpen calls to fail, because they contained a directory name. On AmigaOS those calls succeeded. Because of that at least on AmigaOS, sciAudio support didn't work at all. We now detect sciAudio FOpen calls and return a proper virtual file handle. This should fix it on all platforms. Also moved the SCI32 virtual save file handle from 200 to 32100.
2015-12-29SCI32: split up SCI2.1 into EARLY/MIDDLE/LATEMartin Kiewitz
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
2015-07-13SCI: Fix object init in SCI3 scripts which are larger than 64kbFilippos Karapetis
2015-07-10SCI: Fix wording for commit fc14641Filippos Karapetis
2015-07-10SCI: Enable the save game menu option when dying in PQ2 - bug #6875Filippos Karapetis
This uses the same hack as the one used to reset the menus in Jones. I've tested some more SCI games, and they don't disable menu entries when loading a game. Hopefully, Jones and PQ2 are the only ones
2015-05-18SCI: sq4cd: extend skateorama workaround bug #6853Martin Kiewitz
2015-05-18SCI: sq4cd scriptpatch clothes change points #6866Martin Kiewitz
script patch, so that points are awarded, when changing back clothes. You have to clean out the bank account again, because that's the problematic script. Also happened in original interpreter. Only happened for Space Quest 4 CD worked in floppy
2015-05-17SCI: identifyOffsets() counter variablesMartin Kiewitz
2015-05-17SCI: qfg1vga: fix script patch sneak into castleMartin Kiewitz
The original script patch only worked when speed slider was all the way up.
2015-05-15SCI: adjust SCI3 offset identify thx lskovlunMartin Kiewitz
2015-05-14SCI: add SCI3 support for debug cmd scroMartin Kiewitz
2015-05-14SCI: add said-details to script_said debug cmdMartin Kiewitz
2015-05-14SCI: debug commands scro, scrs and script_saidMartin Kiewitz
implement string collecting for SCI3 implement object offset collecting for SCI0-SCI2 implement said-str offset collecting for SCI0-SCI1 add new debug command scro / script_objects add new debug command script_said string without terminating NUL now a warning the latter happens in qfg2 for amiga room 84
2015-05-14SCI: change qfg2 saurus ride script patchMartin Kiewitz
the original script patch messed up room changes
2015-05-05SCI: add qfg2 airElemental workaround - bug #6859Martin Kiewitz
2015-05-04SCI: fix bug in new string identifying codeMartin Kiewitz
fixes string identifying in mac SCI1.1 games
2015-05-04SCI: Scripts: identify strings + debug commandMartin Kiewitz
debug command is called "script_strings" / "scrs"
2015-05-03SCI: Handle pronouns in parserWillem Jan Palenstijn
When parsing a sentence, its type 0x142 word (presumably the object) is now stored. Any pronouns (type 0x080) are then automatically replaced by this stored word.
2015-05-03SCI: Clarify function nameWillem Jan Palenstijn
2015-05-02SCI: lsl5 script patch to fix game breaking bugMartin Kiewitz
fixes green card phone number also calling limo at the same time bug for the English PC 1.000 release.
2015-04-27SCI: move SCI32 plane clear to gamestate_restore()Martin Kiewitz
2015-04-26SCI: restore: clear screen when restoringMartin Kiewitz
primarily to clear kPortrait graphics in kq6 when restoring during portrait animation
2015-04-26SCI: restore: reset ports before loading memoryMartin Kiewitz
otherwise we could free hunk space of the loaded saved game
2015-04-26SCI: implement delayed restore via ScummVM menuMartin Kiewitz
will delay restoring a saved game until the next kGetEvent or kWait also implement aborting playback for kPortrait and kShowMovie
2015-04-26SCI: Stop processing in kGetEvent after loadingWillem Jan Palenstijn
getSciEvent can trigger the main ScummVM menu, which can trigger loading a game, which will invalidate the game state that kGetEvent is operating on. Other kernel functions may still have the same problem, and a better solution may be necessary.
2015-04-25SCI: script patch qfg2 saurus freeze - bug #5156Martin Kiewitz
getting back on saurus in the desert by typing command "ride" freezes the game. This patch fixes the issue. Attention: difficult bug to fix, may cause issues
2015-04-25SCI: script patch for sq4cd, walk in bug #5468Martin Kiewitz
walk right up in the first room, only for SQ4 CD
2015-04-24SCI: qfg1vga script patch 4 stag dagger bug #6135Martin Kiewitz
fixes animation issue when throwing a dagger at white stag in room 77
2015-04-23SCI: fix Camelot save on map screen bug #6744Martin Kiewitz
don't put restored script windows into _windowList[]
2015-04-21SCI: kDoBresen adjustments for SCI<=1_EGA, thx wjpMartin Kiewitz
2015-04-21SCI: fix bug in new workaround sig codeMartin Kiewitz
2015-04-19SCI: workaround sig cleanup 2Martin Kiewitz
2015-04-19SCI: workaround sig cleanupMartin Kiewitz
old and now obsolete localCallOffset removed
2015-04-19SCI: workaround sig fanmade Ocean Battle migratedMartin Kiewitz
2015-04-19SCI: workaround sig Jones in the fast lane migratedMartin Kiewitz
2015-04-19SCI: workaround sig Hoyle 1 migratedMartin Kiewitz
2015-04-19SCI: workaround sig Hoyle 4 migratedMartin Kiewitz
2015-04-19SCI: workaround sig Space Quest 1 migratedMartin Kiewitz
2015-04-19SCI: workaround sig for fanmade games kDeviceInfoMartin Kiewitz
2015-04-19SCI: workaround sig Space Quest 4 migratedMartin Kiewitz
2015-04-19SCI: workaround sig Conquests of Camelot migratedMartin Kiewitz
2015-04-19SCI: workaround sig Conquests of Longbow migratedMartin Kiewitz
2015-04-19SCI: workaround sig pq2/demo:lb+hq1 migratedMartin Kiewitz
- also kDisplay cleanup, removed dummy opcodes - workarounds should be used instead - fixed hq1 workaround entry, it seems we are able to read vocabulary now
2015-04-19SCI: workaround sig Quest for Glory 3 migratedMartin Kiewitz
2015-04-19SCI: workaround sig Quest for Glory 1 VGA migratedMartin Kiewitz
2015-04-19SCI: workaround sig eco quest 2 updateMartin Kiewitz
sig also works on french version + sig extended