aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script_patches.h
AgeCommit message (Collapse)Author
2017-03-27SCI: Implement bounds-checked reads of game resourcesColin Snover
2017-03-19SCI: Add Colonel's Bequest patch and extend patcher functionalityMartin Kiewitz
Add Colonel's Bequest patch to fix an issue in room 35. When you tell Lilly about Gertie in act 2, Lilly will then walk out of the room. In case Laura (ego) is in her way, the game will effectively block and will appear frozen. This also happened, when using the original interpreter. This also adds a new functionality to the script patcher. PATCH_GETORIGINALUINT16 is able to get a full UINT16 from original script data and insert it somewhere else. PATCH_GETORIGINALBYTE and PATCH_GETORIGINALBYTEADJUST commands were merged internally and use the same internal command now. Some script patches were adjusted accordingly. Thanks again to wjp for helping on the script issue.
2016-08-30SCI: Add missing parentheses to SIG/PATCH macrosWillem Jan Palenstijn
2016-02-23SCI: Improve kAnimate fastcast detection, Remove EQ1 hackMartin Kiewitz
- Add "kAnimate fast cast state" to "version" debug command - Make it possible for script patcher signatures to get fully used outside of the regular script patcher - Remove previous fastcast detections and replace them with a signature heuristic - Remove object name checking, when fastcast global is set - Heuristic detects "fast cast" support incorrectly for multilingual KQ5, but it seems the game never sets the global, so it won't matter. KQ5 CD (also SCI1 late) has fastcast support. - Remove hack in GfxView::draw - Add lots of comments to ScriptPatcher class This fixes EcoQuest 1 Floppy showing the anemone on top of the message box (see bug #5170)
2015-04-18SCI: add signatures for workaround local-callsMartin Kiewitz
instead of using hardcoded offsets, we can now use regular script patcher signatures. only 1 qfg3 workaround has been migrated, the others will follow.
2014-10-28SCI: Remove trailing whitespaceFilippos Karapetis
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-20SCI: final script patcher cleanupMartin Kiewitz
2013-12-20SCI: script patcher comment adjustMartin Kiewitz
2013-12-20SCI: even more script patcher cleanupMartin Kiewitz
2013-12-20SCI: script patcher cleanupMartin Kiewitz
2013-12-08SCI: Make all global script patch signatures const.Johannes Schickel
2013-12-04SCI: script patcher is now a separate classMartin Kiewitz