Commit graph

8 commits

Author SHA1 Message Date
David Fioramonti
51351111d4 MOHAWK: RIVEN: Only use x mouse position to move dome sliders
Fixes Trac#10642.

The original engine will move the dome sliders whenever the player is
dragging a dome slider to the left or right regardless of y position.

In ScummVM the dome slider position would only change to the players x
mouse position when the y value was also in the slider hotspot. This
change removes the y check by making the point to be checked always
have a y value in the hotspot rect.

The x values are also bound to the max and min value that any of the
slider hotspots can have. This allows the slider to go all the way to
the left and right even if the user has gone past the slider area
to the left or right while still holding the slider.
2018-07-27 16:16:29 +02:00
Bastien Bouclet
69c1f70818 MOHAWK: Riven: Let the gameloop gracefully end when quitting
Prevents the quit confirmation dialog from being displayed at the end of
the game's ending if it is enabled.

Fixes #9943.
2017-07-29 18:20:45 +02:00
Bastien Bouclet
ee70244fbf MOHAWK: Check the Garden island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet
006dcf6a74 MOHAWK: Check the Jungle island external commands against the original 2017-07-03 08:50:10 +02:00
Bastien Bouclet
f977b57123 MOHAWK: Rewrite the Riven movie manager 2017-07-03 08:50:10 +02:00
Bastien Bouclet
7609ec0de8 MOHAWK: Use explicit bitmap names for the dome sliders 2017-07-03 08:50:10 +02:00
Bastien Bouclet
14bbf8aab4 MOHAWK: Move the external commands to their respective stacks 2017-07-03 08:50:10 +02:00
Bastien Bouclet
e2c5609e81 MOHAWK: Prepare empty classes for the Riven stacks 2017-07-03 08:50:10 +02:00