400 Commits

Author SHA1 Message Date
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