Commit graph

143 commits

Author SHA1 Message Date
Bastien Bouclet
6dae7a33ce MOHAWK: Hide some warnings
Fixes #9571, fixes #9572.
2016-09-26 05:51:07 +02:00
Bastien Bouclet
aeee4888be MOHAWK: Allow the games to have a different sound manager 2016-08-11 19:53:20 +02:00
Thierry Crozat
191a9a0c64 MOHAWK: Load games from outside the options dialog loop
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-08-03 22:50:06 +01:00
Bastien Bouclet
76e2867c07 MOHAWK: Update the screen immediatly when changing stacks
This fixes the linking sound being played before the new age is displayed.

Thanks to rootfather for noticing.
2016-04-17 11:55:49 +02:00
Bastien Bouclet
9db3f69f5e MOHAWK: Switch to slot based save file naming for Myst
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-04-03 08:11:56 +02:00
Bastien Bouclet
f427fccc03 MOHAWK: Make the Quit button show the credits 2016-03-05 20:49:12 +01:00
Bastien Bouclet
833b800a32 MOHAWK: Add an engine specific option to play the Myst fly by movie
It is disabled by default since the original engine never plays it.
When enabled, it is only played when first arriving on Myst.
2016-03-05 14:43:10 +01:00
Bastien Bouclet
5aeda50f58 MOHAWK: Fix the drawing time simulation
Was broken when adding transition support.
Fixes scripted card changes not displaying for a long enough time.
2016-02-26 07:22:30 +01:00
Bastien Bouclet
faff49d001 MOHAWK: Fix loading a save from the launcher
Was broken by d6881100dd
2016-02-26 07:22:30 +01:00
Bastien Bouclet
d6881100dd MOHAWK: Only allow saving/loading from the main event loop 2016-02-22 09:58:41 +01:00
Bastien Bouclet
7044996cd5 MOHAWK: Add support for the ScummVM save metadata features
The metadata is saved in a separate file to keep compatibility with
the original engine saves.
2016-02-22 08:44:55 +01:00
Bastien Bouclet
f0e416a034 MOHAWK: Add a console command that does random clicks in all the cards
A surprisingly effective way of finding bugs
2016-02-14 09:58:43 +01:00
Bastien Bouclet
94e5804b84 MOHAWK: Fix the cursor staying black when changing of Myst stack 2016-02-13 18:13:33 +01:00
Bastien Bouclet
1f6bfda0ef MOHAWK: Share the code for reading sound blocks 2016-02-11 07:56:58 +01:00
Bastien Bouclet
19ee63703b MOHAWK: Share the code applying sound blocks 2016-02-11 07:38:23 +01:00
Bastien Bouclet
e9525f53c6 MOHAWK: Move debug rect draw control to the console
It was previously bound to F4
2016-02-11 07:38:23 +01:00
Bastien Bouclet
bc687c7216 MOHAWK: Fix two Myst resource stream memory leaks 2016-02-07 15:27:03 +01:00
Bastien Bouclet
eb47dcf2c9 MOHAWK: Implement preloading conditional script resources 2016-02-07 15:27:03 +01:00
Bastien Bouclet
bff0dd1915 MOHAWK: Turn MystEngine::_cursorHints into a Common::Array 2016-02-07 15:27:03 +01:00
Bastien Bouclet
6e3719199e MOHAWK: Remove some dead code 2016-02-07 15:27:03 +01:00
Bastien Bouclet
316dc9c829 MOHAWK: Turn ScriptResource::resourceList into a Common::Array 2016-02-07 15:27:03 +01:00
Bastien Bouclet
a3064b9027 MOHAWK: Turn MystView::scriptResources into a Common::Array 2016-02-07 15:27:03 +01:00
Bastien Bouclet
32f1ee73ad MOHAWK: Turn MystView::soundList into a Common::Array 2016-02-07 15:27:03 +01:00
Bastien Bouclet
ef14781456 MOHAWK: Turn MystCondition::values into a Common::Array 2016-02-07 15:27:03 +01:00
Bastien Bouclet
989fe4d0cd MOHAWK: Turn MystView::conditionalImages into a Common::Array 2016-02-07 15:27:03 +01:00
Bastien Bouclet
cddb5cd53a MOHAWK: Rename Myst's Area classes 2016-02-07 15:27:03 +01:00
Bastien Bouclet
0c8d8bbd40 MOHAWK: Use nullptr where applicable in the Myst code 2016-02-07 15:27:03 +01:00
Bastien Bouclet
47bc90f5a3 MOHAWK: Remove some dead code 2016-02-07 15:27:03 +01:00
Matthew Hoops
a5992a08a0 MOHAWK: Run Myst in 8bpp 2015-04-11 14:37:17 -04:00
Johannes Schickel
abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
Torbjörn Andersson
74be7ed959 MOHAWK: Stop videos on stack change
Otherwise there may be both a book video and a flyby video playing
at the same time. Maybe it should only stop videos if there really
is a flyby video, but it already stops all sounds and may play a
blocking sound etc., so it makes sense to me to always do it.
2013-08-20 08:43:18 +02:00
Torbjörn Andersson
af64cad069 JANITORIAL: Replace some spaces with tabs 2012-12-16 09:35:52 +01:00
Bastien Bouclet
07ee25c87d MOHAWK: Implement most of Myst's transition system 2012-12-16 06:54:13 +01:00
Matthew Hoops
e58724a180 MOHAWK: Remove Myst ME Macintosh "support"
The Mac version of Myst ME is actually not Mohawk and is instead closer to the engine used in Myst3.
2012-07-29 14:31:36 -04:00
Johannes Schickel
15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Matthew Hoops
5e52b0a5d4 MOHAWK: Split the graphics classes into their own files 2012-03-10 13:55:08 -05:00
Bastien Bouclet
72a9f06f93 MOHAWK: Add a return to menu button to the dialog for the demo 2011-08-14 09:18:21 +02:00
Bastien Bouclet
2345228643 MOHAWK: Add specific cursor handling for Myst demo 2011-08-07 16:54:20 +02:00
Matthew Hoops
71c4329d86 MOHAWK: Rework archive handling
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
2011-06-28 12:10:28 -04:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
Max Horn
9ac184bfba MOHAWK: Name the RandomSource used for myst 2011-05-17 12:17:27 +02:00
Bastien Bouclet
9f05f8805d MOHAWK: Fix loading a Myst savegame from the launcher. 2011-05-15 17:41:55 +02:00
Bastien Bouclet
af9dc7a29c MOHAWK: Display a black screen while changing stack. Default to an empty cursor. 2011-05-15 17:41:54 +02:00
Bastien Bouclet
e0e28aaeb2 MOHAWK: Implement "Show Map" feature for Myst ME 2011-05-15 17:41:54 +02:00
Bastien Bouclet
d72037fb72 MOHAWK: Play a sound when dropping a page 2011-05-15 17:41:54 +02:00
Bastien Bouclet
c7f3a4f578 MOHAWK: Implement page drop button for Myst 2011-05-14 19:54:32 +02:00
Bastien Bouclet
0127a888fb MOHAWK: Fix Myst backgrounds being draw one pixel too low on some cards.
Happened in Myst's Generator cave.
2011-05-14 19:54:30 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Matthew Hoops
212b58ad42 MOHAWK: Remove unused runLoadDialog() function 2011-03-07 16:28:28 -05:00