aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script_patches.cpp
AgeCommit message (Collapse)Author
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
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