Commit Graph

33 Commits

Author SHA1 Message Date
Bastien Bouclet
07ee25c87d MOHAWK: Implement most of Myst's transition system 2012-12-16 06:54:13 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Bastien Bouclet
e0e28aaeb2 MOHAWK: Implement "Show Map" feature for Myst ME 2011-05-15 17:41:54 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02: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
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
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
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
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
7419d8c087 MOHAWK: Implement Myst opcodes 116, 186, 188, 189, clock tower time controls
svn-id: r54863
2010-12-11 11:40:12 +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
a9388af996 MOHAWK: Fix resource type 12
svn-id: r54740
2010-12-02 21:15:47 +00:00
Matthew Hoops
65a7d28e21 MOHAWK: Rename the Myst stack/card link maps
svn-id: r54702
2010-12-01 14:57:05 +00:00
Matthew Hoops
bdc3e5c353 MOHAWK: Cleanup Myst opcode handling and reduce code duplication
svn-id: r54693
2010-12-01 03:30:00 +00:00
Bastien Bouclet
efc6ff54a3 MOHAWK: Misc cleanups
svn-id: r54645
2010-11-29 21:03:02 +00:00
Bastien Bouclet
c393f8f9d2 MOHAWK: Implement retrieving the invoking resource from data for init and exit scripts.
svn-id: r54639
2010-11-29 21:01:30 +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
bfd272a46e MOHAWK: Add a generic temp var for use by Myst scripts.
svn-id: r54632
2010-11-29 20:59:44 +00:00
Bastien Bouclet
f8a4190e75 MOHAWK: More animated update opcodes work for Myst
svn-id: r54628
2010-11-29 20:58:45 +00:00
Bastien Bouclet
b49cb3b35a MOHAWK: Start implementing opcodes using the animated update feature
svn-id: r54627
2010-11-29 20:58:28 +00:00
Bastien Bouclet
359cece3b7 MOHAWK: Implement opcode 3 "take / drop page", and the corresponding getters and setters for selenitic
svn-id: r54623
2010-11-29 20:57:27 +00:00
Bastien Bouclet
3b1440b0d4 MOHAWK: Implement / fix Myst opcode 4.
svn-id: r54621
2010-11-29 20:56:56 +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
c7e488c201 MOHAWK: Rename and fix / explain a few Myst opcodes
svn-id: r54618
2010-11-29 20:56:04 +00:00
Bastien Bouclet
fa7ec5ae4c MOHAWK: Describe Myst opcode 9
svn-id: r54617
2010-11-29 20:55:50 +00:00
Bastien Bouclet
0ac6af59d1 MOHAWK: Check / Fixed / Renamed some simple opcodes.
svn-id: r54614
2010-11-29 20:54:52 +00:00
Bastien Bouclet
6a4ff1a9b5 MOHAWK : Finished implementing Selenitic sound receiver
svn-id: r54593
2010-11-29 20:49:42 +00:00
Bastien Bouclet
5f8e6e3824 MOHAWK: Start splitting Myst scripts into one class per Stack.
svn-id: r54592
2010-11-29 20:49:14 +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
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Torbjörn Andersson
69c71c7628 Removed some unnecessary whitespace. Changed some spaces to tabs.
svn-id: r46735
2009-12-30 07:30:04 +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