aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_scripts.cpp
AgeCommit message (Collapse)Author
2018-07-08MOHAWK: MYST: Add delays at each step of Achenar's torture switch animBastien Bouclet
Fixes Trac#10606.
2018-06-23MOHAWK: MYST: Fix incorrect door close sound for the cablinBastien Bouclet
Fixes Trac#10580.
2018-06-13MOHAWK: MYST: Move the current stack id to ScriptParserBastien Bouclet
2018-06-13MOHAWK: MYST: Extract a Card class out of the main engine classBastien Bouclet
This is to allow having multiple cards loaded at the same time in the future.
2018-04-25MOHAWK: MYST: Turn held page state into an enumdafioram
Previously, the held page stage was an unsigned int 16 with values 0-13. The enum will make its state more clear.
2018-04-23MOHAWK: MYST: Clip one coordinate at a time in o_copyImageToBackBufferBastien Bouclet
Fixes Achenar's door animation being mispositionned on Channelwood. Fixes Trac#10498.
2018-04-22MOHAWK: MYST: Fix the sound effect not playing in opcode 41Bastien Bouclet
Changing the background sound when switching cards could stop the effect sound immediately after it started. Fixes Trac#10493.
2018-04-15MOHAWK: MYST: Make changeBackgroundSound wait for the effect to completeBastien Bouclet
Fixes #10489.
2018-03-31MOHAWK: Fix some clang-tidy warningsBastien Bouclet
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