aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script_patches.cpp
AgeCommit message (Collapse)Author
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-13SCI: Added workarounds for bug #3292251, instead of patching the scriptmd5
This fixes bug #3295853
2011-05-12SCI: Fix signature of script patch qfg3DialogCrash (bug #3300241)Tarek Soliman
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-26SCI: Fixed script bug #3292251 - "SCI: QFG3: Script error when buying robe"md5
2011-04-02SCI: Fix SQ1 droid zapping issue with a script patch, thanks toLars Skovlund
dhewg for reporting.
2011-03-13SCI: Restore full object state after collision in DoBresenWillem Jan Palenstijn
This makes the workaround for the hang in the Colonel's Bequest shower scene (bug #3122075) unnecessary.
2011-03-12SCI: Added proper fix for bug #3048054 - "LONGBOW: crash when opening hand code"md5
This was caused by a buggy script, most probably the result of an incorrect copy/paste while processing the original script. Fixed with a script patch.
2011-03-12SCI: Moved a heap patch from kScriptID() into script_patches.cppmd5
2011-03-11SCI: Clarify fix for KQ5 witch freeze bug #3034714Willem Jan Palenstijn
The cause for this bug turns out to be a corrupt object that as a side effect accidentally bypasses its own corruption. See the added comments for details. Also add a warning that points out similarly corrupted objects.
2011-03-11SCI: Fixed bug #3034714 - "KQ5CD: ScummVM freezes in dark forest"md5
This is a heap patch for an odd object used in that scene, which will suffice for now (until we find why this works in SSCI). Thanks to wjp for his help and work on this
2011-02-28SCI: Removed the script patch for the scrubbing scene. The crash no longer ↵md5
occurs with the latest fixes to kDoBresen
2011-02-28SCI: Moved hunk pointer handling to the GC, and removed some related workaroundsmd5
SCI scripts can contain stale pointers, which are used later on. We now delete the contents of hunk entries without invalidating the relevant pointers and let the GC clear the references. Many thanks to waltervn and wjp for all their work and help on this.
2011-02-28SCI: Add FIXME comment to workaroundWillem Jan Palenstijn
2011-02-24SCI: Added a patch for script bug #3034579 - "KQ6CD: Missing speech"md5
2011-02-21SCI: Spell 'canister' correctlyMatthew Hoops
2011-02-21SCI: Fixed script bug #3040722 in QFG3md5
2011-02-08SCI: Changed the warning when applying script patches into a debug output callFilippos Karapetis
svn-id: r55837
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-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-22SCI: Fixed bug #3037618 - "PQ2 : Restoring in Scuba Van causes Parser Issues"Filippos Karapetis
svn-id: r55017
2010-12-21SCI: Fixed bug #3092115 - "ECOQUEST2: Initial text not cleared during ↵Filippos Karapetis
ecorder intro" svn-id: r54984
2010-12-02SCI: Enabled the GUI option to play speech and show subtitles simultaneously ↵Filippos Karapetis
in SQ4CD svn-id: r54736
2010-11-30SCI: Fixed bug #3053093 - "QFG1VGA and QFG3: Text box glitches"Filippos Karapetis
svn-id: r54662
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
2010-11-21SCI: Proper fix for the QFG2 character import screen crashes (bug #3037996)Filippos Karapetis
Script 944 does constant reallocations whenever the selection changes, which leads to all sorts of unpredictable crashes. Thanks to waltervn for his help on this issue svn-id: r54413
2010-11-16SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros"Filippos Karapetis
svn-id: r54272
2010-11-08SCI: Some changes regarding the string heap in saved gamesFilippos Karapetis
- Maintain the state of the string heap space in saved games - Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer() - Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch - Removed direct access to the _baseObj variable of objects svn-id: r54133
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-09-12SCI: patching cleanup (+orgbyte/adjust command)Martin Kiewitz
the new commands were meant for castle/brain hangman puzzle patch, but the patch didn't work well, so I removed it. Still the commands could/should come in handy svn-id: r52695
2010-09-10SCI: adding patch for castle brain cipher puzzleMartin Kiewitz
reinitializes puzzle each time its shown. Fixes save/restore bug in that room, bug #3063510 svn-id: r52668
2010-09-06SCI: fix warning (and actual error)Martin Kiewitz
svn-id: r52591
2010-09-06SCI: add patch for cannister lockup pharkas/cdMartin Kiewitz
scripts disable icon 7+8 when entering the room. When taking the cannister they will disable all remaining icons, resulting in the disable-code running endlessly, also happend in sierra sci - fixes bug #3046367 svn-id: r52587
2010-09-05SCI: adding patch for script bug in pharkas/cdMartin Kiewitz
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161 svn-id: r52570
2010-09-05SCI: Changed consecutive ifs to a switchFilippos Karapetis
A table would be better, but the switch will do for now svn-id: r52543
2010-09-05SCI: Fix for alignment exception issue, reported by BluddyFilippos Karapetis
svn-id: r52542
2010-08-25SCI: apply qfg1vga fight patch on weapon masterMartin Kiewitz
fixes fighting the weapon master as well... svn-id: r52381
2010-08-24SCI: adding pharkas patch for ladder issueMartin Kiewitz
in room 320, fixes bug #3037192 svn-id: r52362
2010-08-24SCI: adding qfg1vga patch for fight issueMartin Kiewitz
fixes bug #3036756 svn-id: r52361
2010-08-23SCI: multiple changes for mother goose vgaMartin Kiewitz
which is sci1 and sci1.1 fixes bug #3051145 - separating this mother goose from ega and sci2.1 - adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid - adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now) - changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later svn-id: r52301
2010-08-20SCI: Fixed the GM detection introduced in rev #52211 to check the first ↵Filippos Karapetis
available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch() svn-id: r52222
2010-08-17SCI: commenting out hoyle 4 script patchMartin Kiewitz
svn-id: r52143
2010-08-16SCI: adding patch for eq2 / ecorderMartin Kiewitz
initial title now gets removed svn-id: r52122
2010-08-12SCI: adding bug id to sq4 patchMartin Kiewitz
svn-id: r52047
2010-08-12SCI: adding patch for sq4/floppyMartin Kiewitz
fixing endless flight, is actually a script data bug - there is an additional property, which is not included in property count. It's used. We return 0 in that case, because we don't know about that property, resulting in nest::x never get changed and the scripts check that for advancing svn-id: r52046
2010-08-12SCI: adjusting laurabow2 patch signatureMartin Kiewitz
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless svn-id: r52040
2010-08-12SCI: laurabow2 patch is lb2cd exclusiveMartin Kiewitz
svn-id: r52039
2010-08-12SCI: adding patch for laurabow2Martin Kiewitz
painting closing immediately (fixed properly here, the NRS patch just nukes the whole routine) svn-id: r52038
2010-08-11SCI: adding patch for kq5 harpy volumeMartin Kiewitz
fixes actual game bug #3042277 - sierra switched in that case to highest volume possible svn-id: r51999
2010-08-10SCI: adding patch for eq1cdMartin Kiewitz
fixes ego swimming left/right of room 660 and getting a "message not found" error and a GE? signature mismatch - in sierra sci this also resulted in "message not found" and a hang afterwards - bug #3038387 svn-id: r51951