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
Bastien Bouclet
81d29aa303
MOHAWK: Add a stub for Myst var getter 308
...
svn-id: r55187
2011-01-09 16:13:31 +00:00
Bastien Bouclet
9058a83ad9
MOHAWK: Myst zip mode improvements
...
- Save visited zip destinations in the game state
- Only allow zipping to visited zip destinations
- Save zip mode setting in the game state
svn-id: r55185
2011-01-09 15:31:08 +00:00
Bastien Bouclet
9265c85c49
MOHAWK: Implement minimal D'ni stack. Lacking movie control.
...
svn-id: r55180
2011-01-09 10:14:40 +00:00
Bastien Bouclet
d202e4c9dc
MOHAWK: Change Myst credits stack not to use the var store
...
svn-id: r55170
2011-01-08 17:40:29 +00:00
Alyssa Milburn
0d1955700e
MOHAWK: Set needsRedraw when changing LB palettes.
...
svn-id: r55169
2011-01-08 17:27:02 +00:00
Bastien Bouclet
1a18e99e69
MOHAWK: Changed Myst intro stack to behave like the original. ie fully skippable intro.
...
svn-id: r55164
2011-01-08 12:34:41 +00:00
Bastien Bouclet
b55e593cdd
MOHAWK: Merge Myst intro opcode 100 with generic opcode 40 into engine method changeStack
...
svn-id: r55152
2011-01-07 19:26:31 +00:00
Alyssa Milburn
e59eb31ba9
MOHAWK: Add stopMidi() function.
...
svn-id: r55113
2011-01-03 22:53:34 +00:00
Alyssa Milburn
4fe73d47fd
MOHAWK: Add game type/detection for CSTime.
...
svn-id: r55112
2011-01-03 22:53:12 +00:00
Alyssa Milburn
2c8b4161ff
MOHAWK: Add/update some resource FourCC entries.
...
svn-id: r55111
2011-01-03 22:52:50 +00:00
Matthew Hoops
9074a27211
MOHAWK: Use integer math where floating point isn't required
...
svn-id: r55110
2011-01-03 20:44:27 +00:00
Matthew Hoops
8a77f49a59
MOHAWK: Cleanup some spacing, formatting, and naming
...
svn-id: r55109
2011-01-03 20:40:07 +00:00
Matthew Hoops
def3c562cb
MOHAWK: Silence a gcc warning
...
svn-id: r55106
2011-01-03 18:45:04 +00:00
Bastien Bouclet
2c95f1f8e1
MOHAWK: Implement Myst opcodes 133, Stellar observatory go button
...
svn-id: r55104
2011-01-03 17:37:52 +00:00
Bastien Bouclet
83f0a28623
MOHAWK: Implement Myst opcodes 134 to 137, and 170 to 177, Stellar observatory sliders
...
svn-id: r55096
2011-01-02 17:06:43 +00:00
Alyssa Milburn
940e4f936e
MOHAWK: Don't leak the MIDI data.
...
svn-id: r55094
2011-01-02 14:57:20 +00:00
Alyssa Milburn
1f579add9f
MOHAWK: Don't delete the MIDI driver before the parser.
...
The parser was trying to call into the deleted driver.
svn-id: r55093
2011-01-02 14:23:18 +00:00
Bastien Bouclet
fd5754d6af
MOHAWK: Fix checking Myst rocket sound puzzle before moving all the sliders.
...
Fix a off by one graphical glitch that happened when moving sliders.
Implement opcode 300.
svn-id: r55092
2011-01-02 14:15:15 +00:00
David Turner
c71c3ab591
MOHAWK: Minor Correction to Graphics Debug Output.
...
svn-id: r55073
2010-12-31 10:58:59 +00:00
Bastien Bouclet
14cd97cc77
MOHAWK: Implement Myst opcodes 129 to 132, and 192 to 197, Stellar observatory buttons
...
svn-id: r55065
2010-12-30 13:53:14 +00:00
Bastien Bouclet
6c9a4d36ec
MOHAWK: Implement Myst opcode 214, Stellar observatory initialization
...
svn-id: r55063
2010-12-29 19:33:49 +00:00
Matthew Hoops
f2495a42f6
MOHAWK: Move myst_saveload.* to myst_state.*
...
svn-id: r55045
2010-12-26 15:10:33 +00:00
Matthew Hoops
918c4febb0
MOHAWK: Fix a typo
...
svn-id: r55044
2010-12-26 14:58:15 +00:00
Bastien Bouclet
6cd890aaac
MOHAWK: Merge classes MystVariables and MystSaveLoad to form MystGameState
...
svn-id: r55041
2010-12-26 14:31:03 +00:00
Alyssa Milburn
64a8652cd6
MOHAWK: Add subimage drawing/caching code
...
svn-id: r55038
2010-12-25 19:52:54 +00:00
Alyssa Milburn
1897e5e132
MOHAWK: detect the European versions of Zoombinis
...
svn-id: r55037
2010-12-25 19:52:24 +00:00
Alyssa Milburn
4c0b02fe21
MOHAWK: LB CD-ROM title prefixes aren't Windows-specific
...
svn-id: r55036
2010-12-25 18:45:48 +00:00
Alyssa Milburn
85da9de3bf
MOHAWK: detect/load the Rugrats Adventure Game
...
svn-id: r55035
2010-12-25 18:45:29 +00:00
Bastien Bouclet
938b633238
MOHAWK: Fix playing sound from aliases in Myst ME.
...
svn-id: r55031
2010-12-24 11:04:25 +00:00
Bastien Bouclet
04b5163228
MOHAWK: Fix Myst's combination book pages drawing at the bottom of the screen.
...
svn-id: r55030
2010-12-24 10:52:02 +00:00
David Turner
cc30fa378e
MOHAWK: Add Framework getVar() code to Myst Credits Stack Script Parser.
...
svn-id: r55016
2010-12-22 21:08:26 +00:00
David Turner
5e92b6049b
MOHAWK: Add Framework getVar() code to Myst D'ni Age Script Parser.
...
svn-id: r55015
2010-12-22 21:08:02 +00:00
David Turner
1dde0156c2
MOHAWK: Add further getVar() code to Myst Channelwood Age Script Parser.
...
svn-id: r54998
2010-12-22 05:52:58 +00:00
David Turner
67cf6a0601
MOHAWK: Add Framework of getVar(), setVar() and toggleVar() to Myst Channelwood Age Script Parser.
...
svn-id: r54997
2010-12-22 02:46:30 +00:00
David Turner
a87c52bdb0
MOHAWK: Add Framework of getVar(), setVar() and toggleVar() to Myst Mechanical Age Script Parser.
...
svn-id: r54995
2010-12-21 23:18:38 +00:00
David Turner
43800ebf0c
MOHAWK: Remove unused variables warnings introduced in r54982.
...
svn-id: r54994
2010-12-21 22:16:37 +00:00
Alyssa Milburn
372ede7904
MOHAWK: Support compound images (subimages)
...
These are images embedded in the bitmap data of another image; they
are used in CSTime and Zoombinis, at least. Thanks to clone2727 for
helping me puzzle this out.
svn-id: r54989
2010-12-21 18:16:37 +00:00
Alyssa Milburn
7e5ffb2bcf
MOHAWK: Remove sound.h include from resource.h
...
svn-id: r54988
2010-12-21 18:16:20 +00:00
Alyssa Milburn
e97b2d25d1
MOHAWK: Allow DefaultCursorManager to use alternative tags
...
svn-id: r54987
2010-12-21 18:15:56 +00:00
David Turner
3d3f7b09b2
MOHAWK: Add Framework of getVar(), setVar() and toggleVar() to Myst Stoneship Script Parser.
...
svn-id: r54982
2010-12-21 01:09:14 +00:00
David Turner
b87bc18d22
MOHAWK: Add var getters for Myst Stellar Observatory Date-Time Display.
...
svn-id: r54980
2010-12-20 18:44:25 +00:00
Bastien Bouclet
9c23440ae4
MOHAWK: Fix 2 crashers with the Myst imager (selecting 00 and playing the moutain video).
...
svn-id: r54973
2010-12-20 07:58:45 +00:00
David Turner
3cc456bf2a
MOHAWK: Fixed Valgrind Error in Myst When Selecting 0 in Imager Code (Myst Card 4709)
...
Reworked MystGraphics::copyImageSectionToScreen() :
Added clipping of width and height within src surface dimensions.
Improved function readability.
svn-id: r54972
2010-12-20 04:29:53 +00:00
Bastien Bouclet
da53b85498
MOHAWK: Implement Myst opcodes 109, 117, 118 and 208 : dock forechamber imager
...
svn-id: r54965
2010-12-19 17:36:36 +00:00
Bastien Bouclet
c2bae4b35b
MOHAWK: Add 2 Myst var getter / setters
...
svn-id: r54960
2010-12-19 07:26:34 +00:00
Bastien Bouclet
c3fdcef751
MOHAWK: Fix Myst courtyard boxes. Hover areas entering / leaving is now handled separatly from other resources since the former have to get events even when they are disabled.
...
svn-id: r54959
2010-12-19 07:02:02 +00:00
David Turner
e9e09d297c
MOHAWK: Added further var getter and setter code for Myst Island.
...
This fixes Stellar Observatory Lights.
svn-id: r54958
2010-12-19 02:27:09 +00:00
David Turner
fd5b8b7fa0
MOHAWK: Add some missing var getters for Myst Island.
...
svn-id: r54957
2010-12-18 22:12:36 +00:00
Bastien Bouclet
3e31ed6d98
MOHAWK: Myst sound rework, part 2
...
svn-id: r54954
2010-12-18 13:13:49 +00:00
Bastien Bouclet
c870bf22d1
MOHAWK: Separate background sound handling from other sounds for Myst. Allow the scripts to change the background sound volume.
...
svn-id: r54953
2010-12-18 13:12:56 +00:00
Bastien Bouclet
03da126ec7
MOHAWK: Implement Myst opcodes 157, 161 and 162: Rocket piano
...
svn-id: r54949
2010-12-18 08:07:16 +00:00
Bastien Bouclet
7daea87e61
MOHAWK: Yet more Myst vertical alignment / clipping fixes.
...
Fixes the boiler wheels drawing incorrectly. Fixes the rocket piano's leftmost key drawing too high. Fixes the timeclock controls beeing misaligned.
svn-id: r54947
2010-12-17 18:18:52 +00:00
Matthew Hoops
8ec9f96d54
MOHAWK: Remove global construction of _viewport
...
svn-id: r54945
2010-12-17 14:36:32 +00:00
Bastien Bouclet
c441539bb0
MOHAWK: Change resolution to 544x332 to match the original.
...
This fixes the vertical alignment issues, and graphic corruption on some cards.
svn-id: r54943
2010-12-17 11:31:08 +00:00
Bastien Bouclet
151d180e55
MOHAWK: Implement Myst opcodes 128, 168, 216, 217, 304, 305, and 153 to 156 : Giant tree. Channelwood is now accessible from Myst.
...
svn-id: r54941
2010-12-17 07:44:59 +00:00
David Turner
e3eddf32e9
MYST: Add Var Getter For Myst Courtyard Box Variables.
...
svn-id: r54937
2010-12-16 20:52:18 +00:00
Alyssa Milburn
3d81fc1522
MOHAWK: Move readString into the LB engine class
...
svn-id: r54935
2010-12-16 16:53:26 +00:00
Bastien Bouclet
68e32de097
MOHAWK: Implement Myst opcodes 146, 149, 150, 150 : Minimal boiler
...
svn-id: r54934
2010-12-16 16:13:50 +00:00
Bastien Bouclet
24808d49eb
MOHAWK: Added the "resources" command to Myst's debug console, which lists the resources in the current card.
...
Allow the "drawRect" debug command to take a resource id as a parameter, to draw the resource's bounding rect.
svn-id: r54933
2010-12-16 16:12:38 +00:00
Bastien Bouclet
1b267f5281
MOHAWK: Implement Myst opcodes 147, 169, 182 : Cabin match
...
svn-id: r54931
2010-12-16 08:03:19 +00:00
Matthew Hoops
98a2bc8a9a
VIDEO: Remove the need to call updateAudioBuffer() externally for QuickTime
...
svn-id: r54929
2010-12-16 01:49:29 +00:00
Matthew Hoops
1ead0d8436
VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
...
svn-id: r54928
2010-12-16 01:41:11 +00:00
Matthew Hoops
375f32fbe9
VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
...
svn-id: r54927
2010-12-16 01:35:13 +00:00
Matthew Hoops
e88fcee057
MOHAWK: Add support for DOS bitmaps (thanks to fuzzie for the EGA planar code)
...
svn-id: r54913
2010-12-14 22:59:39 +00:00
Matthew Hoops
0c677aacde
MOHAWK: Add support for DOS v2 archives (CSWorld Deluxe)
...
svn-id: r54912
2010-12-14 22:58:51 +00:00
Bastien Bouclet
d4ce603361
MOHAWK: Rework Myst GFX updates
...
- Initial card state is drawn to the back buffer
- Script driven updates are drawn to the front buffer
Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly.
Fixes among others the generator room lights, and the matchbox.
svn-id: r54907
2010-12-14 19:11:16 +00:00
Bastien Bouclet
c2e48f5c08
MOHAWK: Implement Myst opcodes 122 to 124 : Cabin safe handle
...
svn-id: r54905
2010-12-14 06:42:00 +00:00
Alyssa Milburn
0082f8ec8b
MOHAWK: parse LB subentries correctly
...
svn-id: r54901
2010-12-13 20:19:34 +00:00
Alyssa Milburn
03777f1867
MOHAWK: Use named constants for LB control modes
...
svn-id: r54897
2010-12-13 00:03:15 +00:00
Alyssa Milburn
679f67b2e7
MOHAWK: Use named constants for LB timing modes
...
svn-id: r54896
2010-12-12 23:59:46 +00:00
Alyssa Milburn
0650934337
MOHAWK: Handle chained LB commands
...
svn-id: r54895
2010-12-12 23:11:23 +00:00
Alyssa Milburn
1d61c9a508
MOHAWK: Handle kLBGlobalDisable
...
svn-id: r54893
2010-12-12 23:00:46 +00:00
Alyssa Milburn
c089fb22cd
MOHAWK: More work on LB script parsing
...
svn-id: r54892
2010-12-12 23:00:15 +00:00
Bastien Bouclet
896316a96a
MOHAWK: Fix freeze after tower rotation. Fix opcode 121 : cabin safe digit change.
...
svn-id: r54889
2010-12-12 19:28:43 +00:00
Alyssa Milburn
467b30f1a2
MOHAWK: Refactor/improve LB script entry parsing
...
svn-id: r54888
2010-12-12 19:01:46 +00:00
Alyssa Milburn
a97c90c903
MOHAWK: Always run kLBEventMouseUpIn, for now
...
svn-id: r54887
2010-12-12 19:01:27 +00:00
Alyssa Milburn
4d5ab0cff2
MOHAWK: Handle LB load phase
...
svn-id: r54886
2010-12-12 19:01:10 +00:00
Alyssa Milburn
9e483b79ce
MOHAWK: Skip CD-ROM titles in LB paths
...
svn-id: r54885
2010-12-12 19:00:53 +00:00