Commit Graph
1366 Commits
Author SHA1 Message Date
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 21317eec72 MOHAWK: The Myst demo and making of don't have save support
Use a GUI option to gray out the load button in the launcher.
2016-03-05 14:43:10 +01:00
Bastien Bouclet 9e57cc166b MOHAWK: Try harder when resuming a stopped video
Fixes turning off the rose-skull projector on Stoneship
2016-03-05 14:43:10 +01:00
Bastien Bouclet 0623a0aa41 MOHAWK: Drawing a single movie frame no longer updates all the movies
Also fixes drawing the last frame of a movie
2016-03-05 14:43:10 +01:00
Bastien Bouclet 3552a185f1 MOHAWK: Adjust the Myst gauge boiler movie to the new VideoHandle semantics
Fixes it not being updated.
2016-03-05 14:43:10 +01:00
Eugene Sandulenko 23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +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 becbe41527 MOHAWK: Continue to poll the events when playing blocking sounds 2016-02-22 09:57:24 +01:00
Bastien Bouclet e54568b889 MOHAWK: Silence a warning 2016-02-22 09:23:34 +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 6f56f2efe1 MOHAWK: Add Save, Load and Quit buttons to the Myst Dialog
So that it is possible to play the game without knowing about the GMM
2016-02-22 08:44:55 +01:00
Bastien Bouclet 524d7ec5ec MOHAWK: Center the options dialog 2016-02-22 08:44:55 +01:00
Bastien Bouclet c3c09a1c83 MOHAWK: MystOptionsDialog should not subclass GUI::OptionsDialog 2016-02-22 08:44:55 +01:00
Bastien Bouclet f3265626ed MOHAWK: Fix Channelwood's opcode 129
It should only play the sound if no other is already playing
2016-02-20 14:00:59 +01:00
Bastien Bouclet 9c99f74bda MOHAWK: Remove an unneeded TODO
The original did not set the argument to wait until the foreground
sound has finished before playing the background sound, so it's fine to
play both at the same time.
2016-02-20 14:00:59 +01:00
Bastien Bouclet 23c251bac9 MOHAWK: Replace an unneeded TODO with an explanation 2016-02-20 14:00:59 +01:00
Bastien Bouclet 84841fa635 MOHAWK: Clip the videos to make sure they don't go outside of the screen 2016-02-20 14:00:59 +01:00
Bastien Bouclet 406cc5a553 MOHAWK: Default to the first card when jumping to the intro stack 2016-02-20 14:00:59 +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 4b81c807c8 MOHAWK: Issue a warning when trying to pop with no card pushed 2016-02-14 09:58:43 +01:00
Bastien Bouclet fe7e58d0d1 MOHAWK: Play the handle going up anim when closing the Myst cabin safe 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 9f1ac5d54c MOHAWK: Allow movie areas to override the playback rate
Unfortunately our QuickTime player does not allow overriding the playback rate
for videos with sound. The steel jaw trap in Channelwood is not played at
125% speed as it should.
2016-02-13 13:52:37 +01:00
Bastien Bouclet f47d7c7328 MOHAWK: Don't close videos when displaying just a frame 2016-02-13 13:52:37 +01:00
Bastien Bouclet fd1f82e227 MOHAWK: Make the conversion from VideoEntryPtr to VideoHandle explicit
So that it is a bit less confusing
2016-02-13 13:52:37 +01:00
Bastien Bouclet 3a4a94bbd2 MOHAWK: Always apply the volume when changing the background sound 2016-02-11 08:30:26 +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 e50f93f298 MOHAWK: Fix Myst's fortress simulator using a hack
The proper solution implies support for playing movies with edit lists backwards
in QT code.
2016-02-07 15:27:03 +01:00
Bastien Bouclet bc687c7216 MOHAWK: Fix two Myst resource stream memory leaks 2016-02-07 15:27:03 +01:00
Bastien Bouclet 22882f54e1 MOHAWK: Fix uninitialized memory accesses in the Myst stacks 2016-02-07 15:27:03 +01:00
Bastien Bouclet 01bfd37919 MOHAWK: Adjust MystAreaVideo::playAreaVideo for the refactored VideoManager
The refactoring in 7e6c8be7db
changed the behavior of VideoManager::playMovie to start stopped
movies.
The refactoring in 9665efa39a
changed the behavior of MystAreaVideo::playAreaVideo to set the position
and looping flag for already playing movies.
This commit hopefuly reverts to the previous behavior for videos
already loaded in VideoManager.
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 de5015dce4 MOHAWK: Fix some incorrect MystArea casts 2016-02-07 15:27:03 +01:00
Bastien Bouclet 727ee86a44 MOHAWK: Don't use static_cast to downcast view resources 2016-02-07 15:27:03 +01:00
Bastien Bouclet 0463e00fb6 MOHAWK: Don't downcast _invokingResource using static_cast 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 e9bab23c79 MOHAWK: Remove MystAreaActionSwitch::_numSubResources 2016-02-07 15:27:03 +01:00
Bastien Bouclet 91097d735e MOHAWK: Factor the MystAreaActionSwitch switch code 2016-02-07 15:27:03 +01:00
Bastien Bouclet afdcbbae98 MOHAWK: Remove MystAreaImageSwitch::_numSubImages 2016-02-07 15:27:03 +01:00
Bastien Bouclet ae93f24267 MOHAWK: Turn MystAreaDrag::ValueList into a Common::Array 2016-02-07 15:27:03 +01:00