Commit Graph
14 Commits
Author SHA1 Message Date
Torbjörn Andersson 5aaa67fac2 TRECISION: Fix thumbnail when using ScummVM menu to save (bug #13834)
When saving from the game's control panel, we use the thumbnail that was
created before the control panel opened. But when using the ScummVM
menu, we need to generate the thumbnail as usual. Otherwise, there may
not be any thumbnail at all, causing the save to fail.
2023-12-02 14:40:33 +02:00
Cameron Cawley 3c61812ed8 TRECISION: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
Orgad Shaneh 7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
SupSuper f45aefcf2b TRECISION: Move save listing to MetaEngine 2021-06-05 06:24:30 +01:00
SupSuper 2ba59e97fd TRECISION: Enable Return to Launcher 2021-05-29 21:24:42 +01:00
Strangerke 3f706cfea2 TRECISION: rename some functions, Fix an include 2021-05-29 21:24:36 +01:00
Strangerke 2b187b3bad TRECISION: Move hasFeature to metaengine.cpp 2021-05-29 21:24:36 +01:00
Filippos Karapetis 59d854e30b TRECISION: Initial support for the demo version of Nightlong 2021-05-29 21:24:27 +01:00
Filippos Karapetis 9bad3ab715 TRECISION: Add a TODO about the overriden getSavegameThumbnail() method 2021-05-29 21:23:24 +01:00
Filippos Karapetis 673b6eff6d TRECISION: Clean up the slot loading code and fix ScummVM thumbnails 2021-05-29 21:23:24 +01:00
SupSuper 7cc6b1cedc TRECISION: Move save code to engine 2021-05-29 21:23:21 +01:00
SupSuper 352adbfd78 TRECISION: New engine 2021-05-29 21:22:48 +01:00