ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
This commit is contained in:
parent
b8fae56c67
commit
b665fc933d
53 changed files with 68 additions and 186 deletions
|
@ -138,7 +138,6 @@ public:
|
|||
|
||||
virtual bool hasFeature(MetaEngineFeature f) const;
|
||||
SaveStateList listSaves(const char *target) const;
|
||||
virtual bool simpleSaveNames() const;
|
||||
virtual int getMaximumSaveSlot() const;
|
||||
void removeSaveState(const char *target, int slot) const;
|
||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
|
||||
|
@ -152,7 +151,8 @@ bool LabMetaEngine::hasFeature(MetaEngineFeature f) const {
|
|||
(f == kSavesSupportMetaInfo) ||
|
||||
(f == kSavesSupportThumbnail) ||
|
||||
(f == kSavesSupportCreationDate) ||
|
||||
(f == kSavesSupportPlayTime);
|
||||
(f == kSavesSupportPlayTime) ||
|
||||
(f == kSimpleSavesNames);
|
||||
}
|
||||
|
||||
bool Lab::LabEngine::hasFeature(EngineFeature f) const {
|
||||
|
@ -192,8 +192,6 @@ SaveStateList LabMetaEngine::listSaves(const char *target) const {
|
|||
return saveList;
|
||||
}
|
||||
|
||||
bool LabMetaEngine::simpleSaveNames() const { return true; }
|
||||
|
||||
int LabMetaEngine::getMaximumSaveSlot() const {
|
||||
return 999;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue