diff options
author | Alexander Tkachev | 2016-06-07 19:33:00 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | ab1d160ec8f99e472667b83aa4bdd7697b702f3a (patch) | |
tree | 7b52ca273b683c485ce59a85b8722a6f43ba8014 /engines/sword2 | |
parent | bf71ba9a1c98b39647edb248e913322ee38a0af5 (diff) | |
download | scummvm-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/sword2')
-rw-r--r-- | engines/sword2/sword2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index 44371bf6cf..3213a26e4c 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -97,6 +97,7 @@ public: virtual GameDescriptor findGame(const char *gameid) const; virtual GameList detectGames(const Common::FSList &fslist) const; virtual SaveStateList listSaves(const char *target) const; + virtual bool simpleSaveNames() const; virtual int getMaximumSaveSlot() const; virtual void removeSaveState(const char *target, int slot) const; @@ -256,6 +257,8 @@ SaveStateList Sword2MetaEngine::listSaves(const char *target) const { return saveList; } +bool Sword2MetaEngine::simpleSaveNames() const { return true; } + int Sword2MetaEngine::getMaximumSaveSlot() const { return 999; } void Sword2MetaEngine::removeSaveState(const char *target, int slot) const { |