1057 Commits

Author SHA1 Message Date
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 7e6c8be7db2449c1f793b6fb01af5613282e7f27
changed the behavior of VideoManager::playMovie to start stopped
movies.
The refactoring in 9665efa39a4df000eb695329a9b81c1657f4dc10
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
Bastien Bouclet
cddb5cd53a MOHAWK: Rename Myst's Area classes 2016-02-07 15:27:03 +01:00
Bastien Bouclet
085f3700f7 MOHAWK: Make MystResourceType8::_subImages private 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
ce25cdf8dc MOHAWK: Add override qualifiers to the Myst code 2016-02-07 15:27:03 +01:00
Bastien Bouclet
25330c714e MOHAWK: Add missing virtual attributes to MystResourceType11 2016-02-07 15:27:03 +01:00
Bastien Bouclet
47bc90f5a3 MOHAWK: Remove some dead code 2016-02-07 15:27:03 +01:00
Bastien Bouclet
e0e7790dfb MOHAWK: Fix the getter for Channelwood's var 32 2016-01-13 19:22:06 +01:00
Filippos Karapetis
cfdeb56610 MOHAWK: Correct the submitter of the Italian version of Myst
A copy a paste error
2016-01-13 11:43:35 +02:00
Filippos Karapetis
030dd7aaf9 MOHAWK: Add detection for the Italian version of Myst (bug #6895) 2016-01-13 03:44:04 +02:00