David Fioramonti
535c47fced
MOHAWK: RIVEN: Delay less for slower systems
...
Some systems may take longer to process the game loop
than others so we delay by a variable amount so faster
and slower system execute the game loop the same number
of times per second (the fps is capped at 100).
Slower systems that take longer than 10ms to process the game
loop won't have any delay.
2018-08-11 10:47:37 +02:00
Bastien Bouclet
3a7f85971f
MOHAWK: MYST: Add support for the localized 25th games
2018-07-30 20:13:16 +02:00
Bastien Bouclet
b40e93e11a
MOHAWK: Push down the include of advancedDetector.h
...
So the whole engine is not recompiled when making changes to the
detection code.
2018-06-30 21:57:18 +02:00
Bastien Bouclet
573fa47f94
MOHAWK: RIVEN: Fix loading autosaves saved while on the main menu
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
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
dc93e5bb6a
MOHAWK: RIVEN: Add more options to the main menu
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
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
84b2dc5cc8
MOHAWK: Fix some clang-tidy warnings
2018-03-31 13:36:09 +02:00
Eugene Sandulenko
f54e528677
MOHAWK: Added override clauses
2018-03-28 12:28:27 +02:00
Bastien Bouclet
a33548c0d2
MOHAWK: RIVEN: Add keyboard shortcuts for loading and saving
...
Those shortcuts are documented in the original game manual.
2017-12-20 19:16:07 +01:00
Bastien Bouclet
3007bbe178
MOHAWK: Riven: Load only the data files for the current game version
...
The Steam version is a DVD version, but also has files from the CD
version in the data folder. We need to load only the files from the DVD
version to prevent data inconsistencies.
Also check on startup that all the required datafiles are present.
Possibly fixes #10052 .
2017-08-06 13:13:28 +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
69dc56ad0f
MOHAWK: Riven: Patch prison island dome switch sound change
...
Fixes #9958 .
2017-07-14 08:16:01 +02:00
Bastien Bouclet
c3bbae041a
MOHAWK: Riven: Improve save load error handling
...
A GUI error message is now displayed if an error occurs when loading a
save.
2017-07-12 22:00:33 +02:00
Bastien Bouclet
d6fd0ac626
MOHAWK: Riven: Fix card leave scripts when changing stacks
...
Card leave scripts were using data from the new stack, whereas they
should have been using data from the old stack to which they belong.
Fixes Trac#9928.
2017-07-11 08:29:59 +02:00
Bastien Bouclet
95951eebf7
MOHAWK: Get rid of refreshCard
2017-07-03 08:50:10 +02:00
Bastien Bouclet
b0ee5772fb
MOHAWK: Remove unused / not working functions
2017-07-03 08:50:10 +02:00
Bastien Bouclet
64c1a1d2b2
MOHAWK: Switch enabling the debug rectangles to a console var
2017-07-03 08:50:10 +02:00
Bastien Bouclet
ea303ab682
MOHAWK: Switch timers to script commands
2017-07-03 08:50:10 +02:00
Bastien Bouclet
44943e1285
MOHAWK: Change the delay function not to have an event loop
...
Fixes events getting lost during delays
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
9153393219
MOHAWK: Allow games to opt out of the default video manager
2017-07-03 08:50:10 +02:00
Bastien Bouclet
3900597996
MOHAWK: Implement card transitions for Riven
2017-07-03 08:50:10 +02:00
Bastien Bouclet
ae6f248616
MOHAWK: Move Riven's sunner alert handling to the jungle stack
2017-07-03 08:50:10 +02:00
Bastien Bouclet
f0267d542f
MOHAWK: Keep turning pages while the mouse is pressed in Atrus' book
2017-07-03 08:50:10 +02:00
Bastien Bouclet
7a9b91dfcd
MOHAWK: Improve script debug output
2017-07-03 08:50:10 +02:00
Bastien Bouclet
0ba035eea6
MOHAWK: Move Riven inventory code to a new class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
22926a1835
MOHAWK: Move the timer callbacks to the stacks
2017-07-03 08:50:10 +02:00
Bastien Bouclet
efcf38f95f
MOHAWK: Factor out stack name-id mapping
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
Bastien Bouclet
05bed84a85
MOHAWK: Rename the card and stack accessors
2017-07-03 08:50:10 +02:00
Bastien Bouclet
670a3c4558
MOHAWK: Move card id remapping to RivenStack
2017-07-03 08:50:10 +02:00
Bastien Bouclet
3c8decec0a
MOHAWK: Move the resource names to RivenStack
2017-07-03 08:50:10 +02:00
Bastien Bouclet
f752066a8e
MOHAWK: Introduce a new RivenStack class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
9b2c90c0b3
MOHAWK: The ignoreNextMouseUp workaround is not necessary anymore
...
We now check the mouse up event happens on the same hotspot as the
mouse down event.
2017-07-03 08:50:10 +02:00
Bastien Bouclet
c1331e124f
MOHAWK: Move the current hotspot to RivenCard
2017-07-03 08:50:10 +02:00
Bastien Bouclet
4bdf88496d
MOHAWK: Move Riven's name lists to a separate class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
099b3b3d8f
MOHAWK: Move the hotspot list to RivenCard
...
Also replace all hardcoded accesses to the hotspot array with hotspot queries.
2017-07-03 08:50:10 +02:00
Bastien Bouclet
67d9a3c71b
MOHAWK: Make the RivenHotspot fields private
2017-07-03 08:50:10 +02:00
Bastien Bouclet
6b988670e8
MOHAWK: Turn the active hotspot into a pointer
2017-07-03 08:50:10 +02:00
Bastien Bouclet
23bbf05c91
MOHAWK: Start converting RivenHotspot into a class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
2fbe284a31
MOHAWK: Chane Riven's graphics manager to automatically handle screen updates
2017-07-03 08:50:10 +02:00
Bastien Bouclet
1bb5424ddd
MOHAWK: Move PLST handling to the RivenCard class
2017-07-03 08:50:10 +02:00
Bastien Bouclet
abe6889bbe
MOHAWK: Remove the current card id from the Riven engine class
2017-07-03 08:50:10 +02:00