aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorChristopher Page2008-08-15 07:10:23 +0000
committerChristopher Page2008-08-15 07:10:23 +0000
commit5bc5855ae9148672b242bd99f3faf5e7ede93ac8 (patch)
treeadb6be3529aa692e1f02f17f002846fc4ac2c31d /engines/scumm
parent5acac50f54e1f927cd2b738c4f2feefb31a5e793 (diff)
downloadscummvm-rg350-5bc5855ae9148672b242bd99f3faf5e7ede93ac8.tar.gz
scummvm-rg350-5bc5855ae9148672b242bd99f3faf5e7ede93ac8.tar.bz2
scummvm-rg350-5bc5855ae9148672b242bd99f3faf5e7ede93ac8.zip
Added some MetaEngineFeatures, defined MEFs for the Scumm engine
svn-id: r33893
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 68d3010199..716a456c90 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -677,6 +677,7 @@ public:
virtual GameList getSupportedGames() const;
virtual GameDescriptor findGame(const char *gameid) const;
virtual GameList detectGames(const FSList &fslist) const;
+ virtual bool hasFeature(MetaEngineFeature f);
virtual PluginError createInstance(OSystem *syst, Engine **engine) const;
@@ -691,6 +692,12 @@ GameDescriptor ScummMetaEngine::findGame(const char *gameid) const {
return Common::AdvancedDetector::findGameID(gameid, gameDescriptions, obsoleteGameIDsTable);
}
+bool ScummMetaEngine::hasFeature(MetaEngineFeature f) {
+ return
+ (f == kSupportsListSaves) ||
+ (f == kSupportsDirectLoad) ||
+ (f == kSupportsDeleteSave);
+}
GameList ScummMetaEngine::detectGames(const FSList &fslist) const {
GameList detectedGames;