43484 Commits

Author SHA1 Message Date
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
Sven Hesse
95e557c564 VIDEO: Seek a video seek glitch
Observable when ESCing a 16bit or 24bit video, for example
the fuses in Urban Runner's Labyrinth screen.

svn-id: r55410
2011-01-22 08:00:57 +00:00
Sven Hesse
e1e299d0b8 VIDEO: Correctly correct the _blitMode 1/2 coordinate differences
This fixes the figure lights position in the Secret Room, while
still leaving the flow rate gauge position in the Labyrinth correct

svn-id: r55409
2011-01-22 07:20:16 +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
Matthew Hoops
75b232c67d COMMON: Update documentation of the MacResManager
svn-id: r55403
2011-01-22 02:31:30 +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
Lars Skovlund
74f8462a7b SCI: Fix GK1 breaking into the debugger when watching the intro
svn-id: r55386
2011-01-21 19:33:36 +00:00
David Turner
a7df59a0ac TOUCHE: Fixed Uninitialised Read in first call to ToucheEngine::res_loadBackdrop().
svn-id: r55385
2011-01-21 19:25:24 +00:00
Sven Hesse
af7c96cff1 GOB: Urban: Fix saving/loading in the Secret Room screen
For some reason, the original engine saves the console sprite to
disk instead of reconstructing it after loading the actual save...

Invalidates the Urban Runner saves again. Should be the last time,
though.

svn-id: r55384
2011-01-21 19:15:43 +00:00
Sven Hesse
9e338a170f GOB: Add support for saving true color sprites
Not exactly the "nice", since up-depthing the sprite data to 24bit
happens after it has been adapted to the current system's color
format, so we're going to gradually lose precision when the save
gets passed around different systems. Still, this is the least
headachy solution, I guess...

svn-id: r55383
2011-01-21 19:15:10 +00:00
Lars Skovlund
0e33dd9164 SCI: Partial robot support, currently disabled since it does not run
asynchronously as it should.

svn-id: r55382
2011-01-21 18:53:35 +00:00
Matthew Hoops
e55ac4f419 SOUND: Update which engines use what decoder
svn-id: r55381
2011-01-21 14:37:46 +00:00
Matthew Hoops
fc8f135a61 COMMON: Document which engines use DCL
svn-id: r55380
2011-01-21 14:28:43 +00:00
Alyssa Milburn
c31e483a6f MOHAWK: Add casts to remaining uses of ~0.
This silences some warnings for now.

svn-id: r55379
2011-01-21 14:20:48 +00:00
Alyssa Milburn
58c7e66800 MOHAWK: Implement CSTime big note display.
svn-id: r55378
2011-01-21 14:17:49 +00:00
Sven Hesse
678b5f361a GOB: Fix copypasta mistake
svn-id: r55377
2011-01-21 14:15:00 +00:00