aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
AgeCommit message (Collapse)Author
2013-05-31SCI: Add a workaround for a script bug in SQ5, room 800 - bug #3614145Filippos Karapetis
2013-03-30SCI: Fix script bug #3606025 - "SCI: Crazy Nick's: King Graham's Challenge ↵Filippos Karapetis
Backgammon Crash" The script in question has a bug - it was fixed for checkers, but not backgammon
2013-01-22SCI: Fix uninitialized variable workaround for scene 510 (bug #3575570)Filippos Karapetis
A non-zero value must be used in the uninitialized variable, otherwise the prize is awarded twice. Fixes bug #3575570 - "SCI: QfG3: Both the player and Yesufu are declared winners"
2013-01-11SCI: Add another workaround for a script bug in QFG4Filippos Karapetis
2013-01-11SCI: Add 2 workarounds for script bugs in QFG4Filippos Karapetis
2012-10-22SCI: Fix bug #3578335 - "SCI: Mixed-Up Mother Goose EGA - crash upon ↵Filippos Karapetis
choosing kid" In several SCI0 games, the parameter to kDoSoundFade can be null. We handle that case, instead of adding individual workarounds per game
2012-08-21SCI: Extend a workaround for the dream sequence in QFG4Filippos Karapetis
2012-08-02SCI: Add a workaround for a script bug in QFG4Filippos Karapetis
Thanks to Charles for testing
2012-07-27SCI: Add a workaround for a bug in Phantasmagoria 1Filippos Karapetis
2012-07-25SCI: Add a workaround for a script bug in QFG4Filippos Karapetis
2012-07-25SCI: Expand an uninitialized read workaround for SQ6Filippos Karapetis
2012-07-02SCI: Fix a workaround for an uninitialized variable in SQ4CDFilippos Karapetis
This makes sure that the workaround works for subclassed objects as well, such as "theProfessor" talker. Fixes bug #3539350 - "SCI: SQ4 CD - Crash in sewer when text and speech enabled"
2012-06-13SCI: Add a workaround for the French version of Torin's PassageFilippos Karapetis
Thanks to LePhilousophe for playing and providing the workaround
2012-05-22SCI: Add a workaround for a hack used in the NRS script patches for QFG3Filippos Karapetis
The patched script 33 in the NRS patch attempts to perform kAbs() on an object. Return a dummy value instead. Fixes bugs #3528416 and #3528542
2012-05-20SCI: Add another workaround for the map scene in TMMFilippos Karapetis
Thanks to TMM for details on reproducing this
2012-04-04SCI: Bugfix for the GetAngle workaroundsFilippos Karapetis
Return a fake value instead of leaving random values in the accumulator
2012-04-01SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513765.D G Turner
This occurs while Roger is trying to move around the Pilot Droid in Ulence Flats.
2012-04-01SCI: Change the fix for the SQ1 PAvoider call to apply in all rooms againFilippos Karapetis
This bad call can be made in all rooms in Ulence Flats, after getting the Pilot Droid. Properly fixes script bug #3513207
2012-03-31SCI: Fix workaround for bug #3513207Filippos Karapetis
The associated call contains too few parameters, thus it shouldn't be made at all
2012-03-31SCI: Minor formatting fix to workarounds table.D G Turner
2012-03-31SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513207.D G Turner
This occurs while Roger is trying to move around the Pilot Droid in various narrow cases.
2012-01-16SCI: Update a workaround for the demo of QFG4 to make it work againFilippos Karapetis
2011-10-19SCI: Changed the kUnload workaround for the LB2 demo to apply to all scenesFilippos Karapetis
2011-10-12SCI: 3 Uninitialized read workarounds for ShiversHeather Douglass
2011-10-09SCI2+: Added a workaround for an uninitialized temp in PQ4Filippos Karapetis
2011-09-22SCI: Ignore invalid pointers if the kernel function signature specifies itFilippos Karapetis
SCI scripts can send stale pointers to kernel functions (e.g. after loading a saved game). This is normal in some cases (such as kDisplay and kGraphRestoreBox), and their signatures are set to allow invalid pointers. Thus, in such cases, allow invalid pointers, as the kernel functions will handle them themselves. Fixes bug #3412002, and properly fixes bugs #3389579, #3292251, #3308087 and #3056811. Removed a relevant TODO.
2011-08-25SCI: Added two workarounds for script bug #3389579Filippos Karapetis
2011-07-13SCI: Restore deleted LSL6 workaround for crash on loadingWillem Jan Palenstijn
This was probably accidentally removed in 194081e7ae79a632ce446653cc7119b74d3a6fac. The TODO/CHECKME on it still applies. Reported in bug #3366329.
2011-06-28SCI: Fixed script bug #3292327 - "SCI: HOYLE4: Cribbage bug"Filippos Karapetis
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-06-11SCI: Fixed script bug #3313962 - "ECOQUEST2 Spanish: Crash near beginning"md5
2011-06-03SCI: Switch some char* to Common::String&Max Horn
2011-05-27SCI: Added a workaround for bug #3308087 - "SCI: SQ1VGA - Engine Abort Upon ↵md5
Loading Ulence Flats Save"
2011-05-13SCI: Added workarounds for bug #3292251, instead of patching the scriptmd5
This fixes bug #3295853
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-26SCI: Fixed script bug #3292334 - "HOYLE4: Gin Rummy bug"md5
2011-04-26SCI: Fixed 2 script bugs in Hoyle 4 - heartsmd5
This fixes bug #3292333 - "HOYLE4: Hearts bug"
2011-04-26SCI: Fixed several uninitialized variable script bugs in Hoyle 4 Bridgemd5
This fixes bug #3292332, along with other related issues
2011-04-05SCI: Extended the script workaround for the sign reading script (bugs ↵md5
#3272735, #3275413)
2011-04-04SCI: Added workaround for script bug #3272735 - "SCI: QFG2: Crash when ↵md5
typing 'read sign'"
2011-04-03SCI: Added a workaround for script bug #3268076 - "MOTHERGOOSE: Crash after ↵md5
finishing the game"
2011-03-29SCI: Add workaround for a GK1 pointer comparisonMatthew Hoops
2011-03-25SCI: Extended a workaround for KQ7 to apply in all roomsmd5
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-07SCI: Constify some codeMax Horn
2011-02-28SCI: Removed several workarounds which are no longer needed, after the ↵md5
changes regarding hunk pointers in r0d555c4
2011-02-28SCI: Add workaround for PQ:SWAT.Lars Skovlund
This is a bug in the SCI32 class library, and there are similar workarounds for a number of SCI32 games.
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-19SCI: Some spacing fixes and typosmd5
2011-02-19SCI: Refactored the reg_t related operations and comparisonsmd5
This refactoring reduces a lot of code duplication, allows for better control, makes the code more readable and allows us to remove a lot of now unneeded workarounds