1486 Commits

Author SHA1 Message Date
Bastien Bouclet
7884201b43 MOHAWK: RIVEN: Improve some of the main menu translations 2018-06-29 13:31:55 +02:00
Eugene Sandulenko
cfa649d7ac MOHAWK: RIVEN: Restrict new menu to 25th Anniversary games 2018-06-29 13:31:55 +02:00
Bastien Bouclet
24977b814c MOHAWK: RIVEN: Add detection for the 25th Anniversary version 2018-06-29 13:31:55 +02:00
Eugene Sandulenko
b26fe7de39 MOHAWK: RIVEN: Added Japanese font and menu translation 2018-06-29 13:31:54 +02:00
Eugene Sandulenko
09b94b1fc2 MOHAWK: RIVEN: Translated new menu entries 2018-06-29 13:31:54 +02:00
Eugene Sandulenko
be07d10c7a MOHAWK: Drop platform at Riven detection entries
Since we do not distinguish between Win and Mac, we drop the platform
from the detection entries during the autodetection
2018-06-29 13:31:54 +02:00
Bastien Bouclet
6759346bb6 MOHAWK: RIVEN: Show confirmation dialogs on the main menu 2018-06-29 13:31:54 +02:00
Bastien Bouclet
e7cb40dde5 MOHAWK: RIVEN: Use an in-game thumbnail when saving from the menu
Instead of a thumbnail of the menu itself.
2018-06-29 13:31:54 +02:00
Bastien Bouclet
45ab57209f MOHAWK: RIVEN: Fix starting a new game with a game currently active 2018-06-29 13:31:54 +02:00
Bastien Bouclet
a722fe1194 MOHAWK: RIVEN: Fix saving while in the menu 2018-06-29 13:31:54 +02:00
Bastien Bouclet
d848ebe85a MOHAWK: RIVEN: Fix loading and resuming from the main menu 2018-06-29 13:31:54 +02:00
Bastien Bouclet
2f9c9a2c32 MOHAWK: RIVEN: Fix compilation without Riven 2018-06-29 13:31:54 +02:00
Bastien Bouclet
4b900cc432 MOHAWK: RIVEN: Remove the load/save/quit buttons from the options dialog
Those features can now be accessed through the main menu
2018-06-29 13:31:54 +02:00
Bastien Bouclet
dc93e5bb6a MOHAWK: RIVEN: Add more options to the main menu 2018-06-29 13:31:54 +02:00
Bastien Bouclet
86e0089cc6 MOHAWK: RIVEN: Patch in the load menu for the game versions missing it 2018-06-29 13:31:54 +02:00
Eugene Sandulenko
23c889db44 MOHAWK: RIVEN: Localize menus 2018-06-29 13:31:54 +02:00
Eugene Sandulenko
db359f0f0e MOHAWK: RIVEN: Fix crash for German Riven 2018-06-29 13:31:54 +02:00
Bastien Bouclet
2e8d08c1d0 MOHAWK: RIVEN: Add a save button to the main menu 2018-06-29 13:31:54 +02:00
Eugene Sandulenko
0ca52f62a4 MOHAWK: RIVEN: Draw menu with TTF fonts 2018-06-29 13:31:54 +02:00
Eugene Sandulenko
1e9b58ab4b MOHAWK: RIVEN: Show main menu on ESC 2018-06-29 13:31:54 +02:00
Bastien Bouclet
73b3a43b89 MOHAWK: MYST: Introduce a main menu stack
Used in the 25th Anniversary edition of Myst ME
2018-06-29 13:15:01 +02:00
Lothar Serra Mari
c808f33f52 CREDITS: Change nickname for Lothar Serra Mari 2018-06-26 09:15:24 +02:00
Bastien Bouclet
1d731cb6c0
Merge pull request #1220 from dafioram/mystDaySlider
MOHAWK: MYST: Increment y_pos of observatory day slider faster
2018-06-24 17:17:54 +02:00
David Fioramonti
f5e26d22b2 MOHAWK: MYST: Turn FortressRotation into a Direction enum 2018-06-24 16:49:56 +02:00
Bastien Bouclet
18fd6f603d MOHAWK: MYST: Fix incorrect door close sound for the cablin
Fixes Trac#10580.
2018-06-23 08:12:03 +02:00
Bastien Bouclet
b0681082a9 MOHAWK: RIVEN: Fix out of bounds write in the flies effect
Fixes Trac#10579.
2018-06-22 06:35:24 +02:00
Bastien Bouclet
6237bc6e7b MOHAWK: MYST: Fix out of bounds read when redrawing the observatory
The observatory go button computes random 105x106 rectangles in the
512x512 star image. The previous code would allow to go out of bounds by
3 pixels. Interestingly the bug is in the original engine disassembly
perhaps it could crash as well.

Fixes Trac#10576.
2018-06-19 20:21:53 +02:00
David Fioramonti
bfeb2d48e2 MOHAWK: MYST: Increment y_pos of observatory day slider faster
Fixes Trac#10572.

The day slider does not go all the way to the bottom (day 31st)
when the down arrow is used to increment the day. This change
increases how much y displacement happens with each change
in the day so that the bottom is reach on day 31st.

This is just a graphical bug and doesn't affect the logic
of the puzzle. The day slider can also be dragged to the bottom
without using the buttons.
2018-06-19 05:23:59 -07:00
Bastien Bouclet
c0fa7ceae5 MOHAWK: MYST: Clean up the options dialog
Also load and save games using ctrl-o / ctrl-s.
2018-06-14 21:04:44 +02:00
Bastien Bouclet
2de359f23d MOHAWK: MYST: Make the scripts time accounting pause safe 2018-06-13 08:00:29 +02:00
Bastien Bouclet
47ddd9c214 MOHAWK: MYST: Move the current stack id to ScriptParser 2018-06-13 07:55:55 +02:00
Bastien Bouclet
ea60aef8a8 MOHAWK: MYST: Simplify memory management of the active stack 2018-06-13 07:55:55 +02:00
Bastien Bouclet
13b3371f1a MOHAWK: MYST: Extract a Card class out of the main engine class
This is to allow having multiple cards loaded at the same time in the
future.
2018-06-13 07:55:55 +02:00
Bastien Bouclet
3b794d2633 MOHAWK: Display a GUI error message when no audio devices are available 2018-06-07 20:14:27 +02:00
Bastien Bouclet
61f9398b04
Merge pull request #1187 from bgK/detection-refactor-unknown
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
Bastien Bouclet
8d654285cb MOHAWK: MYST: Fix drawing the Stoneship red page open door
When the lights are on, the open door image would not draw at the
correct position in Myst ME only.

This is due to the open door image being too small. The original has a
special case for that image. We reproduce that same hack.

Fixes Trac#7143.
2018-05-28 15:20:09 +02:00
Bastien Bouclet
35f4983ca1
Merge pull request #1201 from ccawley2011/mohawk-sound
MOHAWK: Fix decoding sounds with 16 bit samples
2018-05-28 10:44:21 +02:00
Bastien Bouclet
2925d2ef2f
Merge pull request #1198 from dafioram/mohawk10536
MOHAWK: README: Minor autosave changes and notes for autosaving
2018-05-26 09:01:57 +02:00
Cameron Cawley
8f1d1836f3 MOHAWK: Fix decoding sounds with 16 bit samples 2018-05-24 17:22:15 +01:00
Adrian Frühwirth
cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
David Fioramonti
6041e4aca1 MOHAWK: Allow non-autosaves in autosave slot to be deletable
With the addition of autosaving support, deleting saves
(via the gui) to slot 0 was disabled, but for saves that
have been previousl created by the user it make sense
that they should be allowed to delete a save in slot 0.

Fixes Trac#10536.
2018-05-22 19:47:00 -07:00
David Fioramonti
0500096703 MOHAWK: MYST: Do not autosave over saves from the original
The previous logic was enabling autosaving if the metadata
file was not present, but saves from the original
don't have metadata. Now it checks if the non-metadata
file can be loaded to determine if the slot is empty.
2018-05-22 19:47:00 -07:00
David Fioramonti
37791c4bd3 MOHAWK: RIVEN: Add Autosave Support
The game will autosave to slot 0 using the save
period given in the scummvm config file.
Or when the user quits.

Autosaves are only allowed when an autosave is
in slot 0, there is no save in slot 0, or there
is a save, but it is corrupt.

This will not override any saves the player
has previously put in save slot 0. If there
is a save in slot 0 that is not an autosave
then there will be no autosaving.
2018-05-20 15:17:14 +02:00
Bastien Bouclet
5ee24f3970 MOHAWK: MYST: Fix repeatedly trying to autosave when not allowed
Fixes trying to open the save on slot 0 on each frame when it is not an
autosave.
2018-05-20 10:05:12 +02:00
Bastien Bouclet
4396b011ac MOHAWK: MYST: Fix the Wii/GameCube build 2018-05-19 18:23:45 +02:00
David Fioramonti
719c2b8374 MOHAWK: MYST: Autosave to Slot 0
The game will autosave to slot 0 using the save
period given in the scummvm config file
or when the user exits using the GMM.

Autosaves are only allowed when an autosave is
in slot 0 or there is no save in slot 0.

This will not override any saves the player
has previously put in save slot 0. If there
is a save in slot 0 that is not an autosave
then there will be no autosaving.
2018-05-19 17:56:05 +02:00
Bastien Bouclet
43babaeef8 MOHAWK: RIVEN: Always release the prison combination buttons
Fixes Trac#10525.
2018-05-18 19:28:27 +02:00
Bastien Bouclet
4e77445086 MOHAWK: MYST: Opcode 102 in Channelwood can only set the volume to non 0 values
Fixes Trac#10532.
2018-05-17 20:49:28 +02:00
Bastien Bouclet
6798f9c77e MOHAWK: Don't allow displaying the map when the game is not interactive
Fixes Trac#10526 and Trac#10531.
2018-05-17 20:49:28 +02:00
Bastien Bouclet
44fd44ccc9 MOHAWK: Remove detection entries for games not supported by the engines 2018-05-17 20:49:28 +02:00