aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
AgeCommit message (Collapse)Author
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
2011-02-16SCI: Add workaround for uninitialized read in KQ5 FM TownsMatthew Hoops
Thanks to alexbevi
2011-02-16SCI: Add support for the KQ5 FM Towns resource formatMatthew Hoops
Thanks to alexbevi for providing details on the format
2011-02-10SCI: Added a workaround for MUMG DeluxeFilippos Karapetis
svn-id: r55873
2011-02-01SCI: Make Hoyle4 workarounds without names so they work in the Mac version ↵Matthew Hoops
(that has no class names) svn-id: r55711
2011-01-12SCI: Fixed bug #3155550 - "SQ4 Russian: Script error in Scate-o-rama"Filippos Karapetis
svn-id: r55218
2011-01-12SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom ↵Filippos Karapetis
version crash on escape" svn-id: r55217
2011-01-08SCI2.1: Added/documented some functionality used by Shivers 1Filippos Karapetis
- Added kFileIO subop 17 (create save slot) - Added information about a (probably debug) kernel function used in a puzzle, kCelInfo - Added some information on two kSave subops - Added 2 workarounds for uninitialized variables svn-id: r55158
2010-12-31SCI: Added workaround for script bug #3148418 - "QFG2: Script Error On last ↵Filippos Karapetis
screen" svn-id: r55075
2010-12-21SCI: Fixed bug #3092115 - "ECOQUEST2: Initial text not cleared during ↵Filippos Karapetis
ecorder intro" svn-id: r54984
2010-11-30SCI: Added an uninitialized read script workaround for QFG1VGAFilippos Karapetis
svn-id: r54663
2010-11-23SCI: added a workaround for script bug #3116892 - "SQ4 German: crash when ↵Filippos Karapetis
shooting with laser", by applying the one for the English version svn-id: r54447
2010-11-21SCI: Added 3 uninitialized temp fixes for the RAMA demo, which is now workingFilippos Karapetis
svn-id: r54404
2010-11-19SCI: Moved the Object class in a separate fileFilippos Karapetis
svn-id: r54361
2010-11-18SCI: Added a stub for a new subop in kString, and disabled ↵Filippos Karapetis
trackOriginAndFindWorkaround() for SCI3 games for now svn-id: r54352
2010-11-15SCI: Workaround for bug #3109299 "QFG1VGA: Crash when leaving area east of ↵David Turner
Antwerp" Extended current workarounds to cover QFG1VGA. svn-id: r54239
2010-11-13SCI: Fixed script bug #3108012 - "Hoyle1: Crash when changing Deal Speed in ↵Filippos Karapetis
Hearts" svn-id: r54226
2010-11-09SCI: Add uninitialized temp workaround for ShiversLars Skovlund
svn-id: r54157
2010-11-08SCI: Bugfix for script workaroundsFilippos Karapetis
Get the English versions of objects and methods when checking for script workarounds, as the objects/methods could be translated. Fixes bug #3104623, "PQ3: Crash when click on City map" svn-id: r54134
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"Filippos Karapetis
svn-id: r53993
2010-10-30SCI: Fixed script bug #3098353 - "ECOQUEST1 German: Crash at the blackboard ↵Filippos Karapetis
in the dolphin room" svn-id: r53941
2010-10-24SCI: Fixed bug #3094235 - "SQ4CD: Crashes at Roger jr. in beam"Filippos Karapetis
svn-id: r53776
2010-10-07SCI: Add one more workaround for end of QfG3 AwariWillem Jan Palenstijn
svn-id: r53058
2010-09-17SCI: Removed some unnamed selector access in the workarounds. Fixes the ↵Filippos Karapetis
regression in the demo of EcoQuest, when opening a window svn-id: r52757
2010-09-05Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"Filippos Karapetis
The fix is partial, as the game will crash when losing and attempting to restart (for a different reason - there's an issue when uninstantiating a script) svn-id: r52581
2010-09-05SCI: Added a workaround for the non-interactive demo of PepperFilippos Karapetis
svn-id: r52540
2010-09-05SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"Filippos Karapetis
svn-id: r52539
2010-08-31SCI: Added a workaround for bug #3056811 - "SQ5: Game crashes while playing ↵Filippos Karapetis
"Battle Cruiser"" svn-id: r52477
2010-08-29SCI: Properly fixed bug #3053268 - "QFG1 VGA: Fetch spell crashes game"Filippos Karapetis
svn-id: r52440
2010-08-29SCI: Fixed bug #3051475 - "MOTHERGOOSE CD: Crash after giving the pipe to ↵Filippos Karapetis
the king" svn-id: r52433
2010-08-27SCI: Possible fix for bug #3053268 - "QFG1 VGA: Fetch spell crashes game"Filippos Karapetis
svn-id: r52411
2010-08-24SCI: Fixed bug #3052359 - "Hoyle1: Hearts Crash"Filippos Karapetis
svn-id: r52352
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