scummvm/engines/scumm
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
..
he JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
imuse SCUMM: Remove superfluous 'else' in IMuseInternal::ImSetTrigger() 2018-05-07 22:21:42 +02:00
imuse_digi COMMON: Move VER macro for serializer into common code 2018-01-31 17:58:01 +01:00
insane SCUMM: Add missing break to INSANE code. Thanks to eriktorbjorn and GCC7 2017-08-11 20:13:24 +02:00
players ALL: Use CLIP to clip volumes 2018-05-05 17:57:31 +02:00
smush SCUMM: Fix some class initializations 2016-11-19 17:30:16 +01:00
actor.cpp SCUMM: MM V0: Fix regression from 038b3b1789 and comment/cleanup 2018-03-12 11:36:04 +01:00
actor.h SCUMM: MM V0: Fix regression from 038b3b1789 and comment/cleanup 2018-03-12 11:36:04 +01:00
actor_he.h
akos.cpp
akos.h
base-costume.cpp
base-costume.h
bomp.cpp
bomp.h
boxes.cpp SCUMM: Maniac V0: Implement 'simulator' for CPU lag (as the original engine occasionally ran at less than 60Hz). Fix call to 'getClosestPtOnBox', whcih was being passed X * V12_X_MULTIPLIER and Y * V12_Y_MULTIPLIER, but the box coordinates, where not 2016-07-19 20:39:58 +10:00
boxes.h
camera.cpp SCUMM: Simplify clampCameraPos() using CLIP 2018-05-07 19:54:45 +02:00
cdda.cpp
cdda.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
charset-fontdata.cpp SCUMM: Fix bugs #7070, #7071. 2016-03-09 01:22:12 +01:00
charset.cpp SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
charset.h COMMON: Move VER macro for serializer into common code 2018-01-31 17:58:01 +01:00
configure.engine CONFIGURE: Introduced new engine dependency: highres 2016-03-05 14:25:56 +01:00
costume.cpp SCUMM: Fix bug #6817 (V1 Actors drawn 1 line too high) 2016-12-27 10:21:23 +11:00
costume.h
cursor.cpp COMMON: Move VER macro for serializer into common code 2018-01-31 17:58:01 +01:00
debugger.cpp SCUMM: Add actor/object names to debug output 2016-07-02 12:22:50 +03:00
debugger.h
detection.cpp SCUMM: Protect autosave (slot 0) from deletion/overwriting 2018-05-01 22:34:00 +02:00
detection.h
detection_tables.h SCUMM HE: Use Miles AdLib driver 2018-02-04 12:56:06 +01:00
dialogs.cpp GUI: Remove the ThemeItem draw queues 2018-03-12 11:46:04 +01:00
dialogs.h SCUMM: Mark methods as override 2018-03-28 12:01:38 +02:00
file.cpp SCUMM: Set initial EOS state in Scumm::File class 2016-11-27 14:02:52 +01:00
file.h
file_nes.cpp
file_nes.h
gfx.cpp SCUMM: Maniac V0: Implement 'simulator' for CPU lag (as the original engine occasionally ran at less than 60Hz). Fix call to 'getClosestPtOnBox', whcih was being passed X * V12_X_MULTIPLIER and Y * V12_Y_MULTIPLIER, but the box coordinates, where not 2016-07-19 20:39:58 +10:00
gfx.h SCUMM: Maniac V0: Clear the text area of the screen on fade out 2016-07-17 16:40:49 +10:00
gfx_towns.cpp SCUMM: Properly inint FM-TOWNS gfx code 2016-11-27 14:02:52 +01:00
gfxARM.s
help.cpp ALL: game state => saved game 2016-11-29 20:15:20 +01:00
help.h
input.cpp SCUMM: Fix interrupting speech not working with AZERTY keyboard 2018-03-24 18:17:24 +00:00
midiparser_ro.cpp JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
module.mk SCUMM HE: Use Miles AdLib driver 2018-02-04 12:56:06 +01:00
music.h SCUMM HE: Use Miles AdLib driver 2018-02-04 12:56:06 +01:00
nut_renderer.cpp
nut_renderer.h
object.cpp SCUMM: Fix possible return of garbage values 2017-12-01 19:22:52 -06:00
object.h
palette.cpp
POTFILES SCUMM: Expose COMI's object_labels setting as an extra GUI option 2016-04-01 21:38:50 +03:00
proc3ARM.s
resource.cpp JANITORIAL: Fix clang printf warnings 2016-01-07 14:55:32 +02:00
resource.h
resource_v2.cpp JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
resource_v3.cpp
resource_v4.cpp
room.cpp
saveload.cpp ALL: Load savegame thumbnail only when necessary 2018-04-07 09:26:20 +02:00
script.cpp SCUMM: Fix array overflow writing var when no current script is set 2017-12-01 19:39:30 -06:00
script.h
script_v0.cpp JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
script_v2.cpp Merge pull request #902 from segrax/Fix_4556 2017-02-21 23:33:17 +01:00
script_v3.cpp
script_v4.cpp
script_v5.cpp SCUMM: Add missing return statement 2017-08-11 20:20:25 +02:00
script_v6.cpp SCUMM: Prevent darkenPallete() in Room 0 in FT, fixes bug #9871 2017-08-17 09:47:03 +01:00
script_v8.cpp
scumm-md5.h SCUMM HE: Use Miles AdLib driver 2018-02-04 12:56:06 +01:00
scumm.cpp SCUMM: Improve autosave handling 2018-05-10 17:51:30 +00:00
scumm.h SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
scumm_v0.h SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
scumm_v2.h SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
scumm_v3.h
scumm_v4.h JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
scumm_v5.h SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
scumm_v6.h SCUMM HE: Moved Moonbase stuff to v90he 2016-05-22 00:45:04 +02:00
scumm_v7.h SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
scumm_v8.h
sound.cpp SCUMM: Replace UB-triggering serialization code with Common::Serializer 2018-01-31 17:58:01 +01:00
sound.h COMMON: Move VER macro for serializer into common code 2018-01-31 17:58:01 +01:00
string.cpp SCUMM: Reduce audio header dependencies 2016-05-21 13:55:38 +03:00
usage_bits.cpp
usage_bits.h
util.cpp
util.h
vars.cpp SCUMM HE: Moved remnants of Moonabse to HE100 2016-05-26 21:53:23 +02:00
verbs.cpp JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
verbs.h