aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-07 19:33:00 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitab1d160ec8f99e472667b83aa4bdd7697b702f3a (patch)
tree7b52ca273b683c485ce59a85b8722a6f43ba8014 /engines/sword25
parentbf71ba9a1c98b39647edb248e913322ee38a0af5 (diff)
downloadscummvm-rg350-ab1d160ec8f99e472667b83aa4bdd7697b702f3a.tar.gz
scummvm-rg350-ab1d160ec8f99e472667b83aa4bdd7697b702f3a.tar.bz2
scummvm-rg350-ab1d160ec8f99e472667b83aa4bdd7697b702f3a.zip
ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over.
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/detection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sword25/detection.cpp b/engines/sword25/detection.cpp
index c5f55b5a26..1c4544c76a 100644
--- a/engines/sword25/detection.cpp
+++ b/engines/sword25/detection.cpp
@@ -69,6 +69,7 @@ public:
virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const;
virtual int getMaximumSaveSlot() const { return Sword25::PersistenceService::getSlotCount(); }
virtual SaveStateList listSaves(const char *target) const;
+ virtual bool simpleSaveNames() const;
};
bool Sword25MetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
@@ -109,6 +110,8 @@ SaveStateList Sword25MetaEngine::listSaves(const char *target) const {
return saveList;
}
+bool Sword25MetaEngine::simpleSaveNames() const { return false; }
+
#if PLUGIN_ENABLED_DYNAMIC(SWORD25)
REGISTER_PLUGIN_DYNAMIC(SWORD25, PLUGIN_TYPE_ENGINE, Sword25MetaEngine);
#else