Commit graph

88 commits

Author SHA1 Message Date
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
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
Bastien Bouclet
75a2c36ecd MOHAWK: Implement video seeking Myst's rocket link book
svn-id: r55230
2011-01-13 19:30:00 +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
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
Matthew Hoops
8a77f49a59 MOHAWK: Cleanup some spacing, formatting, and naming
svn-id: r55109
2011-01-03 20:40:07 +00:00
Matthew Hoops
f2495a42f6 MOHAWK: Move myst_saveload.* to myst_state.*
svn-id: r55045
2010-12-26 15:10:33 +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
7e5ffb2bcf MOHAWK: Remove sound.h include from resource.h
svn-id: r54988
2010-12-21 18:16:20 +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
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
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
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
36851d4eb4 MOHAWK: Implement Myst opcodes 113, 114, 198 : Vault open / close
In progress tower rotation

svn-id: r54866
2010-12-11 17:00:22 +00:00
Matthew Hoops
0d59c33b35 MOHAWK: Default to the main cursor if no cursor hints are present; fixes a couple cards
svn-id: r54816
2010-12-07 19:41:49 +00:00
Matthew Hoops
ce0f0bd056 MOHAWK: Allow loading both original and ME saves in any version of Myst
svn-id: r54814
2010-12-07 18:33:58 +00:00
Matthew Hoops
2f86db50ef MOHAWK: Fix loading from the launcher in Myst
svn-id: r54813
2010-12-07 18:21:05 +00:00
Matthew Hoops
d06a355341 MOHAWK: Further limit where Myst can be saved
svn-id: r54812
2010-12-07 18:15:07 +00:00
Matthew Hoops
a789ee11c2 MOHAWK: Implement loading to different ages in Myst
svn-id: r54807
2010-12-07 01:37:43 +00:00
Bastien Bouclet
fb854b1483 MOHAWK: Fix Myst library books, fireplace combination book, and bookcase transform animation.
svn-id: r54802
2010-12-06 20:29:45 +00:00
Bastien Bouclet
24a0b50ac3 MOHAWK: Implement Myst opcodes 158 to 166: Rocket sliders + check lever + link book
svn-id: r54776
2010-12-05 08:36:41 +00:00
Bastien Bouclet
52217fa434 MOHAWK: Implement Myst opcodes 120 and 210, rocket power generator
svn-id: r54759
2010-12-04 11:54:08 +00:00
Bastien Bouclet
a9388af996 MOHAWK: Fix resource type 12
svn-id: r54740
2010-12-02 21:15:47 +00:00
Matthew Hoops
bdc3742ced MOHAWK: Split makingof and preview opcodes into their own class (and now all are separate)
svn-id: r54723
2010-12-01 21:05:08 +00:00
Matthew Hoops
77782f4eb3 MOHAWK: Split intro and demo opcodes into their own classes
svn-id: r54706
2010-12-01 17:56:36 +00:00
Matthew Hoops
81209867a2 MOHAWK: Split the demo slideshow opcodes into their own class
svn-id: r54705
2010-12-01 15:24:54 +00:00
Matthew Hoops
26f27d9983 MOHAWK: Split d'ni opcodes into their own class
svn-id: r54699
2010-12-01 14:46:59 +00:00
Matthew Hoops
b9cfb52927 MOHAWK: Split mechanical opcodes into their own class
svn-id: r54692
2010-12-01 02:45:31 +00:00
Matthew Hoops
261cf23901 MOHAWK: Split channelwood opcodes into their own class
svn-id: r54691
2010-12-01 02:11:11 +00:00
Matthew Hoops
e4fa2855b6 MOHAWK: Split out stoneship opcodes into their own class
svn-id: r54689
2010-11-30 22:02:03 +00:00
Matthew Hoops
b065e94d2c MOHAWK: One last getRawData() to getResource() rename
svn-id: r54679
2010-11-30 15:07:00 +00:00
Matthew Hoops
48c209f2da MOHAWK: Split Myst credits code into a separate class
svn-id: r54677
2010-11-30 15:01:26 +00:00
Matthew Hoops
c6a9cef9fb MOHAWK: Fix changing the stack via an opcode
svn-id: r54676
2010-11-30 14:45:31 +00:00
Matthew Hoops
2bd16f9e84 MOHAWK: Move Myst stack-specific code to its own directory
svn-id: r54648
2010-11-29 21:34:59 +00:00
Bastien Bouclet
efc6ff54a3 MOHAWK: Misc cleanups
svn-id: r54645
2010-11-29 21:03:02 +00:00
Bastien Bouclet
29359ee372 MOHAWK: Set the initial stack back to the intro
svn-id: r54644
2010-11-29 21:02:39 +00:00
Bastien Bouclet
7ea90ddf19 MOHAWK: Create constants for remaining Myst resource types
svn-id: r54634
2010-11-29 21:00:23 +00:00
Bastien Bouclet
149eed5c32 MOHAWK: Persistent scripts cleanup
- Rename InitOpcodes / PersistentOpcodes to Persistent Scripts for consistency
- Get rid of the global var used to tell if the sound receiver script is running

svn-id: r54633
2010-11-29 21:00:05 +00:00
Bastien Bouclet
ed59b28d0b MOHAWK: Do not always update the screen after a card change. Necessary for "animated card changes" to work.
svn-id: r54630
2010-11-29 20:59:17 +00:00
Bastien Bouclet
90b336ec34 MOHAWK: Changed sliders to restore the main background instead of doing their own background caching. It is possible now there is the image cache.
svn-id: r54626
2010-11-29 20:58:10 +00:00
Bastien Bouclet
d3289529eb MOHAWK: Fix flag values used to dertermine if an area can become active.
svn-id: r54622
2010-11-29 20:57:11 +00:00
Bastien Bouclet
92dc0fe5b5 MOHAWK: Only draw a resource conditional subimages if it has the "subimages enabled" flag set.
svn-id: r54620
2010-11-29 20:56:39 +00:00
Bastien Bouclet
34981c61b6 MOHAWK: Fix Myst opcode 14
svn-id: r54616
2010-11-29 20:55:31 +00:00
Bastien Bouclet
92d74fa56d MOHAWK: Disabled hotspots are now unclickable areas. Display blue rects for unreachable zip destinations when drawing resource rects.
svn-id: r54615
2010-11-29 20:55:11 +00:00
Bastien Bouclet
18e1f4a8c3 MOHAWK: Added helpher functions to redraw a resource. Do not redraw all the resources on mouse up.
svn-id: r54613
2010-11-29 20:54:36 +00:00