Commit graph

260 commits

Author SHA1 Message Date
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
md5
14865cbf9c SCI: Fixed script bug #3292334 - "HOYLE4: Gin Rummy bug" 2011-04-26 19:08:02 +03:00
md5
1ba3d462d2 SCI: Fixed 2 script bugs in Hoyle 4 - hearts
This fixes bug #3292333 - "HOYLE4: Hearts bug"
2011-04-26 13:03:04 +03:00
md5
f752b1b2fc SCI: Fixed several uninitialized variable script bugs in Hoyle 4 Bridge
This fixes bug #3292332, along with other related issues
2011-04-26 12:56:11 +03:00
md5
b4051db142 SCI: Extended the script workaround for the sign reading script (bugs #3272735, #3275413) 2011-04-05 10:23:51 +03:00
md5
f4905eafd1 SCI: Added workaround for script bug #3272735 - "SCI: QFG2: Crash when typing 'read sign'" 2011-04-04 09:59:20 +03:00
md5
407b9c9b2e SCI: Added a workaround for script bug #3268076 - "MOTHERGOOSE: Crash after finishing the game" 2011-04-03 15:19:19 +03:00
Matthew Hoops
5bc5e95e12 SCI: Add workaround for a GK1 pointer comparison 2011-03-29 13:48:07 -04:00
md5
1f5c3a6967 SCI: Extended a workaround for KQ7 to apply in all rooms 2011-03-25 07:42:27 +02:00
md5
fa10ee66e4 SCI: Added proper fix for bug #3048054 - "LONGBOW: crash when opening hand code"
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-12 23:48:56 +02:00
Max Horn
2cbefc8bb5 SCI: Constify some code 2011-03-07 23:21:35 +01:00
md5
194081e7ae SCI: Removed several workarounds which are no longer needed, after the changes regarding hunk pointers in r0d555c4 2011-02-28 22:32:41 +02:00
Lars Skovlund
baa9cbf45c SCI: Add workaround for PQ:SWAT.
This is a bug in the SCI32 class library, and there are similar workarounds
for a number of SCI32 games.
2011-02-28 21:20:54 +01:00
md5
0d555c497d SCI: Moved hunk pointer handling to the GC, and removed some related workarounds
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-28 15:56:03 +02:00
md5
d05fb0cba6 SCI: Some spacing fixes and typos 2011-02-19 21:31:30 +02:00
md5
4e88d75eb6 SCI: Refactored the reg_t related operations and comparisons
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-19 20:22:43 +02:00
Matthew Hoops
e19d6a2462 SCI: Add workaround for uninitialized read in KQ5 FM Towns
Thanks to alexbevi
2011-02-16 14:24:39 -05:00
Matthew Hoops
758e495872 SCI: Add support for the KQ5 FM Towns resource format
Thanks to alexbevi for providing details on the format
2011-02-16 14:24:38 -05:00
Filippos Karapetis
745c04194a SCI: Added a workaround for MUMG Deluxe
svn-id: r55873
2011-02-10 16:49:46 +00:00
Matthew Hoops
e1bdfe16e3 SCI: Make Hoyle4 workarounds without names so they work in the Mac version (that has no class names)
svn-id: r55711
2011-02-01 21:15:26 +00:00
Filippos Karapetis
bb3fd747d4 SCI: Fixed bug #3155550 - "SQ4 Russian: Script error in Scate-o-rama"
svn-id: r55218
2011-01-12 23:53:14 +00:00
Filippos Karapetis
c215d85c33 SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom version crash on escape"
svn-id: r55217
2011-01-12 23:33:30 +00:00
Filippos Karapetis
fc83afc5f2 SCI2.1: Added/documented some functionality used by Shivers 1
- 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
2011-01-08 10:23:27 +00:00
Filippos Karapetis
e48b07e3bd SCI: Added workaround for script bug #3148418 - "QFG2: Script Error On last screen"
svn-id: r55075
2010-12-31 11:32:19 +00:00
Filippos Karapetis
3a14a7760e SCI: Fixed bug #3092115 - "ECOQUEST2: Initial text not cleared during ecorder intro"
svn-id: r54984
2010-12-21 15:31:59 +00:00
Filippos Karapetis
b837366871 SCI: Added an uninitialized read script workaround for QFG1VGA
svn-id: r54663
2010-11-30 00:27:36 +00:00
Filippos Karapetis
d66c43eb5e SCI: added a workaround for script bug #3116892 - "SQ4 German: crash when shooting with laser", by applying the one for the English version
svn-id: r54447
2010-11-23 22:42:03 +00:00
Filippos Karapetis
f2498b54ce SCI: Added 3 uninitialized temp fixes for the RAMA demo, which is now working
svn-id: r54404
2010-11-21 02:08:35 +00:00
Filippos Karapetis
3b07056a47 SCI: Moved the Object class in a separate file
svn-id: r54361
2010-11-19 08:18:24 +00:00
Filippos Karapetis
34272e2529 SCI: Added a stub for a new subop in kString, and disabled trackOriginAndFindWorkaround() for SCI3 games for now
svn-id: r54352
2010-11-18 22:46:29 +00:00
David Turner
69e42a0d4d SCI: Workaround for bug #3109299 "QFG1VGA: Crash when leaving area east of Antwerp"
Extended current workarounds to cover QFG1VGA.

svn-id: r54239
2010-11-15 06:17:35 +00:00
Filippos Karapetis
f3ea2315fc SCI: Fixed script bug #3108012 - "Hoyle1: Crash when changing Deal Speed in Hearts"
svn-id: r54226
2010-11-13 13:34:10 +00:00
Lars Skovlund
32ff20477b SCI: Add uninitialized temp workaround for Shivers
svn-id: r54157
2010-11-09 15:16:40 +00:00
Filippos Karapetis
05eb352e5c SCI: Bugfix for script workarounds
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-08 00:41:39 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
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-11-01 16:02:28 +00:00
Filippos Karapetis
e3dfadc6c1 SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"
svn-id: r53993
2010-10-31 23:34:36 +00:00
Filippos Karapetis
bf44b0e545 SCI: Fixed script bug #3098353 - "ECOQUEST1 German: Crash at the blackboard in the dolphin room"
svn-id: r53941
2010-10-30 11:21:28 +00:00
Filippos Karapetis
77d20f6962 SCI: Fixed bug #3094235 - "SQ4CD: Crashes at Roger jr. in beam"
svn-id: r53776
2010-10-24 21:53:27 +00:00
Willem Jan Palenstijn
9fae823f61 SCI: Add one more workaround for end of QfG3 Awari
svn-id: r53058
2010-10-07 20:48:55 +00:00
Filippos Karapetis
88e7bb4995 SCI: Removed some unnamed selector access in the workarounds. Fixes the regression
in the demo of EcoQuest, when opening a window

svn-id: r52757
2010-09-17 12:37:59 +00:00
Filippos Karapetis
fddb0f6c15 Partial fix for bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while playing"
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-05 23:14:42 +00:00
Filippos Karapetis
7dcb19e41b SCI: Added a workaround for the non-interactive demo of Pepper
svn-id: r52540
2010-09-05 10:55:25 +00:00
Filippos Karapetis
16bed50469 SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"
svn-id: r52539
2010-09-05 09:27:41 +00:00
Filippos Karapetis
7dffcf43c2 SCI: Added a workaround for bug #3056811 - "SQ5: Game crashes while playing "Battle Cruiser""
svn-id: r52477
2010-08-31 21:18:20 +00:00
Filippos Karapetis
8ba02169f8 SCI: Properly fixed bug #3053268 - "QFG1 VGA: Fetch spell crashes game"
svn-id: r52440
2010-08-29 12:54:15 +00:00
Filippos Karapetis
a32926147c SCI: Fixed bug #3051475 - "MOTHERGOOSE CD: Crash after giving the pipe to the king"
svn-id: r52433
2010-08-29 02:31:18 +00:00
Filippos Karapetis
0bc33f000f SCI: Possible fix for bug #3053268 - "QFG1 VGA: Fetch spell crashes game"
svn-id: r52411
2010-08-27 14:21:08 +00:00
Filippos Karapetis
27fbfcc34e SCI: Fixed bug #3052359 - "Hoyle1: Hearts Crash"
svn-id: r52352
2010-08-24 17:28:52 +00:00
Martin Kiewitz
7b8add291e SCI: multiple changes for mother goose vga
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-23 16:33:19 +00:00
Willem Jan Palenstijn
eeff13d747 SCI: Fix whitespace
svn-id: r52297
2010-08-23 10:18:06 +00:00