aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
AgeCommit message (Collapse)Author
2018-07-30MOHAWK: MYST: Add support for the localized 25th gamesBastien Bouclet
2018-07-25MOHAWK: MYST: Don't play the flyby movies when going back to MystBastien Bouclet
2018-07-02MOHAWK: MYST: Always clear the screen before playing fullscreen moviesBastien Bouclet
Fixes the broderbund logo movie being partially visible when the Cyan logo is playing. Fixes Trac#10595.
2018-06-29MOHAWK: MYST: Introduce a main menu stackBastien Bouclet
Used in the 25th Anniversary edition of Myst ME
2018-06-14MOHAWK: MYST: Clean up the options dialogBastien Bouclet
Also load and save games using ctrl-o / ctrl-s.
2018-06-13MOHAWK: MYST: Move the current stack id to ScriptParserBastien Bouclet
2018-06-13MOHAWK: MYST: Simplify memory management of the active stackBastien 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-06-07MOHAWK: Display a GUI error message when no audio devices are availableBastien Bouclet
2018-05-20MOHAWK: MYST: Fix repeatedly trying to autosave when not allowedBastien Bouclet
Fixes trying to open the save on slot 0 on each frame when it is not an autosave.
2018-05-19MOHAWK: MYST: Fix the Wii/GameCube buildBastien Bouclet
2018-05-19MOHAWK: MYST: Autosave to Slot 0David Fioramonti
The game will autosave to slot 0 using the save period given in the scummvm config file or when the user exits using the GMM. Autosaves are only allowed when an autosave is in slot 0 or there is no save in slot 0. This will not override any saves the player has previously put in save slot 0. If there is a save in slot 0 that is not an autosave then there will be no autosaving.
2018-05-17MOHAWK: Don't allow displaying the map when the game is not interactiveBastien Bouclet
Fixes Trac#10526 and Trac#10531.
2018-04-27MOHAWK: MYST: Make Dni/Atrus endings an enumDavid Fioramonti
The global variable "ending" tracks various states that Atrus can be in. This variable determines what video of Atrus will be playing and if the brother books have been destroyed. Despite this variable being called ending there are other endings not captured by this variable (like the brother endings). Also change spelling of Dini to Dni for one usage of ActiveAge from a previous commit.
2018-04-26MOHAWK: MYST: Don't play the credits when quitting in the middle of a scriptBastien Bouclet
Playing the credits unloads the data required by the rest of the script. Fixes Trac#10502.
2018-04-26MOHAWK: MYST: Make global currentAge an enumDavid Fioramonti
This global basically tracks what age/book/stack the player is in. It is also used to change stacks via MohawkEngine_Myst::changeToStack() by being an index for MystScriptParser::_stackMap and MystScriptParser::_startCard. E.x., instead of _global.currentAge = 2 now _global.currentAge = kMystLibrary. Also two of the endings are considered Ages instead of being apart of _global.ending.
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-10MOHAWK: MYST: Fix flyby movies to behave more like the originalBastien Bouclet
* Keep playing the previously running background sound while playing the flyby. * Don't play the flyby after loading a save. * Play the flyby before both linking sounds. Fixes #10482, Fixes #10483.
2018-03-31MOHAWK: Fix some clang-tidy warningsBastien Bouclet
2017-12-20MOHAWK: RIVEN: Add keyboard shortcuts for loading and savingBastien Bouclet
Those shortcuts are documented in the original game manual.
2017-08-10MOHAWK: Myst: Fix showing the white page after dropping itBastien Bouclet
Fixes #10065.
2017-08-05MOHAWK: Myst: Set the clicked resource only if the active resource was updatedBastien Bouclet
Fixes #10053.
2017-07-30MOHAWK: Myst: Set the mixer sound type to SFX for videosBastien Bouclet
Also simplify video filename construction.
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: Decorrelate hotspot handling from event handlingBastien Bouclet
This makes sure doFrame can be called from anywhere, including scripts.
2017-07-22MOHAWK: Myst: Change blocking sounds to use the main loopBastien Bouclet
2017-07-22MOHAWK: Myst: Change blocking movies and waits to use the main loopBastien Bouclet
2017-07-22MOHAWK: Myst: Start reworking mainloop detectionBastien Bouclet
2017-07-22MOHAWK: Myst: Move frame handling to a separate methodBastien Bouclet
2017-07-22MOHAWK: Myst: Keep track of the resource being clickedBastien Bouclet
2017-07-22MOHAWK: Myst: Turn the currently active resource into a pointerBastien Bouclet
2017-07-22MOHAWK: Myst: Always update the screen during the gameloopBastien Bouclet
2017-07-05MOHAWK: Myst: Poll for events every 10ms when waitingBastien Bouclet
2017-07-03MOHAWK: Allow games to opt out of the default video managerBastien Bouclet
2016-12-10MOHAWK: Poll the events while drawing Myst transitionsBastien Bouclet
Fixes #9594, the mouse cursor was hanging while transitions were drawn.
2016-09-26MOHAWK: Hide some warningsBastien Bouclet
Fixes #9571, fixes #9572.
2016-08-11MOHAWK: Allow the games to have a different sound managerBastien Bouclet
2016-08-03MOHAWK: Load games from outside the options dialog loopThierry Crozat
Loading games from inside the dialog loop may cause cursor glitches. This commits applies the same fix to the MohawkOptionsDialog as the one that already existed for the global main menu. This finished to fix bug #7164.
2016-04-17MOHAWK: Update the screen immediatly when changing stacksBastien Bouclet
This fixes the linking sound being played before the new age is displayed. Thanks to rootfather for noticing.
2016-04-03MOHAWK: Switch to slot based save file naming for MystBastien Bouclet
Myst previously used the user provided description as the save filename. This was not working when the user entered chacacters forbidden by the filesystem. The actual save format has not changed. Old saves are still compatible, but must be renamed to 'myst-###.mys' and 'myst-###.mym'. Fixes 7106.
2016-03-05MOHAWK: Make the Quit button show the creditsBastien Bouclet
2016-03-05MOHAWK: Add an engine specific option to play the Myst fly by movieBastien Bouclet
It is disabled by default since the original engine never plays it. When enabled, it is only played when first arriving on Myst.
2016-02-26MOHAWK: Fix the drawing time simulationBastien Bouclet
Was broken when adding transition support. Fixes scripted card changes not displaying for a long enough time.
2016-02-26MOHAWK: Fix loading a save from the launcherBastien Bouclet
Was broken by d6881100dd5613c8573f8f8235b93772ae513e49
2016-02-22MOHAWK: Only allow saving/loading from the main event loopBastien Bouclet
2016-02-22MOHAWK: Add support for the ScummVM save metadata featuresBastien Bouclet
The metadata is saved in a separate file to keep compatibility with the original engine saves.
2016-02-14MOHAWK: Add a console command that does random clicks in all the cardsBastien Bouclet
A surprisingly effective way of finding bugs
2016-02-13MOHAWK: Fix the cursor staying black when changing of Myst stackBastien Bouclet