Commit Graph

19852 Commits

Author SHA1 Message Date
Matthew Hoops
52c0d678ce MOHAWK: Enable the Riven easter egg shortcut
svn-id: r55458
2011-01-23 06:02:46 +00:00
Matthew Hoops
fd3188a6fc MOHAWK: Cleanup Riven opcode 12 (now known as stopSound())
svn-id: r55457
2011-01-23 05:12:50 +00:00
Arnaud Boutonné
caab214260 HUGO: Fix on more GCC warning
svn-id: r55454
2011-01-23 00:29:08 +00:00
Arnaud Boutonné
7f4e1bde1e HUGO: Fix several warnings
svn-id: r55453
2011-01-23 00:19:40 +00:00
Arnaud Boutonné
93409aa381 HUGO: Fix GCC compilation
svn-id: r55452
2011-01-23 00:08:47 +00:00
Arnaud Boutonné
3f6496d5b5 HUGO: Cleanup
Suppress almost all defines, rename constants

svn-id: r55451
2011-01-23 00:05:52 +00:00
Lars Skovlund
bcf62fa8b9 SCI/Robot:Don't ifdef out ::playAudio, since it is only used for debugging
svn-id: r55449
2011-01-22 21:58:33 +00:00
Alyssa Milburn
7e46c479fc MOHAWK: Add hardcoded help code for case 1.
svn-id: r55448
2011-01-22 21:23:06 +00:00
Alyssa Milburn
49c3cab2e8 MOHAWK: Implement CSTime help system.
svn-id: r55447
2011-01-22 21:22:49 +00:00
Alyssa Milburn
bbfbb7e74a MOHAWK: Minor CSTimeChar bugfixes.
svn-id: r55446
2011-01-22 21:22:29 +00:00
Alyssa Milburn
bfe0307300 MOHAWK: Implement kCSTimeEventCharSomeNIS55.
svn-id: r55445
2011-01-22 21:22:12 +00:00
Sven Hesse
00cabdad11 GOB: Only let one video with sound play at a time
svn-id: r55444
2011-01-22 19:37:25 +00:00
Sven Hesse
0722df9472 GOB: Hacking in multiple live videos
Needed for Bambou. The narrator voice and the "Do you want to quit?"
voices are live videos that should continue while the live video
buttons are playing.

svn-id: r55443
2011-01-22 19:28:23 +00:00
Filippos Karapetis
66a715ea99 MOHAWK: Silence a warning
svn-id: r55442
2011-01-22 18:09:06 +00:00
Alyssa Milburn
a9c840c3d5 MOHAWK: More CSTime event stubs.
Case 1 is now playable up to the 'next case' event.

svn-id: r55441
2011-01-22 17:34:01 +00:00
Alyssa Milburn
de4b564532 MOHAWK: Add/use visit count for scenes.
svn-id: r55440
2011-01-22 17:33:44 +00:00
Bastien Bouclet
caccceb02b MOHAWK: Dragging resources / levers code cleanup
svn-id: r55439
2011-01-22 17:26:09 +00:00
Sven Hesse
5b4183fa27 GOB: Or actually, *this* should be the correct loop flag handling
svn-id: r55438
2011-01-22 17:19:58 +00:00
Sven Hesse
3f162962aa GOB: Oops, -10 = close video, < -10 = looping
svn-id: r55437
2011-01-22 16:56:02 +00:00
Sven Hesse
7fee6f9740 GOB: Proper live video looping
Fixes the Yes/No robots in Bambou

svn-id: r55436
2011-01-22 16:48:51 +00:00
Bastien Bouclet
aeff7cf12c MOHAWK: Implement Channelwood's remaining opcodes
svn-id: r55434
2011-01-22 16:44:00 +00:00
Matthew Hoops
c1e68ac94d MOHAWK: Fix meaning of the sound loop variable
svn-id: r55433
2011-01-22 16:35:25 +00:00
Sven Hesse
cbbafc962d GOB: Extend the good-measure wait to all videos with sound
Fixes a glitch in Bambou, where the intro movie is cut off to
soon.

svn-id: r55432
2011-01-22 16:29:54 +00:00
Matthew Hoops
755558de04 MOHAWK: Update the ADPC chunk code
svn-id: r55431
2011-01-22 16:16:30 +00:00
Sven Hesse
a8e6fa3346 GOB: Don't blit dirty rectangles while playing a live video
This fixes the inventory list flickering in live videos :)

svn-id: r55430
2011-01-22 15:39:52 +00:00
Sven Hesse
2bb8cf25df GOB: Force live videos onto the backSurface
Fixes some inventory list uglyness in live videos.
It still flickers when mousing over it though, and keeps popping
when mousing over the register during the hotel scene

svn-id: r55429
2011-01-22 15:06:12 +00:00
Filippos Karapetis
7dd28c024a SCI: Moved the robot audio playing test code inside GfxRobot::playAudio()
svn-id: r55428
2011-01-22 14:58:17 +00:00
Lars Skovlund
8a44af63af SCI/robot: Correct detection of null preload
svn-id: r55427
2011-01-22 14:32:39 +00:00
Sven Hesse
40a4b09246 GOB: Fix the save list width
The length of the slot 0 string determines the list's width

svn-id: r55426
2011-01-22 14:23:03 +00:00
Sylvain Dupont
185a0b9070 GOB: Fixes the return value of dummy shooter in Last Dynasty
Mission 34 shooter must return 1 in order to proceed to the point & click part of the game.

svn-id: r55425
2011-01-22 13:19:16 +00:00
Lars Skovlund
dc27a22026 SCI: Added stub for playing robot audio from the console
svn-id: r55424
2011-01-22 13:12:01 +00:00
Bastien Bouclet
f48cc4119c MOHAWK: Implement Channelwood opcodes 118 and 203: Sirius's drawer
svn-id: r55423
2011-01-22 13:03:54 +00:00
Filippos Karapetis
89087b18c7 SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, references of the SciEngine class to itself via g_sci have been removed
svn-id: r55422
2011-01-22 13:01:10 +00:00
Sven Hesse
7c14cf2b1b GOB: Fix some of the live-video glitchyness
svn-id: r55421
2011-01-22 12:26:31 +00:00
Bastien Bouclet
477ae820fb MOHAWK: Implement Channelwood opcodes 106 and 109: Stair door switch
svn-id: r55420
2011-01-22 12:15:42 +00:00
Alyssa Milburn
1d82720447 MOHAWK: Hide mummy at startup in CSTime case 1.
svn-id: r55419
2011-01-22 12:12:07 +00:00
Sven Hesse
6e254c4f01 GOB: Actually, startFrame == -2 seems to be the only live video flag
svn-id: r55418
2011-01-22 11:39:03 +00:00
Alyssa Milburn
86b90fe8a6 MOHAWK: Add some debug commands for CSTime.
svn-id: r55417
2011-01-22 11:37:37 +00:00
Alyssa Milburn
e23fef92dd MOHAWK: Finish hard-coded logic for CSTime case 1.
svn-id: r55416
2011-01-22 11:37:19 +00:00
Alyssa Milburn
db8f0fdce3 MOHAWK: Implement a couple more CSTime events.
svn-id: r55415
2011-01-22 11:37:01 +00:00
Alyssa Milburn
5f87a5b9a8 MOHAWK: Add some proper group removal logic to CSTime.
svn-id: r55414
2011-01-22 11:36:43 +00:00
Bastien Bouclet
2fabd90937 MOHAWK: Implement Channelwood opcodes 108, 127, 128: elevators
svn-id: r55413
2011-01-22 10:09:01 +00:00
Bastien Bouclet
552648c225 MOHAWK: Complete Channelwood opcode 101, pipe bridge
svn-id: r55412
2011-01-22 09:37:56 +00:00
Sven Hesse
5660b42a89 GOB: Another (?) non-blocking video flag
This fixes the intro needing an extra ESC.
Interestingly, the intro movie is actually interactive. You can
influence the paths Max takes by pressed the arrow keys at the
right times.

svn-id: r55411
2011-01-22 09:31:02 +00:00
David Turner
243fe811ef TOON: Fix Further Memory Leaks in Savegame Loading.
svn-id: r55408
2011-01-22 05:21:51 +00:00
Sven Hesse
d99ca6e58c GOB: Don't mess with the break key in Urban Runner
To be able ESC videos, you need to switch on ESC in the settings
in the right part of the menu, because the scripts needs to
trigger the drawing of the last frame of the ESC'd video.
Otherwise, the graphics e.g. stops mid-frame during a turn.

svn-id: r55407
2011-01-22 04:39:39 +00:00
Sven Hesse
e7006f2cf1 GOB: Urban: Save an empty sprite if necessary
svn-id: r55406
2011-01-22 04:14:33 +00:00
Filippos Karapetis
8928dc3cf5 SCI: Changed the expensive and inaccurate floating-point divisions to integer divisions. Fixes asserting of 90.rbt in Phantasmagoria (the game's logo video)
svn-id: r55405
2011-01-22 03:28:14 +00:00
Filippos Karapetis
84a04d6876 SCI: Code formatting
svn-id: r55404
2011-01-22 02:51:39 +00:00
David Turner
39de104c5c TOON: Fix Uninitialized Memory Read During Cursor Animation on Load.
This was mainly due to _mouseX, which along with the associated variables was not defined until the first mouse event. This was detected by Valgrind.

svn-id: r55402
2011-01-22 01:07:14 +00:00