Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz ff24ae66fb SCI: removing debug output from r52259
svn-id: r52263
2010-08-21 14:53:14 +00:00
Martin Kiewitz 864b067f66 SCI: fixing resourcemgr for pharkas/german
pharkas/german has duplicate resource entries inside the main resource files and we used the first ones. This results in half of the game being english and umlauts missing. We now use the last entries, which will fix all those issues (fixes bug #3039551)

svn-id: r52259
2010-08-21 13:36:09 +00:00
Filippos Karapetis 3faae2a831 Reverted part of r52256, it's not really undefined behavior (the two parts of the bitwise OR aren't reading from the same source)
svn-id: r52258
2010-08-21 13:24:09 +00:00
Filippos Karapetis d986a78834 SCI: Fixed potentially undefined behavior
svn-id: r52256
2010-08-21 13:03:35 +00:00
Filippos Karapetis f9d9fe8f12 SCI: Added support for the DEL key
svn-id: r52255
2010-08-21 11:34:19 +00:00
Filippos Karapetis 2c8946f392 SCI: add support for Control-C in earlier SCI games, too
svn-id: r52254
2010-08-21 11:11:54 +00:00
Filippos Karapetis c4d58a8d88 SCI added the "init" selector to the list of static selectors of LB2 floppy (which has no selector vocabulary), so that the workarounds of the CD version match with the ones from the floppy version
svn-id: r52253
2010-08-21 11:03:09 +00:00
Filippos Karapetis dcd6c9eaf0 SCI: Fixed bug #3048911 - "Keyboard discrepancies in all SCI games" by handling synthetic (keyboard repeat) events and adding support for Control-C
svn-id: r52252
2010-08-21 10:46:35 +00:00
Filippos Karapetis 107c39910d SCI: Fixed bug #3050122 - "QFG3: Crash after throwing the spear of death"
svn-id: r52251
2010-08-21 09:19:34 +00:00
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