aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_scripts.cpp
AgeCommit message (Collapse)Author
2011-01-03MOHAWK: Cleanup some spacing, formatting, and namingMatthew Hoops
svn-id: r55109
2010-12-26MOHAWK: Merge classes MystVariables and MystSaveLoad to form MystGameStateBastien Bouclet
svn-id: r55041
2010-12-18MOHAWK: Separate background sound handling from other sounds for Myst. Allow ↵Bastien Bouclet
the scripts to change the background sound volume. svn-id: r54953
2010-12-16MOHAWK: Added the "resources" command to Myst's debug console, which lists ↵Bastien Bouclet
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-14MOHAWK: Rework Myst GFX updatesBastien Bouclet
- 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-11MOHAWK: Fix using wrong coordinates in Myst opcode 28, restoreDefaultRectBastien Bouclet
svn-id: r54864
2010-12-06MOHAWK: Fix Myst library books, fireplace combination book, and bookcase ↵Bastien Bouclet
transform animation. svn-id: r54802
2010-12-05MOHAWK: Implement Myst opcodes 158 to 166: Rocket sliders + check lever + ↵Bastien Bouclet
link book svn-id: r54776
2010-12-04MOHAWK: Give meaningful names to the game global vars and selenitic varsBastien Bouclet
svn-id: r54758
2010-12-01MOHAWK: Rename the Myst stack/card link mapsMatthew Hoops
svn-id: r54702
2010-12-01MOHAWK: Downgrade the Myst unknown op error to a warning as new ones have ↵Matthew Hoops
been uncovered svn-id: r54694
2010-12-01MOHAWK: Cleanup Myst opcode handling and reduce code duplicationMatthew Hoops
svn-id: r54693
2010-11-30MOHAWK: Set the maze runner initial direction. Remove a hack that is not ↵Bastien Bouclet
needed anymore thanks to keeping the old stack when changing stack. svn-id: r54686
2010-11-30MOHAWK: Fix for Valgrind uninit reads in Myst Script Parser.David Turner
svn-id: r54683
2010-11-29MOHAWK: Misc cleanupsBastien Bouclet
svn-id: r54645
2010-11-29MOHAWK: Implement retrieving the invoking resource from data for init and ↵Bastien Bouclet
exit scripts. svn-id: r54639
2010-11-29MOHAWK: Complete the list of stack / start cards.Bastien Bouclet
Fix linking back from another age. svn-id: r54637
2010-11-29MOHAWK: Add a generic temp var for use by Myst scripts.Bastien Bouclet
svn-id: r54632
2010-11-29MOHAWK: Do not always update the screen after a card change. Necessary for ↵Bastien Bouclet
"animated card changes" to work. svn-id: r54630
2010-11-29MOHAWK: More animated update opcodes work for MystBastien Bouclet
svn-id: r54628
2010-11-29MOHAWK: Start implementing opcodes using the animated update featureBastien Bouclet
svn-id: r54627
2010-11-29MOHAWK: Changed sliders to restore the main background instead of doing ↵Bastien Bouclet
their own background caching. It is possible now there is the image cache. svn-id: r54626
2010-11-29MOHAWK: Implement opcode 3 "take / drop page", and the corresponding getters ↵Bastien Bouclet
and setters for selenitic svn-id: r54623
2010-11-29MOHAWK: Implement / fix Myst opcode 4.Bastien Bouclet
svn-id: r54621
2010-11-29MOHAWK: More Myst common opcodes checking / renamingBastien Bouclet
svn-id: r54619
2010-11-29MOHAWK: Rename and fix / explain a few Myst opcodesBastien Bouclet
svn-id: r54618
2010-11-29MOHAWK: Describe Myst opcode 9Bastien Bouclet
svn-id: r54617
2010-11-29MOHAWK: Fix Myst opcode 14Bastien Bouclet
svn-id: r54616
2010-11-29MOHAWK: Check / Fixed / Renamed some simple opcodes.Bastien Bouclet
svn-id: r54614
2010-11-29MOHAWK : Move area classes to their own fileBastien Bouclet
svn-id: r54598
2010-11-29MOHAWK : Finished implementing Selenitic sound receiverBastien Bouclet
svn-id: r54593
2010-11-29MOHAWK: Start splitting Myst scripts into one class per Stack.Bastien Bouclet
svn-id: r54592
2010-11-25MOHAWK: Refactor cursor handlingMatthew Hoops
Cursor handling has now been moved to a new CursorManager class (which is subclassed for Myst/Riven) from the GraphicsManager classes. This will be needed for Living Books which will have a class for Windows and Mac cursors (coming soon!). svn-id: r54469
2010-11-18MOHAWK: Cleanup Myst script handlingMatthew Hoops
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-17MOHAWK: Cache the Myst screen bufferMatthew Hoops
This is needed for use with sliders. The screen is now updated fewer times as well. svn-id: r54300
2010-11-07MOHAWK: Convert all printf to debugN callsMax Horn
This involves some nasty decisions, like mixing debugN and DebugPrintf calls in the RivenConsole. I added FIXME comments about this. svn-id: r54107
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-08MOHAWK: Implement blocking sound in RivenMatthew Hoops
Sounds that set the third argument of the playSound opcode to 1 (wherever they may be) will now block. The volume parameter of playSound is also now honored. Merge the Myst sound blocking code with this too. svn-id: r52643
2010-09-07MOHAWK: Sound cleanupMatthew Hoops
Merge the Riven sound file code with the main Riven resource code and remove the mainSoundFile parameter from Sound::playSound(). Reasoning: The sound id's do not collide with the sound id's in the main data files. The sound archives only exist because the original CD version had the ability to choose between low and high quality audio. svn-id: r52631
2010-05-23Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when ↵Matthew Hoops
Mohawk is not enabled) so SCI can use the code. svn-id: r49165
2010-02-18Mohawk : Update with work on Myst EXIT opcodes to work out purpose.David Turner
svn-id: r48087
2010-02-14Mohawk : Corrected Myst Opcode 200/300 in Intro/Demo stack to correctly call ↵David Turner
Intro movies. svn-id: r48062
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-19Add support for the flyby videos in Myst ME Macintosh.Matthew Hoops
svn-id: r47388
2010-01-03Mohawk : Stop Myst Script Opcode 200 continuously reloading the same image...David Turner
svn-id: r46919
2009-12-30MOHAWK: Reduce header interdependenciesMax Horn
svn-id: r46782
2009-12-30Re-indentet switch() blocks to follow ScummVM indentation style. (I've alwaysTorbjörn Andersson
found this style a bit unusual, but I value consistency.) svn-id: r46734
2009-12-30Silence some warnings seen in the buildbot.Matthew Hoops
svn-id: r46733
2009-12-29Add Mohawk engine code. Part 1/3: main code.Eugene Sandulenko
svn-id: r46727