aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script_patches.cpp
AgeCommit message (Collapse)Author
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
2010-08-09SCI: changing patch message slightlyMartin Kiewitz
svn-id: r51949
2010-08-09SCI: fixing signature for gk1Martin Kiewitz
day6 police sleep issue svn-id: r51948
2010-08-09SCI: adding gk1 patch for day 5 freezeMartin Kiewitz
svn-id: r51947
2010-08-09SCI: adding script patches for gk1Martin Kiewitz
day6 issue in police department svn-id: r51942
2010-08-08SCI: kDisposeWindow changesMartin Kiewitz
kDisposeWindow doesn't free windows immediately anymore. We free them after some calls to kSetPort, so the handle will be valid for a short time. Fixes sq4cd and hoyle 4 (commented out patching of script for hoyle 4) svn-id: r51932
2010-08-07SCI: removing kDoBresen hack for sq5Martin Kiewitz
adding detailed comment about sq5 scrubbing issue not 100% fixed (waltervn should look into it), but at least it works now svn-id: r51833
2010-08-07SCI: adding sq5 scrubbing patchMartin Kiewitz
(for testing only, i'm not sure if it works because i'm unable to reproduce the bug anymore) svn-id: r51832
2010-08-06SCI: Some cleanup of the script patch code. Added a PATCH_MAGICDWORD define ↵Filippos Karapetis
to make the patch tables easier to understand svn-id: r51811
2010-08-06SCI: Split the new script patch code in a separate fileFilippos Karapetis
svn-id: r51810