4675 Commits

Author SHA1 Message Date
Filippos Karapetis
7890bf484f SCI: Added a detection entry for LSL5 (bug report #3049771)
svn-id: r52250
2010-08-21 08:25:36 +00:00
Martin Kiewitz
3e427b725b SCI: added another comment to kRandom
about hoyle4

svn-id: r52246
2010-08-20 22:14:48 +00:00
Martin Kiewitz
1b9d95e43c SCI: kRandom now exactly behaving like sierra sci
hoyle4 and lsl5 door code work now

svn-id: r52244
2010-08-20 21:59:14 +00:00
Filippos Karapetis
f8957603e6 SCI: Fixed typos in kRandom()
svn-id: r52242
2010-08-20 21:05:56 +00:00
Filippos Karapetis
29adf97a14 SCI: Reverted kRandom to use unsigned integers again (used e.g. in LSL5) and added a temporary hack for the special case in Hoyle 4 (0x0, 0xFFFF), till we find out how this is handled correctly
svn-id: r52240
2010-08-20 21:02:24 +00:00
Filippos Karapetis
8d037cd5af SCI: Fixed bug #3039308 - "HOYLE4: Rules Dialog missing background"
svn-id: r52237
2010-08-20 18:52:21 +00:00
Filippos Karapetis
45f1a5d450 Fixed bug #3049361 - "Hoyle4: Game is falsely detected as DEMO"
svn-id: r52236
2010-08-20 18:43:00 +00:00
Filippos Karapetis
3d913042c0 SCI: Fixed bug #3049435 - "QFG3: Crash at Simbani warrior challenge"
svn-id: r52235
2010-08-20 18:18:52 +00:00
Filippos Karapetis
dd1708a1f1 Reverting r52224, as it was incorrect - fanmade games use the same interpreter as normal ones, so this doesn't make sense. Added a FIXME with a description about the graphics glitch in fanmade games
svn-id: r52225
2010-08-20 15:17:19 +00:00
Filippos Karapetis
273a9eb036 SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
svn-id: r52224
2010-08-20 12:24:48 +00:00
Filippos Karapetis
087a15ae0e SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere
svn-id: r52223
2010-08-20 10:49:01 +00:00
Filippos Karapetis
31c889d7ce SCI: Fixed the GM detection introduced in rev #52211 to check the first 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-20 09:35:20 +00:00
Filippos Karapetis
849ccc9eab SCI: Changed a warning into a debugC
svn-id: r52220
2010-08-20 07:38:33 +00:00
Martin Kiewitz
af46e0fdc0 SCI: disabling EGA mapping after sci1ega
fixes vga conversion games graphic glitches, some views have bad mapping tables

svn-id: r52218
2010-08-19 22:21:03 +00:00
Filippos Karapetis
6dcdc72fda SCI: Fixed bug #3038228 - "MOTHERGOOSE: Crash at the castle"
svn-id: r52214
2010-08-19 16:21:31 +00:00
Filippos Karapetis
780dacf48d SCI: Fixed one of the bugs in hoyle3, from bug report #3038837 - "HOYLE3: EGA/VGA Crashes" (that report includes more issues)
svn-id: r52213
2010-08-19 15:58:39 +00:00
Filippos Karapetis
37d2f10206 SCI: Added checking for the existence of a GM track, to determine if device ID 7 or 12 should be used. Fixes the GM music in the demo of QFG3, which is using an in-between version of SCI1 and SCI1.1
svn-id: r52211
2010-08-19 13:52:21 +00:00
Filippos Karapetis
aa3cefa2c6 SCI: Fixed bug #3039768 - "QFG3: Glitch When Making Thief Sign to Rope Maker", by fixing the implementation of kSetJump, based on Greg's SCI code. kSetJump returned an incorrect result, causing the actor to jump outside the screen
svn-id: r52207
2010-08-19 11:41:13 +00:00
Filippos Karapetis
2b778891ea SCI: Fixed bug #3039679 - "SCI Fanmade - The Gem Scenario: Crash at the start"
svn-id: r52199
2010-08-18 21:58:58 +00:00
Filippos Karapetis
c04d3e4689 SCI: Fixed bug #3041232 - "LB2Floppy: Crash at Museum"
svn-id: r52197
2010-08-18 20:41:03 +00:00
Filippos Karapetis
3268238364 SCI: Fixed script bug #3048054 - "LONGBOW: crash when opening hand code" (German version)
svn-id: r52196
2010-08-18 20:28:48 +00:00
Filippos Karapetis
c969090ef8 SCI: Only perform queuing of song signals for SCI0, where we handle the updating of song queues ourselves. Newer games handle signaling on their own, thus we shouldn't interfere with this. Fixes bug #3045913 - "PHARKAS CD: Crash at the start menu" (a regression from rev #52043)
svn-id: r52195
2010-08-18 20:00:18 +00:00
Filippos Karapetis
ff8cfd3d9b SCI MIDI: adding some asserts as well as proper initialization for _velocityMap
svn-id: r52184
2010-08-18 11:03:12 +00:00
Filippos Karapetis
135b9ee63c SCI: Changed a warning into a debugC
svn-id: r52183
2010-08-18 07:58:38 +00:00
Filippos Karapetis
98a8c01dbb SCI: Fixed bug #3038433 - "HOYLE1: Crashes"
svn-id: r52182
2010-08-18 07:14:17 +00:00
Filippos Karapetis
1ca946caf0 SCI: Cleanup
svn-id: r52181
2010-08-18 06:59:31 +00:00
Filippos Karapetis
d0d677ab75 SCI: Fixed bug #3042964 - "KQ4: Signature Mismatch"
svn-id: r52180
2010-08-18 05:27:13 +00:00
Filippos Karapetis
190043e6b7 SCI: Resolved a FIXME concerning scripts with more than one export table (it only makes sense for SCI0-SCI1 games)
svn-id: r52179
2010-08-18 00:04:21 +00:00
Filippos Karapetis
e320103926 SCI: Refactored readPoint() to accept a segment reference to the polygon data, thus removing the check for invalid segment types. Also, added a sanity check to verify that the memory reference to polygon data is big enough to hold all the expected polygon vertices (thanks to waltervn)
svn-id: r52176
2010-08-17 23:55:07 +00:00
Filippos Karapetis
d8b0b445f3 Limited the sanity check in rev #52174 to invalid segment types only (apparently, polygon data may be placed in non-dynmem segments too)
svn-id: r52175
2010-08-17 23:11:30 +00:00
Filippos Karapetis
3c010fc2f9 SCI: Fixed bug #3034501 - "LSL6: Segfault while leaving the penthouse"
svn-id: r52174
2010-08-17 22:51:24 +00:00
Filippos Karapetis
9df74402e5 SCI: Added a warning dialog on game startup for versions of Longbow with known buggy scripts (containing game stopping bugs), which have been patched by Sierra
svn-id: r52172
2010-08-17 20:36:28 +00:00
Filippos Karapetis
397df8f350 SCI: added a wrapper for GUI::MessageDialog
svn-id: r52171
2010-08-17 20:33:22 +00:00
Filippos Karapetis
0106a37857 SCI: Added another French version of LSL3
svn-id: r52170
2010-08-17 19:50:23 +00:00
Filippos Karapetis
bf694bf271 SCI: Added the EGA version of SQ4
svn-id: r52169
2010-08-17 19:45:51 +00:00
Filippos Karapetis
aeb62b5db5 SCI: Added another EGA version of KQ5
svn-id: r52168
2010-08-17 19:41:27 +00:00
Filippos Karapetis
02f08d41a1 SCI: Added another EGA version of Longbow
svn-id: r52167
2010-08-17 19:37:43 +00:00
Filippos Karapetis
918847360e SCI: Added the EGA version of PQ3
svn-id: r52166
2010-08-17 19:33:13 +00:00
Filippos Karapetis
9b80709ed6 SCI: Added the EGA version of Space Quest I
svn-id: r52165
2010-08-17 19:27:51 +00:00
Filippos Karapetis
22210187a9 SCI: Added the EGA version of LSL5
svn-id: r52164
2010-08-17 19:22:34 +00:00
Filippos Karapetis
478f6bfc6f SCI: Fix for bug #3046800 - "SCI Fallback detector crashes with several games"
svn-id: r52163
2010-08-17 19:15:55 +00:00
Martin Kiewitz
db8b322219 SCI: commenting out hoyle 4 script patch
svn-id: r52143
2010-08-17 10:26:12 +00:00
Matthew Hoops
4c3618e645 SCI: Fix uninit'd temp in longbow. See bug #3046200
svn-id: r52126
2010-08-16 17:02:35 +00:00
Martin Kiewitz
d8726d8058 SCI: sci1.1 pictures w/o cel don't set palette
even if one is present in the picture, fixes some transitions looking weird in eq2 - bug #3037126

svn-id: r52125
2010-08-16 16:50:45 +00:00
Martin Kiewitz
c284e78cc0 SCI: adding patch for eq2 / ecorder
initial title now gets removed

svn-id: r52122
2010-08-16 15:22:43 +00:00
Torbjörn Andersson
b49761b6ea SCI: Change abs() to ABS()
I'm not sure why we define our own ABS(), but I assume we have some
compelling reason for it.

svn-id: r52105
2010-08-15 19:01:18 +00:00
Martin Kiewitz
f078363c7e SCI: adding workaround for island dr. brain
fixes bug #3045225

svn-id: r52102
2010-08-15 16:24:43 +00:00
Johannes Schickel
b7ab1d41bf SCI: Silence shadowed variable warning of g++.
svn-id: r52082
2010-08-14 08:44:29 +00:00
Martin Kiewitz
f8697e20b5 SCI: now reusing window ids on kNewWindow
sq4cd recreates the inventory window several times, but also reuses old window ids, causing kernelSetActive errors. fixes bug #3044757

svn-id: r52079
2010-08-14 08:03:32 +00:00
Martin Kiewitz
512bf22af6 SCI: adding workaround for camelot during ending
fixes bug #3044734
also fixing heap corruption during the ending

svn-id: r52077
2010-08-14 06:05:54 +00:00