982 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
2d45896977 MOHAWK: Added detection for Russian Riven 2016-01-12 23:53:14 +01:00
Bastien Bouclet
7be4a74305 MOHAWK: Fix incorrect condition in Myst's sound block opcode 2016-01-12 19:34:28 +01:00
Strangerke
0b4a1ec223 MOHAWK: Add a comment about suspicious dead code in o_changeBackgroundSound 2016-01-12 10:56:25 +01:00
Bastien Bouclet
8dd9d44b1f MOHAWK: Fix loading the Myst cabin gauge movie 2015-12-14 20:24:46 +01:00
Matthew Hoops
030e4d0608 AUDIO: Make Rewindable- and SeekableAudioStream inherit virtually 2015-08-30 19:53:53 -04:00
Matthew Hoops
ee9929957c MOHAWK: Use floor instead of round
round() is C99; floor() and adding 0.5 to the parameter is sufficient. Probably having detection for floor() and a compatibility definition otherwise would make sense.
2015-08-19 22:47:09 -04:00
Matthew Hoops
d749152cb6 MOHAWK: Implement drawing the marbles a step away from the grid
Much thanks to fuzzie
2015-07-19 17:38:14 -04:00
Matthew Hoops
6cc72fc0c8 MOHAWK: Improve the slashes-in-file-names fix 2015-07-17 20:15:27 -04:00
Matthew Hoops
9665efa39a MOHAWK: Move further VideoManager functionality to VideoEntry 2015-07-17 20:05:04 -04:00
Matthew Hoops
7e6c8be7db MOHAWK: Make video handles actual objects 2015-07-17 20:05:00 -04:00
Torbjörn Andersson
02db919050 MOHAWK: Add detection for v1.0 of Just Grandma and Me, Mac version
Did I really forget to push this until now?
2015-07-08 19:24:49 +02:00
Matthew Hoops
47aa40104d MOHAWK: Fix slashes in LB file names, as used by Just Grandma and Me Mac
Fixes bug #6294
2015-07-07 20:14:58 -04:00
Matthew Hoops
f4ee8399b0 MOHAWK: Document and skip Arthur's Reading Race minigames 2015-07-05 02:37:00 -04:00
Matthew Hoops
4025c20ea4 MOHAWK: Fix parsing the Arthur's Computer Adventure globals section 2015-07-04 12:35:37 -04:00
Alyssa Milburn
273f4ae945 MOHAWK: Implement xpos/ypos for LB. 2015-07-03 17:42:48 +02:00
Alyssa Milburn
97fcc16a4d MOHAWK: Implement deleteVar for LB. 2015-07-03 17:38:00 +02:00
Alyssa Milburn
327899c7d2 MOHAWK: Implement width/height for LB. 2015-07-03 17:32:14 +02:00
Matthew Hoops
d521ece7cb MOHAWK: Set dithering on any original Myst video
Fixes display of the library "swirl" video
2015-04-12 20:18:31 -04:00
Matthew Hoops
3323af355d MOHAWK: Allow Myst to compile without RGB colors 2015-04-11 15:31:20 -04:00
Matthew Hoops
a5992a08a0 MOHAWK: Run Myst in 8bpp 2015-04-11 14:37:17 -04:00
Filippos Karapetis
ce40801f5b MOHAWK: Comment out unused constant
Thanks to fingolfin for finding this unused code
2014-12-07 15:48:11 +02:00
Bastien Bouclet
131dcb0aad MOHAWK: Reset some Myst state variables as per the original
This fixes a bug where the player could be stuck on Channelwood's
lower level with the elevator on the upper level.

This also turns the light off on Stoneship when entering the age,
since the battery is depleted.

Thanks to dtungsten for submitting this fix in PR#478.
2014-07-08 20:13:29 +02:00
D G Turner
19ab6082d5 MOHAWK: Add version number for Riven Italian detection entry.
Also, annotate lanuage comment for preceding entry.
2014-06-10 22:37:13 +01:00
D G Turner
9d33b09885 MOHAWK: Add Detection Entry for Italian 5-CD version of Riven.
This closes bug #6629.
2014-06-09 17:24:55 +01:00
Johannes Schickel
7b32db3b37 MOHAWK: Use float constants in Myst code.
This silences some float conversion warnings.
2014-06-02 01:00:15 +02:00