Commit graph

260 commits

Author SHA1 Message Date
Filippos Karapetis
311471c857 SCI: Fix script bug #6485 - "SCI: MUMG EGA - kStrCpy error" 2014-02-19 03:03:11 +02:00
Johannes Schickel
8fc7d60feb SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Martin Kiewitz
6957c5bce0 SCI: workarounds / new bug ids in comments 2013-12-24 15:20:21 +01:00
Martin Kiewitz
ffe2426628 SCI: changed workaround for lb2 audio+text patch 2013-11-21 20:51:42 +01:00
Martin Kiewitz
103463296c SCI: made lb2 text+audio patches apply to kq6
not yet enabled, because low-res kq6 has wrong window placement and hi-res kq6 even gets graphic glitches
2013-11-21 12:06:18 +01:00
Martin Kiewitz
4e2b1f0200 SCI: script patch for laura bow 2 for audio+text
at the same time
needs indepth testing
2013-11-20 23:31:36 +01:00
Martin Kiewitz
297d5764fd SCI: workaround for sq4 hintbook script bug (#6447) 2013-11-16 20:07:28 +01:00
Martin Kiewitz
2929307e01 SCI: added workaround for Black Cauldron remake
(happens only when using original save dialog)
2013-11-01 21:07:35 +01:00
Filippos Karapetis
8a68bd0650 SCI: Fix uninitialized reads of the Hoyle 3 backgammon doubling cube
This also fixes bug #3615121
2013-10-30 10:30:12 +02:00
Filippos Karapetis
eb7362b0b0 SCI: Fix script bug #3615129 - "SCI: Crazy Nick Laura Bow - Uninitialized read error 3" 2013-10-30 09:56:07 +02:00
Filippos Karapetis
cc34755986 SCI: Fix script bug #3615119 - "SCI: Crazy Nick Laura Bow - Uninitialized read error 2" 2013-10-30 09:42:56 +02:00
Filippos Karapetis
6926270ca7 SCI: Fix script bug #3615130 - "SCI: Hoyle3 - Uninitialized read error" 2013-10-30 08:47:46 +02:00
Filippos Karapetis
d58c5b89b5 SCI: Fix script bug #3615120 - "SCI: Crazy Nick Laura Bow - kReadNumber signature mismatch" 2013-10-30 08:47:46 +02:00
Filippos Karapetis
27281d1566 SCI: Fix script bug #3615118 in Crazy Nick's Laura Bow 2013-10-30 08:47:45 +02:00
Filippos Karapetis
f6b61291a7 SCI: Fix script bug #3614968 - "SCI: Camelot - crash at the pool of Siloam" 2013-09-03 10:55:48 +03:00
Filippos Karapetis
7520aea2ec SCI: Fix several script bugs in Hoyle 4 (Bridge)
This also fixes bug #3361925 - "SCI: HOYLE4: Crash in bridge"
2013-08-23 13:45:19 +03:00
Filippos Karapetis
f38c7d76ef SCI: Add a workaround for a script bug in SQ5, room 800 - bug #3614145 2013-05-31 05:59:25 +03:00
Filippos Karapetis
e376535ad4 SCI: Fix script bug #3606025 - "SCI: Crazy Nick's: King Graham's Challenge Backgammon Crash"
The script in question has a bug - it was fixed for checkers, but not backgammon
2013-03-30 13:34:25 +02:00
Filippos Karapetis
dbb50219fb SCI: Fix uninitialized variable workaround for scene 510 (bug #3575570)
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-22 01:01:22 +02:00
Filippos Karapetis
b852090a74 SCI: Add another workaround for a script bug in QFG4 2013-01-11 02:24:18 +02:00
Filippos Karapetis
182f342a01 SCI: Add 2 workarounds for script bugs in QFG4 2013-01-11 02:24:17 +02:00
Filippos Karapetis
1286710248 SCI: Fix bug #3578335 - "SCI: Mixed-Up Mother Goose EGA - crash upon 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-10-22 12:47:28 +03:00
Filippos Karapetis
1a61056b06 SCI: Extend a workaround for the dream sequence in QFG4 2012-08-21 03:32:21 +03:00
Filippos Karapetis
259f262592 SCI: Add a workaround for a script bug in QFG4
Thanks to Charles for testing
2012-08-02 03:46:58 +03:00
Filippos Karapetis
831e1b27dc SCI: Add a workaround for a bug in Phantasmagoria 1 2012-07-27 01:31:12 +03:00
Filippos Karapetis
31f9e96aee SCI: Add a workaround for a script bug in QFG4 2012-07-25 12:14:33 +03:00
Filippos Karapetis
6ade0e1457 SCI: Expand an uninitialized read workaround for SQ6 2012-07-25 02:29:57 +03:00
Filippos Karapetis
44935117f4 SCI: Fix a workaround for an uninitialized variable in SQ4CD
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-07-02 12:49:08 +03:00
Filippos Karapetis
e2613d2242 SCI: Add a workaround for the French version of Torin's Passage
Thanks to LePhilousophe for playing and providing the workaround
2012-06-13 12:27:00 +03:00
Filippos Karapetis
5a8a28bb22 SCI: Add a workaround for a hack used in the NRS script patches for QFG3
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-22 10:50:39 +03:00
Filippos Karapetis
6f9e49faeb SCI: Add another workaround for the map scene in TMM
Thanks to TMM for details on reproducing this
2012-05-20 20:16:11 +03:00
Filippos Karapetis
793dcda650 SCI: Bugfix for the GetAngle workarounds
Return a fake value instead of leaving random values in the accumulator
2012-04-04 07:41:44 +03:00
D G Turner
639c54a306 SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513765.
This occurs while Roger is trying to move around the Pilot Droid in
Ulence Flats.
2012-04-01 01:50:08 +01:00
Filippos Karapetis
95fb73bcc5 SCI: Change the fix for the SQ1 PAvoider call to apply in all rooms again
This bad call can be made in all rooms in Ulence Flats, after getting the
Pilot Droid. Properly fixes script bug #3513207
2012-04-01 01:32:03 +03:00
Filippos Karapetis
21e8f2f441 SCI: Fix workaround for bug #3513207
The associated call contains too few parameters, thus it shouldn't be made
at all
2012-03-31 05:53:29 +03:00
D G Turner
5bbfd008b6 SCI: Minor formatting fix to workarounds table. 2012-03-31 02:25:20 +01:00
D G Turner
834e9184e5 SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513207.
This occurs while Roger is trying to move around the Pilot Droid in
various narrow cases.
2012-03-31 01:39:03 +01:00
Filippos Karapetis
5bb473df88 SCI: Update a workaround for the demo of QFG4 to make it work again 2012-01-16 19:19:09 +02:00
Filippos Karapetis
5ba50c69b1 SCI: Changed the kUnload workaround for the LB2 demo to apply to all scenes 2011-10-19 23:52:52 +03:00
Heather Douglass
c5e6cdea55 SCI: 3 Uninitialized read workarounds for Shivers 2011-10-12 02:47:26 +03:00
Filippos Karapetis
b4a23a709d SCI2+: Added a workaround for an uninitialized temp in PQ4 2011-10-09 03:04:54 +03:00
Filippos Karapetis
b807041ad2 SCI: Ignore invalid pointers if the kernel function signature specifies it
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-09-22 04:18:13 +03:00
Filippos Karapetis
3774c38db5 SCI: Added two workarounds for script bug #3389579 2011-08-25 01:49:26 +03:00
Willem Jan Palenstijn
3e38e6e221 SCI: Restore deleted LSL6 workaround for crash on loading
This was probably accidentally removed in
194081e7ae. The TODO/CHECKME on it still
applies. Reported in bug #3366329.
2011-07-13 22:43:21 +02:00
Filippos Karapetis
168ba00ea3 SCI: Fixed script bug #3292327 - "SCI: HOYLE4: Cribbage bug" 2011-06-28 12:56:09 +03:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
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-20 00:59:48 +02:00
md5
ece449298d SCI: Fixed script bug #3313962 - "ECOQUEST2 Spanish: Crash near beginning" 2011-06-11 14:34:47 +03:00
Max Horn
11bd6da595 SCI: Switch some char* to Common::String& 2011-06-03 16:16:38 +02:00
md5
28b7cf71a9 SCI: Added a workaround for bug #3308087 - "SCI: SQ1VGA - Engine Abort Upon Loading Ulence Flats Save" 2011-05-27 02:47:48 +03:00
md5
a3c6439a1a SCI: Added workarounds for bug #3292251, instead of patching the script
This fixes bug #3295853
2011-05-13 00:10:44 +03:00