Commit Graph

19837 Commits

Author SHA1 Message Date
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
David Turner
e8e6df9106 TOON: Fix for Memory Leak during Savegame Loading.
svn-id: r55401
2011-01-22 00:00:30 +00:00
David Turner
cb7eb365ae TOON: Fix Memory Leak when opening Inventory.
svn-id: r55400
2011-01-21 23:43:02 +00:00
Sylvain Dupont
f9422fb726 TOON: Bug #3153351 fixed with disappearing Drew
Bug #3153351: "TOON: Drew vanishes when fixing churnatron"
Made sure the scale is never zero.

svn-id: r55399
2011-01-21 23:24:17 +00:00
Sylvain Dupont
8cacde95e7 TOON: Always reset video playback to lowRes when loading new movie
svn-id: r55398
2011-01-21 22:56:22 +00:00
Lars Skovlund
9f1904d661 SCI: Fix robot palette activation
svn-id: r55397
2011-01-21 22:50:30 +00:00
Sylvain Dupont
5469aa1687 TOON: Fix double declaration warning
Thanks to clone2727 ;)

svn-id: r55396
2011-01-21 22:04:41 +00:00
Bastien Bouclet
f7f453a925 MOHAWK: Fix channelwood var getter 3, water flawing to temple elevator.
svn-id: r55395
2011-01-21 21:40:06 +00:00
Bastien Bouclet
efec8d8864 MOHAWK: Implement Channelwood generic lever opcodes, and bridge opcodes
svn-id: r55394
2011-01-21 21:24:24 +00:00
Sylvain Dupont
d5cb146f4c TOON: Fix all the glitches in smacker video playback
Handle manually 2x scaling when it is needed now.

svn-id: r55393
2011-01-21 20:26:25 +00:00
David Turner
bbb1379def PARALLACTION: Minor Whitespace fixup in walk.cpp
svn-id: r55392
2011-01-21 20:08:11 +00:00
Lars Skovlund
4818b2ae08 SCI: Add comment for GK1 workaround.
svn-id: r55391
2011-01-21 19:56:23 +00:00
Lars Skovlund
cd62c3ae42 SCI: Fix robot memory leak
svn-id: r55390
2011-01-21 19:52:52 +00:00
Alyssa Milburn
bb2ae25626 MOHAWK: Implement kCSTimeEventRemoveItemFromInventory.
svn-id: r55389
2011-01-21 19:45:58 +00:00
Alyssa Milburn
13eb46eb99 MOHAWK: Fix disabling inventory features in CSTime.
svn-id: r55388
2011-01-21 19:45:33 +00:00
Alyssa Milburn
0c797cf359 MOHAWK: Use the provided drag flags when dropping a feature.
svn-id: r55387
2011-01-21 19:45:08 +00:00