aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_scripts.cpp
AgeCommit message (Collapse)Author
2017-07-22MOHAWK: Myst: Don't cast function pointers when registering commandsBastien Bouclet
2017-07-22MOHAWK: Myst: Improve script execution tracingBastien Bouclet
2017-07-22MOHAWK: Myst: Switch to bounds checked opcode argumentsBastien Bouclet
2017-07-22MOHAWK: Myst: Rewrite the sound codeBastien Bouclet
It now more closely matches the original. Effect sounds are now stopped when resuming background sounds. Fixes #9574, Fixes #9920.
2017-07-22MOHAWK: Myst: Move the sound code to its own classBastien Bouclet
2017-07-22MOHAWK: Myst: Update the screen only once per frameBastien Bouclet
Change all inner loops to call the same frame function. Remove the draw delay code. Now that we have proper frame pacing it is not necessary anymore to wait before drawing to make sure the previous frame stayed on the screen long enough. Fixes #9915, #9922, #9923.
2017-07-22MOHAWK: Myst: Change blocking sounds to use the main loopBastien Bouclet
2017-07-22MOHAWK: Myst: Change the delay opcode to use the main loopBastien Bouclet
2017-07-22MOHAWK: Myst: Start reworking mainloop detectionBastien Bouclet
2017-03-18MOHAWK: In Myst v1.0 English the take page opcode takes no argumentsBastien Bouclet
Fixes #9645, crash when trying to take a book page.
2016-04-14JANITORIAL: Reduce GUI header dependenciesOri Avtalion
2016-04-03MOHAWK: Fix endianness issue in Myst opcode 30Bastien Bouclet
The previous code was reading data of the system's endianness as little endian. Now the data is converted to little endian before it is read. Attempt to fix #7100.
2016-02-20MOHAWK: Replace an unneeded TODO with an explanationBastien Bouclet
2016-02-14MOHAWK: Issue a warning when trying to pop with no card pushedBastien Bouclet
2016-02-11MOHAWK: Always apply the volume when changing the background soundBastien Bouclet
2016-02-11MOHAWK: Share the code for reading sound blocksBastien Bouclet
2016-02-11MOHAWK: Share the code applying sound blocksBastien Bouclet
2016-02-07MOHAWK: Don't downcast _invokingResource using static_castBastien Bouclet
2016-02-07MOHAWK: Rename Myst's Area classesBastien Bouclet
2016-02-07MOHAWK: Use nullptr where applicable in the Myst codeBastien Bouclet
2016-02-07MOHAWK: Remove some dead codeBastien Bouclet
2016-01-12MOHAWK: Fix incorrect condition in Myst's sound block opcodeBastien Bouclet
2016-01-12MOHAWK: Add a comment about suspicious dead code in o_changeBackgroundSoundStrangerke
2014-02-18MOHAWK: Make GPL headers consistent in themselves.Johannes Schickel
2012-12-16MOHAWK: Implement most of Myst's transition systemBastien Bouclet
2012-03-13JANITORIAL: Avoid the ugly operator invocation syntax.Christoph Mallon
2012-03-10MOHAWK: Split the graphics classes into their own filesMatthew Hoops
2011-07-27MOHAWK: Corrected Regression due to minor typo in Myst o_disableAreas.D G Turner
Thanks to bgKa for looking at this.
2011-07-02MOHAWK: Misc Mechanical fixes. Many thanks to Patrick Monnerat for the patch.Bastien Bouclet
- Adds break statements where missing in Mechanical::toggleVar() and Mechanical::setVarValue() - Restore proper numbering of Achenar and Sirrus panel state variables, which were wrongly swapped. - When bird is singing, play sound continuously. - When operating the fortress elevator, keep the engine sound active while the elevator is moving.
2011-06-25MOHAWK: Made some Myst common opcodes match the original betterBastien Bouclet
Plus some minor cleanup
2011-05-15MOHAWK: Implement "Show Map" feature for Myst MEBastien Bouclet
2011-05-14MOHAWK: When running scripts in Myst, add delays when necessary between ↵Bastien Bouclet
draws to mimic older hardware.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-15MOHAWK: Add a workaround for a missing image when going up the stairs in ↵Bastien Bouclet
Mechanical.
2011-02-13MOHAWK: Remove Myst's var store from the build since it is not usedBastien Bouclet
anymore. Keep the files are to be kept around for reference until Mechanical is finished.
2011-01-30MOHAWK: Myst, pass the playback direction from the calling script to the ↵Bastien Bouclet
movie player. svn-id: r55657
2011-01-28MOHAWK: Removed direct OSystem Quit calls from Myst Mohawk Interpreter.David Turner
This avoids the same issue that caused leakage in other engines. svn-id: r55584
2011-01-18MOHAWK: Rename some Myst-specific sound functions; cleanupMatthew Hoops
svn-id: r55314
2011-01-18MOHAWK: Move Myst's o_quit opcode to the base classMatthew Hoops
svn-id: r55304
2011-01-07MOHAWK: Merge Myst intro opcode 100 with generic opcode 40 into engine ↵Bastien Bouclet
method changeStack svn-id: r55152
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