Commit Graph

17626 Commits

Author SHA1 Message Date
Matthew Hoops
66f7e4306c SCI: Add uninit'd workaround for the SQ6 demo
svn-id: r52283
2010-08-22 17:55:29 +00:00
Filippos Karapetis
68f3cc944c SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode"
svn-id: r52281
2010-08-22 16:30:33 +00:00
Matthew Hoops
3677a8a382 SCI: Fix a bug in kFileIOWriteString. The first return statement should go inside the if-statement.
svn-id: r52269
2010-08-22 03:50:42 +00:00
Arnaud Boutonné
5cd3ea41db GOB: Clean up of Fascination code
Move Fascination specific function to appropriate classes, plus some style modifications

svn-id: r52267
2010-08-21 18:16:04 +00:00
Martin Kiewitz
ee6f972247 SCI: improving delaying transitions
should hopefully make them run better on different platforms (some platforms dont update on every updateScreen call, so the transitions worked much faster there (e.g. wii) and some other platforms dont have that much power, so transitions were slower on those)

svn-id: r52266
2010-08-21 17:49:59 +00:00
Johannes Schickel
1a0d7c87d3 Hugo: Some formatting fixes.
svn-id: r52265
2010-08-21 17:27:48 +00:00
Martin Kiewitz
4742b4d728 SCI: now fading color 255 as well in sci1.1
looks better, although sierra didn't do that (examples: qfg3 demo/intro)

svn-id: r52264
2010-08-21 14:54:57 +00:00
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
Arnaud Boutonné
10066443b0 GOB: Add an initGame() for Fascination.
Added in order to suppress the speaker and the adlib flag. When the speaker flag is set, some sounds are skipped. The adlib flag will be required the day the MDY/TBR player will work: SB music for the moment

svn-id: r52247
2010-08-20 22:23:12 +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
Arnaud Boutonné
b6c929a02a Fascination - (SylvainTV) Implement window traces
svn-id: r52238
2010-08-20 20:31:05 +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
Florian Kagerer
f7314a1e56 SCUMM/TOWNS: fix minor bugs
svn-id: r52234
2010-08-20 17:37:06 +00:00
Florian Kagerer
b55a70acb8 KYRA/TOWNS: fix memory leak and some cleanup
svn-id: r52232
2010-08-20 17:04:32 +00:00
Arnaud Boutonné
9d5dada110 Oups - Fix compilation
svn-id: r52231
2010-08-20 16:40:13 +00:00
Arnaud Boutonné
e81eab6133 Hugo : Style - Add parenthesis around condition when conditional operator is used, as mentioned in Code Formatting Conventions
svn-id: r52230
2010-08-20 16:35:20 +00:00
Arnaud Boutonné
53bf93a884 Hugo : Add toggle sound, plus little clean up
svn-id: r52229
2010-08-20 16:25:48 +00:00
Arnaud Boutonné
48c9b4855b Hugo - Fix a problem in the F1 behavior
svn-id: r52228
2010-08-20 16:02:00 +00:00
Arnaud Boutonné
30f1312386 Hugo - Add handling of "turbo" key (F8)
- Modify the score line so it looks like the DOS one

svn-id: r52227
2010-08-20 15:55:56 +00:00
Arnaud Boutonné
0b4fef3aa7 Hugo - Move DOS hardcoded inventory strings to Hugo.dat
svn-id: r52226
2010-08-20 15:30:30 +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
Arnaud Boutonné
588472a8e6 Fascination - Add a delay before entering the lab. This was a script issue only present in the Amiga and Atari ST versions
svn-id: r52221
2010-08-20 07:59:23 +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
Arnaud Boutonné
67c1997bf4 Fascination - Fix protection screen (and several other glitches like in the very last screen behavior)
svn-id: r52217
2010-08-19 21:32:54 +00:00
Matthew Hoops
5bd2a99717 MOHAWK: Draw in the dome combination in the lab journal
svn-id: r52216
2010-08-19 18:04:11 +00:00
Matthew Hoops
ce9afcfab1 MOHAWK: Draw in the telescope combination in Catherine's journal
svn-id: r52215
2010-08-19 17:33:10 +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
Johannes Schickel
d8d8857276 KYRA: Remove superfluous music fade out on Kyra 3 startup.
svn-id: r52201
2010-08-19 02:39:07 +00:00
Johannes Schickel
2985d27e40 KYRA: Cleanup.
svn-id: r52200
2010-08-19 02:38:42 +00:00