Commit Graph

36 Commits

Author SHA1 Message Date
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
Bastien Bouclet
6cd890aaac MOHAWK: Merge classes MystVariables and MystSaveLoad to form MystGameState
svn-id: r55041
2010-12-26 14:31:03 +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
03da126ec7 MOHAWK: Implement Myst opcodes 157, 161 and 162: Rocket piano
svn-id: r54949
2010-12-18 08:07: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
d06a355341 MOHAWK: Further limit where Myst can be saved
svn-id: r54812
2010-12-07 18:15:07 +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
b065e94d2c MOHAWK: One last getRawData() to getResource() rename
svn-id: r54679
2010-11-30 15:07:00 +00:00
Matthew Hoops
c6a9cef9fb MOHAWK: Fix changing the stack via an opcode
svn-id: r54676
2010-11-30 14:45:31 +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
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
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
0cff3be66f MOHAWK: More Myst common opcodes checking / renaming
svn-id: r54619
2010-11-29 20:56:21 +00:00
Bastien Bouclet
34981c61b6 MOHAWK: Fix Myst opcode 14
svn-id: r54616
2010-11-29 20:55:31 +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
Bastien Bouclet
8da42b4221 MOHAWK: Don't change current resource when dragging
svn-id: r54607
2010-11-29 20:53:14 +00:00
Bastien Bouclet
fc504c72e8 MOHAWK: Update area type 11 position when the mouse moves
svn-id: r54602
2010-11-29 20:52:04 +00:00
Bastien Bouclet
536c6b6ef4 MOHAWK: Rename some fields for type 11 areas
svn-id: r54600
2010-11-29 20:51:35 +00:00
Bastien Bouclet
2e984cf136 MOHAWK : Move area classes to their own file
svn-id: r54598
2010-11-29 20:51:04 +00:00
Bastien Bouclet
16afca4c3d MOHAWK: Add mouse move event for type 10 and 11 resources
svn-id: r54597
2010-11-29 20:50:40 +00:00
Bastien Bouclet
4e420ef6fc MOHAWK: Keep resource type around
svn-id: r54595
2010-11-29 20:50:11 +00:00
Bastien Bouclet
6a4ff1a9b5 MOHAWK : Finished implementing Selenitic sound receiver
svn-id: r54593
2010-11-29 20:49:42 +00:00
Max Horn
121056c12f MOHAWK: Pass objs by const ref not by value
svn-id: r54443
2010-11-23 22:32:39 +00:00
Matthew Hoops
d971396572 MOHAWK: Cleanup Myst script handling
Scripts are now loaded from a central place and are properly freed at the correct time. This fixes a regression from r54152.

svn-id: r54309
2010-11-18 05:47:16 +00:00
Matthew Hoops
ecb42156ce MOHAWK: Cache the Myst screen buffer
This is needed for use with sliders. The screen is now updated fewer times as well.

svn-id: r54300
2010-11-17 19:58:19 +00:00
David Turner
63d023964e MOHAWK: Close a number of memory leaks in Myst.
These corrections close a number of leaks reported by running Valgrind with --leak-check=full option, but some still remain, mainly in the image loading and caching.

svn-id: r54152
2010-11-09 11:02:06 +00:00
David Turner
2ab3e0fb3c Mohawk : Adding resource cache class and integrating into Myst engine.
The resource caching trades increased memory usage against disk access.

This functionality can be disabled and enabled by the console "cache" command.

svn-id: r48080
2010-02-17 19:59:08 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
f31c452a5f MOHAWK: Reduce header interdependencies
svn-id: r46782
2009-12-30 23:02:14 +00:00
Eugene Sandulenko
0ea022d076 Add Mohawk engine code. Part 1/3: main code.
svn-id: r46727
2009-12-29 23:18:24 +00:00