ENGINES: Provide a default MetaEngine::hasFeature with extended save options on
This commit is contained in:
parent
2d09358030
commit
9f8c45ac4e
5 changed files with 13 additions and 29 deletions
|
@ -129,6 +129,18 @@ Common::KeymapArray MetaEngine::initKeymaps(const char *target) const {
|
|||
return Keymap::arrayOf(engineKeyMap);
|
||||
}
|
||||
|
||||
bool MetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsListSaves) ||
|
||||
(f == kSupportsDeleteSave) ||
|
||||
(f == kSavesSupportMetaInfo) ||
|
||||
(f == kSavesSupportThumbnail) ||
|
||||
(f == kSavesSupportCreationDate) ||
|
||||
(f == kSavesSupportPlayTime) ||
|
||||
(f == kSupportsLoadingDuringStartup) ||
|
||||
(f == kSavesUseExtendedFormat);
|
||||
}
|
||||
|
||||
void MetaEngine::appendExtendedSave(Common::OutSaveFile *saveFile, uint32 playtime, Common::String desc) {
|
||||
ExtendedSavegameHeader header;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue