Commit Graph
54649 Commits
Author SHA1 Message Date
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
lotharsm d6e6aca7e3 QUEEN: Add detection entry for Italian GoG.com release 2018-05-22 09:54:38 +02:00
lotharsm cb33dd6de3 QUEEN: Add detection entry for French GoG.com release 2018-05-22 09:54:38 +02:00
lotharsm ff68947ac1 QUEEN: Add detection entry for German GoG.com release 2018-05-22 09:54:38 +02:00
Eugene Sandulenko ae2637e36e FULLPIPE: Properly reserve arrays when deserializing. Pointed by whiterandrek 2018-05-21 22:32:24 +02:00
Adrian Frühwirth 07efcfd458 SCUMM: Fix wrong comment about iMUSE digital variable 2018-05-21 11:24:40 +02:00
Adrian Frühwirth c7f3416daa JANITORIAL: Remove trailing whitespace 2018-05-20 23:40:20 +02:00
Adrian Frühwirth 5dda21c1c2 MADE: Do not attempt to read from non-existing file
Fixes Trac#10534.
2018-05-20 19:53:14 +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
David Fioramonti 1606d6688d WINTERMUTE: Update deg2rad usage 2018-05-20 11:21:06 +01:00
David Fioramonti d52937cc7e SCI: Update rad2deg usage 2018-05-20 11:21:06 +01: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
Adrian Frühwirth 98067b0fe6 WINTERMUTE: Properly fix handling of Ogg Vorbis resources 2018-05-19 21:03:15 +02:00
Cameron Cawley d022572f16 WINTERMUTE: Fix loading Vorbis files
Fixes Trac#10533
2018-05-19 16:31:57 +00: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
Bastien Bouclet 2a02e0311d MOHAWK: Remove midi playback
This was unused and not touched for many years
2018-05-17 20:49:28 +02:00
JenniBee 5090b6cbbb WINTERMUTE: Add flag for games using low-spec resources. 2018-05-17 18:08:18 +00:00
Paul Gilbert 0aed2452c6 XEEN: Refresh screen at a higher rate for more responsive mouse 2018-05-14 19:58:58 -04:00
Paul Gilbert d5444f2dd7 XEEN: Fix accumulation of gold & gems from defeated enemies 2018-05-14 19:43:41 -04:00
Paul Gilbert f3bccbd6b0 XEEN: Fix animation speed when Control Panel is open 2018-05-11 06:54:32 -04:00
Adrian Frühwirth 5cc607f329 TOUCHE: Add TODO 2018-05-10 20:18:25 +02:00
Adrian Frühwirth 8cb0109b40 SCUMM: Improve autosave handling
v5+ scripts can request saving/loading of savegames, this type of
savegame is internally called a "temporary" savegame
(_saveStateTemporary == true) which is invisible to the user (I'm not
sure whether this is by design or not).

Currently the savegame handling in scummLoop_handleSaveLoad() doesn't
distinguish between such temporary savegames and normal autosaves and
unconditionally resets _lastSaveTime (even after loading).
This has the unwanted side effect of potentially delaying the creation
of normal autosaves which are supposed to be created in accordance with
the autosave period setting in the GUI.

This commit makes sure that _lastSaveTime only gets updated if and only
if saving a (non-temporary) autosave.
2018-05-10 17:51:30 +00:00
Eugene Sandulenko 5b604e42e2 AGOS: Mark 25th Anniversary releases as MT-32 hack, not a fix 2018-05-10 16:59:53 +02:00
Bastien Bouclet 77f24f36ac MOHAWK: RIVEN: Add a detection entry for another DVD version 2018-05-10 16:18:07 +02:00
Bastien Bouclet b2ba147d96 MOHAWK: RIVEN: Hide the mouse cursor after pressing a prison code button
It now matches the behavior of the original engine.

Fixes #10521.
2018-05-10 16:06:40 +02:00
Eugene Sandulenko 9729b09919 AGOS: Added detection and support for Simon2 25th Anniversary Edition 2018-05-10 12:22:47 +02:00
Bastien Bouclet 1dcb8076db ENGINES: Remove usage of C++11 extended initializer lists 2018-05-10 09:26:26 +02:00
Bastien Bouclet 2fe060e5c9 ENGINES: Cleanup DetectedGame initialization in the AD 2018-05-10 09:04:23 +02:00
Bastien Bouclet 90b78c5446 ENGINES: Merge GameDescriptor and DetectedGame 2018-05-10 09:04:23 +02:00
Bastien Bouclet faa2534f46 ENGINES: Factor adding games to ConfMan 2018-05-10 09:04:23 +02:00
Bastien Bouclet 1de5aca585 ENGINES: Set the GameDescriptor decription in the constructor 2018-05-10 09:04:23 +02:00
Bastien Bouclet 5aff87dc15 ENGINES: Turn GameDescriptor into a simple struct 2018-05-10 09:04:23 +02:00
Bastien Bouclet 643c24db75 ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptors 2018-05-10 09:04:23 +02:00
Bastien Bouclet 8fb149e3c7 ENGINES: Change MetaEngine::findGame to return a plain game descriptor 2018-05-10 09:04:23 +02:00
Bastien Bouclet cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Bastien Bouclet 9587dd5c21 ENGINES: Fix clang-tidy warnings 2018-05-10 07:50:44 +02:00
Peter Helbing ccc4ec963f XEEN: Fix voice playback from track 31
Track 31 is on the first cd, but contains speech for Darkside content
(e.g. Ellinger). It is referenced as track 31, so the offset must not
be added.
2018-05-08 20:28:29 +09:00
Bastien Bouclet 25736a0b5d MOHAWK: RIVEN: Add a script patch fixing incorrect steam sound in a view
Fixes Trac#10516.
2018-05-08 06:55:24 +02:00
Adrian Frühwirth 9702288338 JANITORIAL: Fix indentation 2018-05-07 23:09:02 +02:00
Adrian Frühwirth 7ebbb12dfb SCUMM: Remove superfluous 'else' in IMuseInternal::ImSetTrigger()
Both means to calculate `diff` are essentially equal because
wraparound of unsigned integers is well-defined and does what
the 'else' branch is simulating manually. Because of this,
gcc complains when compiling with -Wduplicated-branches.
2018-05-07 22:21:42 +02:00
Adrian Frühwirth f58731cfae SAGA: Enforce code formatting guidelines 2018-05-07 20:06:31 +02:00
Adrian Frühwirth 0cbea68e76 SAGA: Fix whitespace 2018-05-07 20:06:30 +02:00
Adrian Frühwirth dcd4785009 DRACI: Enforce code formatting guidelines 2018-05-07 20:06:30 +02:00
Adrian Frühwirth 990a0c203a TSAGE: Enforce code formatting guidelines 2018-05-07 20:06:30 +02:00