Commit Graph

771 Commits

Author SHA1 Message Date
Matthew Hoops
bc1c84e6c8 MOHAWK: Rename OldMohawkBitmap to LivingBooksBitmap_v1
'Old' is very ambiguous ;)
2011-03-22 21:13:54 -04:00
Matthew Hoops
e82e5e32ff MOHAWK: Begin to implement Riven opcode 38
Also, renamed it to better reflect its purpose
2011-03-22 20:33:38 -04:00
Matthew Hoops
1ca6781859 MOHAWK: Minor cursor call cleanup 2011-03-22 20:13:01 -04:00
Matthew Hoops
4d6c020cf4 MOHAWK: Remove the Riven 'restart' console command
This ancient console function has no purpose any longer and is half-broken anyway.
2011-03-22 20:04:46 -04:00
Matthew Hoops
a730d30f0c MOHAWK: Cleanup installer handling 2011-03-22 19:54:59 -04:00
Matthew Hoops
f40b74d496 MOHAWK: Handle launcher load fails more gracefully 2011-03-22 19:54:58 -04:00
Matthew Hoops
2053936959 MOHAWK: Ignore other 'time' variables when loading saves too 2011-03-22 14:27:32 -04:00
Matthew Hoops
d91c33ca26 MOHAWK: Implement xrwindowsetup 2011-03-22 14:11:24 -04:00
Matthew Hoops
273ba73d5f MOHAWK: Minor cleanup and consistency fixes 2011-03-21 18:33:48 -04:00
Matthew Hoops
6b80d25f6e MOHAWK: Implement the prison viewer 2011-03-21 18:28:02 -04:00
Matthew Hoops
cdc4c3bfa8 MOHAWK: Add a getDuration() function to the VideoManager 2011-03-21 18:27:49 -04:00
Matthew Hoops
40c496d730 MOHAWK: Implement the hardcoded Catherine idle videos 2011-03-21 13:21:47 -04:00
Matthew Hoops
cb948934ab MOHAWK: Add workaround for loading the bytramtime variable 2011-03-21 12:15:14 -04:00
Matthew Hoops
54ac6ade49 MOHAWK: Don't error out when the ReturnStackID cannot be converted 2011-03-21 12:15:14 -04:00
Matthew Hoops
96c7f0d22d MOHAWK: Implement the Ytram trap 2011-03-20 16:13:53 -04:00
D G Turner
63a710dfbc MOHAWK: Removed now unused Myst Variables Storage Class. 2011-03-19 23:25:05 +00:00
dhewg
3dd2e0c3f6 MOHAWK: Cleanup volume levels initialization 2011-03-19 16:04:54 +01:00
md5
be3ca52168 MOHAWK: Changed usage of PI to M_PI (normally defined in math.h) 2011-03-19 02:32:19 +02:00
Alyssa Milburn
6c2bf87dbd MOHAWK: Warn only when anims reference named sound files. 2011-03-16 16:27:20 +01:00
Alyssa Milburn
ba606e3693 MOHAWK: Don't warn about odd LB version record sizes. 2011-03-11 19:15:56 +01:00
Alyssa Milburn
5acac402af MOHAWK: Seek to first frame on kLBOpRewind.
This might need some further thought when implementing more complex
seeking for the later games, but works for now.
2011-03-11 19:15:56 +01:00
Alyssa Milburn
f814108d85 MOHAWK: Fix intro finish notify in LB poetry mode. 2011-03-11 14:19:57 +01:00
Matthew Hoops
6fd6291390 MOHAWK: Fix typo in the Riven missing executable dialog 2011-03-09 17:53:11 -05:00
Matthew Hoops
0d271324db MOHAWK: Remove outdated TODO 2011-03-09 14:11:28 -05:00
Matthew Hoops
8de370e847 MOHAWK: Correct start times for Riven credits 2011-03-09 14:10:47 -05:00
Matthew Hoops
8743838f47 MOHAWK: Add initial support for the Riven credits sequence
The credits start too early for a few of the end game sequences, but otherwise works well (minus missing fade support, but that is throughout the game anyway).
2011-03-09 13:59:30 -05:00
Alyssa Milburn
2a064a9725 MOHAWK: Rename variable to fix WinCE build.
Thanks to LordHoto for working out why this was failing.
2011-03-08 15:45:52 +01:00
Matthew Hoops
920bae62c0 MOHAWK: Fix Riven's cursor in the main menu
Actually call the showCursor() function now...
2011-03-07 17:28:19 -05:00
Matthew Hoops
e815102659 Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into clone2727-pe_exe 2011-03-07 17:07:59 -05:00
Matthew Hoops
212b58ad42 MOHAWK: Remove unused runLoadDialog() function 2011-03-07 16:28:28 -05:00
Matthew Hoops
9c7166ccc9 MOHAWK: Error message consistency 2011-03-07 11:02:50 -05:00
Matthew Hoops
10dad00a79 MOHAWK: Improve error handling when data isn't found 2011-03-07 11:00:41 -05:00
Matthew Hoops
ad7400524b MOHAWK: Make Riven use original executables for cursors
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
2011-03-07 01:10:01 -05:00
Bastien Bouclet
7d506ef853 MOHAWK: Implement Mechanical opcode 122, elevator go down timer 2011-03-05 18:33:22 +01:00
Matthew Hoops
c66233f83e GRAPHICS: Split the NE cursor code from the NEResources class
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-03-04 23:17:57 -05:00
D G Turner
f78f2dff49 MOHAWK: Correction for uninitialized read in Myst Cabin Door State. 2011-02-26 10:18:36 +00:00
Matthew Hoops
e053373dd3 COMMON: Add a key color field to NECursor 2011-02-22 20:11:50 -05:00
Matthew Hoops
a2a0b13de2 COMMON: Begin to merge some NE/PE code
The ID classes are now common to both. The files have been renamed to better illustrate their purpose.
2011-02-22 20:03:18 -05:00
Bastien Bouclet
285d33d9c2 MOHAWK: Implement Mechanical elevator top movie 2011-02-22 20:38:55 +01:00
Bastien Bouclet
e507115405 MOHAWK: Implement Mechanical elevator movies 2011-02-22 20:38:54 +01:00
Bastien Bouclet
bc39d327ac MOHAWK: Implement Mechanical elevator rotation 2011-02-22 20:38:54 +01:00
Alyssa Milburn
0fe3ecd6d7 MOHAWK: Don't display LiveText phrases too early. 2011-02-20 13:46:13 +01:00
Alyssa Milburn
42ec234a1f MOHAWK: Make LBLiveTextItem call done() when finished. 2011-02-20 13:46:12 +01:00
Alyssa Milburn
00f85fb580 MOHAWK: Fix kLBAutoSync notifies. 2011-02-20 13:45:34 +01:00
Alyssa Milburn
9fa6b48e1a MOHAWK: A zero matchFrom matches everything. 2011-02-20 13:45:33 +01:00
Alyssa Milburn
805acaa81e MOHAWK: Ignore out-of-bounds LB words. 2011-02-20 12:45:15 +01:00
Alyssa Milburn
417dd6314b MOHAWK: Fix LB palettes which don't start at 0.
(Thanks to LordHoto for pointing out this was crazy.)
2011-02-20 12:36:21 +01:00
strangerke
98cd1b6e0c MOHAWK: Add detection strings for Harry and the Haunted House 2011-02-20 11:54:45 +01:00
D G Turner
f8df58f957 MOHAWK: Fix Un-initialized Read In Myst Library Tower Rotation Control. 2011-02-20 04:47:54 +00:00
Alyssa Milburn
92fac11c5f MOHAWK: Update LBPaletteItem for RGB palettes. 2011-02-19 23:12:53 +01:00
Johannes Schickel
accab0e00f MOHAWK: Change bitmaps to use RGB palettes.
Thanks to clone2727 for reviewing this patch.
2011-02-19 23:01:40 +01:00
Johannes Schickel
a02454644a Merge branch 'master' into osystem-palette
Conflicts:
	backends/platform/wii/osystem_gfx.cpp
2011-02-15 23:42:50 +01:00
Bastien Bouclet
369db4fdfd MOHAWK: Shorten Myst stack classes names 2011-02-15 21:43:38 +01:00
Bastien Bouclet
fc605427a8 MOHAWK: Put togeter the Myst stack classes in a namespace 2011-02-15 21:43:37 +01:00
Bastien Bouclet
c6e86c672b MOHAWK: Implement Mechanical opcode 201, staircase init 2011-02-15 21:43:37 +01:00
Bastien Bouclet
30f1eead19 MOHAWK: Add a workaround for a missing image when going up the stairs in Mechanical. 2011-02-15 21:43:36 +01:00
Bastien Bouclet
7e52ae2f5e MOHAWK: Implement Mechanical opcodes 203 and 104, snake box 2011-02-15 21:43:36 +01:00
Bastien Bouclet
a76badf307 MOHAWK: Implement Mechanical opcode 100 2011-02-15 21:43:35 +01:00
Bastien Bouclet
2d094af90c MOHAWK: Implement Mechanical opcode 200 2011-02-15 21:43:35 +01:00
Alyssa Milburn
489a4598a1 MOHAWK: Detect the French version of Rugrats.
Thanks to Strangerke.
2011-02-15 12:10:58 +01:00
Johannes Schickel
3f8e860a23 MOHAWK: Adapt to setPalette RGBA->RGB change.
Currently in some places the RGBA palettes are converted to RGB before they are
set up. There might be a better way, but this should work fine for now.
2011-02-14 17:08:32 +01:00
Matthew Hoops
e0430e6e9e MOHAWK: Correct the variable used for the lab book in Riven 2011-02-14 10:34:18 -05:00
Alyssa Milburn
898f7d1244 MOHAWK: Center InfoDialog text.
This is the same as the fix for scumm in 0e32d533.
2011-02-14 16:20:11 +01:00
Matthew Hoops
2087e2325b MOHAWK: Fix comments for the LB sampler v2 2011-02-13 16:14:07 -05:00
Matthew Hoops
d096b78aca MOHAWK: Add support for Mac LB v2 games 2011-02-13 16:14:07 -05:00
Bastien Bouclet
3cc86aedac MOHAWK: Remove Myst's var store from the build since it is not used
anymore.

Keep the files are to be kept around for reference until Mechanical is
finished.
2011-02-13 13:27:01 +01:00
Bastien Bouclet
e5783d9c27 MOHAWK: Implement opcode 105, Mechanical fortress staircase movie 2011-02-13 13:22:50 +01:00
Bastien Bouclet
93ed359669 MOHAWK: Implement Mechanical's crystals 2011-02-13 13:16:03 +01:00
Bastien Bouclet
c68bee08b2 MOHAWK: Add var getters / togglers to Mechanical, pages can now be
taken
2011-02-13 12:24:11 +01:00
Bastien Bouclet
30c33c6e6b MOHAWK: Add Achenar's crate state to Mechanical state 2011-02-13 12:15:37 +01:00
eriktorbjorn
87e832809b JANITORIAL: Remove unnecessary semicolon
I'm glad there's always a supply of those, because they make for
great test commits.
2011-02-12 22:16:53 +01:00
Bastien Bouclet
337044e11f MOHAWK: Implement Mechanical opcode 125 2011-02-12 20:19:00 +01:00
Bastien Bouclet
d11b57e609 MOHAWK: Implement Mechanical var getters 4 and 15 2011-02-12 20:12:32 +01:00
Bastien Bouclet
4ec51bd843 MOHAWK: Implement Stoneship's last opcodes, tunnel alarm
svn-id: r55891
2011-02-12 11:03:27 +00:00
Bastien Bouclet
ece050e26c MOHAWK: Complete Myst opcode 209, fixing the bookcase door lintel updates
svn-id: r55861
2011-02-09 20:52:46 +00:00
Bastien Bouclet
d0a01c1689 MOHAWK: Implement Stoneship battery depletion
svn-id: r55860
2011-02-09 20:07:55 +00:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
d7370f11e4 VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
svn-id: r55844
2011-02-09 00:14:06 +00:00
David Turner
656afd6daa MOHAWK: Add detection entry for "Dr Seuss' ABC" Macintosh version.
svn-id: r55829
2011-02-08 17:32:40 +00:00
Matthew Hoops
464f49d705 MOHAWK: Fix poetry mode for v2 games
svn-id: r55822
2011-02-08 04:24:25 +00:00
Matthew Hoops
3c53b1c020 MOHAWK: Add detection for the v2 lbsampler
svn-id: r55821
2011-02-08 04:23:29 +00:00
Max Horn
7bac92388f MOHAWK: Fix MohawkEngine_Myst::runLoadDialog
This incorrectly invoked (indirectly) the runModal() method of a
SaveLoadChooser, but for that one should use runModalWithPluginAndTarget
instead.

svn-id: r55816
2011-02-07 22:58:42 +00:00
Max Horn
41121be4d6 GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).

svn-id: r55815
2011-02-07 22:58:22 +00:00
Max Horn
85aabef6fe VIDEO: Replace Video::VideoTimestamp with Audio::Timestamp
svn-id: r55814
2011-02-07 22:57:35 +00:00
Max Horn
357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
David Turner
8afafd89eb MOHAWK: Fix GCC-3 cast warning.
Seen with a number of buildbot chains.

svn-id: r55718
2011-02-02 14:36:09 +00:00
Alyssa Milburn
22f87250e9 MOHAWK: Handle a few more LB notify opcodes.
svn-id: r55713
2011-02-01 22:00:57 +00:00
Alyssa Milburn
40a9b710a5 MOHAWK: Handle some LB script entry params.
svn-id: r55712
2011-02-01 22:00:37 +00:00
Alyssa Milburn
ee200c946d MOHAWK: Add LB poetry mode logic to updatePage.
svn-id: r55709
2011-02-01 18:09:01 +00:00
Alyssa Milburn
4ea38d3f33 MOHAWK: Remove broken LB anim items stopSound calls.
svn-id: r55707
2011-02-01 13:39:24 +00:00
Alyssa Milburn
4d094feb3a MOHAWK: Allow mode changes from LB's debug console.
svn-id: r55706
2011-02-01 12:57:34 +00:00
Matthew Hoops
ac4bf4ffb8 MOHAWK: Add detection for the LBSampler v1
svn-id: r55704
2011-02-01 03:05:18 +00:00
Matthew Hoops
6ae0198ae8 MOHAWK: Add detection for the Mac LBSampler v3
svn-id: r55703
2011-02-01 03:00:42 +00:00
Matthew Hoops
e47ac9f937 MOHAWK: Add detection for Arthur's Computer Adventure
svn-id: r55702
2011-02-01 02:54:51 +00:00
Matthew Hoops
403a33b11c MOHAWK: Add detection for The Berenstain Bears Get in a Fight
svn-id: r55701
2011-02-01 02:47:24 +00:00
Alyssa Milburn
e2d3521d7d MOHAWK: LB detection/path updates.
Mark the v2.9x games as v3, mark Rugrats as v4, add detection for
CarmenTQ and add its install directory to the path.

svn-id: r55698
2011-01-31 23:10:18 +00:00
Alyssa Milburn
309cb47572 MOHAWK: LB anim sound improvements.
The parent animation now keeps track of sounds, and animations don't
emit a done event while their sounds are still playing.

svn-id: r55688
2011-01-31 18:03:27 +00:00
Alyssa Milburn
c7808b9091 MOHAWK: Handle kLBAnimOpSetTempoDiv better.
svn-id: r55668
2011-01-30 22:42:37 +00:00
Bastien Bouclet
77d2110101 MOHAWK: Implement Stoneship telescope
svn-id: r55665
2011-01-30 20:37:59 +00:00
Bastien Bouclet
0b69b6a842 MOHAWK: Myst, pass the playback direction from the calling script to the movie player.
svn-id: r55657
2011-01-30 13:54:39 +00:00
Bastien Bouclet
b43fae5c18 MOHAWK: Myst, display a warning when trying to play a movie backwards.
svn-id: r55656
2011-01-30 13:44:01 +00:00
Bastien Bouclet
a95f69c502 MOHAWK: Implement Stoneship cloud orbs
svn-id: r55652
2011-01-30 12:33:39 +00:00
Bastien Bouclet
e2b3ac9f28 MOHAWK: More Stoneship progress, hologram viewer and drawers
svn-id: r55622
2011-01-29 18:45:45 +00:00
Bastien Bouclet
6ed7f48442 MOHAWK: Implement more Stoneship puzzles, up to linking back to Myst
svn-id: r55612
2011-01-29 10:49:15 +00:00
David Turner
e395aeff05 MOHAWK: Removed direct OSystem Quit calls from Myst Mohawk Interpreter.
This avoids the same issue that caused leakage in other engines.

svn-id: r55584
2011-01-28 08:37:27 +00:00
Bastien Bouclet
7baf4d2ed3 MOHAWK: Implement Stoneship chest puzzle
svn-id: r55577
2011-01-27 21:13:34 +00:00
Bastien Bouclet
67c057dc15 MOHAWK: Allow videos to be paused individually
svn-id: r55576
2011-01-27 21:12:34 +00:00
Matthew Hoops
57dc8f6fc2 MOHAWK: Add detection for the LB sampler
svn-id: r55570
2011-01-27 19:20:27 +00:00
Matthew Hoops
214d8f1e3e MOHAWK: Introduce a new CursorManager for LB v2+ (they do not use exe cursors)
svn-id: r55554
2011-01-26 19:13:53 +00:00
Alyssa Milburn
b13d6026c7 MOHAWK: Detect "The Cat in the Hat".
svn-id: r55543
2011-01-26 18:40:28 +00:00
Alyssa Milburn
b79743b221 MOHAWK: Read kLBEventNotified data after commands.
This fixes some pages in Maggie's Farmyard Adventure, at least.
Thanks to clone2727 for testing this.

svn-id: r55538
2011-01-25 17:35:53 +00:00
Matthew Hoops
45a4dfa44d MOHAWK: Improve support for installer archives (partial directory support)
svn-id: r55506
2011-01-24 21:12:44 +00:00
Matthew Hoops
5564926e06 MOHAWK: Fix Gehn's music player when clicking on it the first time (thanks, digitall)
svn-id: r55495
2011-01-24 06:30:39 +00:00
Matthew Hoops
e70efa2fad MOHAWK: Properly initialize the bspit-gspit magcar variables (thanks, digitall)
svn-id: r55494
2011-01-24 05:50:49 +00:00
Matthew Hoops
d6a4ff3639 MOHAWK: Recheck the current hotspot if a script has changed the enabled hotspots in Riven
svn-id: r55493
2011-01-24 02:43:07 +00:00
David Turner
86513a19aa MOHAWK: Fixed possible use of uninitialized variables in Myst Selenitic Age code.
svn-id: r55486
2011-01-23 22:52:15 +00:00
Matthew Hoops
c81be09bcd MOHAWK: Fix the Riven demo intro sequence (a regression from r55188)
svn-id: r55484
2011-01-23 22:08:14 +00:00
Eugene Sandulenko
caa6684752 VIDEO: Move video classes to Video:: namespace
svn-id: r55479
2011-01-23 19:08:09 +00:00
Eugene Sandulenko
806ccf5d25 GRAPHICS: Move graphics/video/ to video/. Step 1/2
svn-id: r55473
2011-01-23 17:14:43 +00:00
Alyssa Milburn
78af2212cf MOHAWK: Detect CSTime demo (thanks to Strangerke for finding it).
svn-id: r55470
2011-01-23 16:15:26 +00:00
Matthew Hoops
191d85f174 MOHAWK: Implement Riven's stopSound() and fadeAmbientSounds() opcodes
svn-id: r55460
2011-01-23 07:02:49 +00:00
Matthew Hoops
27d9ee3de1 MOHAWK: Do not stop ambient sounds when finding no matching Riven SLST index
This fixes the ambient sounds in the Rebel Tunnel puzzle and Temple Island maglev among other places.

svn-id: r55459
2011-01-23 06:54:35 +00:00
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
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
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
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
Matthew Hoops
755558de04 MOHAWK: Update the ADPC chunk code
svn-id: r55431
2011-01-22 16:16:30 +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
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
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
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
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
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
Alyssa Milburn
398c95a331 MOHAWK: Remove non-state uses of ~0 from CSTime.
svn-id: r55373
2011-01-21 12:24:18 +00:00
Alyssa Milburn
f5b4f96404 MOHAWK: De-hardcode CSTime font paths.
The original Broderbund release had the installer data in a different
directory.

svn-id: r55372
2011-01-21 11:53:44 +00:00
Alyssa Milburn
94ac240761 MOHAWK: Fix two CSTime cursor shape/state checks.
(Thanks to [md5]/thebluegr.)

svn-id: r55371
2011-01-21 10:59:49 +00:00
Matthew Hoops
7ed456f268 MOHAWK: Add support for installer files from Riven and other Broderbund games
svn-id: r55368
2011-01-21 01:58:53 +00:00
Filippos Karapetis
572dfd2a23 MOHAWK: Added a FIXME and fixed a logic bug
svn-id: r55366
2011-01-21 00:29:55 +00:00
Alyssa Milburn
b10f072c9e MOHAWK: Add CSTime engine.
svn-id: r55362
2011-01-20 21:35:00 +00:00
Alyssa Milburn
1e2ac8bc13 MOHAWK: Add shared view code.
The design/code here is still very much in flux, because it's still
unclear exactly how the code is used by some games.

svn-id: r55361
2011-01-20 21:34:19 +00:00
Alyssa Milburn
d68c8547c5 MOHAWK: Don't use a fixed-size array for cue lists.
svn-id: r55335
2011-01-19 22:41:12 +00:00
Alyssa Milburn
a3e9197805 MOHAWK: Add getSubImageSize function.
svn-id: r55334
2011-01-19 20:53:28 +00:00
Matthew Hoops
16ba5717f4 MOHAWK: Properly initialize Myst's background SndHandle
svn-id: r55331
2011-01-19 16:55:47 +00:00
Matthew Hoops
918a21cd7b MOHAWK: Use a separate SndHandle for Myst's background sound
svn-id: r55330
2011-01-19 16:52:47 +00:00
Alyssa Milburn
6b123c0d11 MOHAWK: Fix comment in resource.h.
svn-id: r55329
2011-01-19 16:36:50 +00:00
Alyssa Milburn
017ab4c503 MOHAWK: Add some supporting code for cue lists.
svn-id: r55328
2011-01-19 16:36:34 +00:00
Matthew Hoops
e2d9a34bee MOHAWK: Cleanup some Riven code
svn-id: r55327
2011-01-19 15:22:39 +00:00
Matthew Hoops
2aca6d3838 MOHAWK: Rename some Myst-specific sound functions; cleanup
svn-id: r55314
2011-01-18 21:10:58 +00:00
Matthew Hoops
0761ab7b3a MOHAWK: Rename some VideoManager functions so we have some unified naming between versions
svn-id: r55312
2011-01-18 20:30:16 +00:00
Bastien Bouclet
bf06c49544 MOHAWK: Implement channelwood pipe valves
svn-id: r55311
2011-01-18 19:32:36 +00:00
Bastien Bouclet
f343bb9185 MOHAWK: Add a workaround to prevent a crash when pulling the gears puzzle reset lever in Myst ME.
CL1WLFCH.MOV is not the same for Myst ME and Myst win31. The proper fix will need backwards playing for QT movies.

svn-id: r55310
2011-01-18 19:30:32 +00:00
Matthew Hoops
da1669c666 MOHAWK: Add a sanity check to waitUntilMovieEnds()
svn-id: r55309
2011-01-18 19:22:48 +00:00
Bastien Bouclet
58c9e219b6 MOHAWK: Add gulls and butterflies to Myst
svn-id: r55308
2011-01-18 19:17:24 +00:00
Matthew Hoops
c35fa646ce MOHAWK: Move Myst's o_quit opcode to the base class
svn-id: r55304
2011-01-18 17:42:34 +00:00
Matthew Hoops
5cd4bd3ce7 MOHAWK: Cleanup wrapMovieFilename()
svn-id: r55303
2011-01-18 17:08:17 +00:00
Matthew Hoops
b956f102d9 MOHAWK: Fix the gear puzzle in Myst ME Mac
svn-id: r55302
2011-01-18 17:03:21 +00:00
Matthew Hoops
503fdb6147 GRAPHICS: Add a getSurface() function to JPEG to automatically convert to RGB
svn-id: r55301
2011-01-18 16:18:10 +00:00
Matthew Hoops
5da1718beb MOHAWK: Implement the whark response to the red light
svn-id: r55300
2011-01-18 14:51:03 +00:00
Matthew Hoops
245b7337f8 MOHAWK: Implement the village part of the left viewer on gspit
svn-id: r55299
2011-01-18 14:26:26 +00:00
Matthew Hoops
2a808be804 MOHAWK: Implement xgrviewer so the right viewer on gspit is usable
svn-id: r55282
2011-01-18 00:42:16 +00:00
Matthew Hoops
3fa01f4030 MOHAWK: Implement the Riven pin controls
svn-id: r55278
2011-01-17 16:10:48 +00:00
Bastien Bouclet
09c35e99b8 MOHAWK: Implement Myst's clock tower gears puzzle
svn-id: r55253
2011-01-15 19:11:53 +00:00
Alyssa Milburn
295550b26c MOHAWK: Get rid of the DETECT_BRODERBUND_TITLES define.
svn-id: r55252
2011-01-15 18:39:29 +00:00
Bastien Bouclet
aa38ad519c MOHAWK: Implement Atrus videos in D'ni
svn-id: r55245
2011-01-14 21:42:33 +00:00
Bastien Bouclet
ca249f5c65 MOHAWK: Implement video looping for Myst's green book
svn-id: r55244
2011-01-14 20:08:27 +00:00
Matthew Hoops
0eeacfe43e MOHAWK: Simplify some code
svn-id: r55242
2011-01-14 16:39:34 +00:00
Alyssa Milburn
311c643c1e MOHAWK: Don't delete the wrong video.
svn-id: r55241
2011-01-14 16:07:46 +00:00
Matthew Hoops
a191190cf2 MOHAWK: Fix the beetle animations in Riven
svn-id: r55240
2011-01-14 15:40:46 +00:00
Bastien Bouclet
75a2c36ecd MOHAWK: Implement video seeking Myst's rocket link book
svn-id: r55230
2011-01-13 19:30:00 +00:00
Alyssa Milburn
30f8365502 MOHAWK: Add a basic LBCode implementation.
This is enough for the Rugrats Adventure Game to play the introduction
videos, but is still in a very preliminary state.

svn-id: r55215
2011-01-12 19:11:27 +00:00
Matthew Hoops
72b3d1f546 MOHAWK: Cleanup Mohawk wave parsing
svn-id: r55212
2011-01-11 21:48:49 +00:00
Matthew Hoops
55c0658c8d MOHAWK: Set the system palette on 8bpp videos when in 8bpp mode
svn-id: r55210
2011-01-11 20:35:30 +00:00
Bastien Bouclet
f3f3b3bd62 MOHAWK: Play the right parts of Myst's tower clock bridge movie
svn-id: r55209
2011-01-11 20:00:57 +00:00
Bastien Bouclet
b1de27ed8f MOHAWK: Implement Myst imager videos seeking / looping
svn-id: r55208
2011-01-11 19:52:58 +00:00
Matthew Hoops
f6b7979277 MOHAWK: Implement Riven's whark number puzzle
svn-id: r55207
2011-01-11 19:44:55 +00:00
Matthew Hoops
d03ff6e036 MOHAWK: Allow for Riven to update specific portions of the screen
svn-id: r55206
2011-01-11 19:23:24 +00:00
Matthew Hoops
1f043e15c7 MOHAWK: Play the telescope moving video (now that seeking is available :))
svn-id: r55205
2011-01-11 17:27:47 +00:00
Matthew Hoops
ee081dc476 MOHAWK: Adapt the VideoManager to allow for seeking; cleanup
svn-id: r55204
2011-01-11 17:27:43 +00:00
Matthew Hoops
1abb955a97 MOHAWK: Fix the Myst ME Mac intro and cleanup
svn-id: r55196
2011-01-10 14:59:25 +00:00
Alyssa Milburn
2b7acd6919 MOHAWK: Always restart anims on kLBOpTogglePlay.
This may not be the right place for this, but for now it fixes several bugs
where animations didn't play after they'd already been played once.

svn-id: r55191
2011-01-09 18:26:51 +00:00
Matthew Hoops
cd6d818ca3 MOHAWK: Cleanup named video handling
svn-id: r55188
2011-01-09 17:26:22 +00:00