aboutsummaryrefslogtreecommitdiff
path: root/engines/queen
diff options
context:
space:
mode:
authorChristopher Page2008-08-15 18:15:14 +0000
committerChristopher Page2008-08-15 18:15:14 +0000
commit9d3cdcb2da64ae3afdcd19f1ea18a917f9318190 (patch)
tree2d49249deec6d26bd875a5bbe1e8b8a3946bfec7 /engines/queen
parent5bc5855ae9148672b242bd99f3faf5e7ede93ac8 (diff)
downloadscummvm-rg350-9d3cdcb2da64ae3afdcd19f1ea18a917f9318190.tar.gz
scummvm-rg350-9d3cdcb2da64ae3afdcd19f1ea18a917f9318190.tar.bz2
scummvm-rg350-9d3cdcb2da64ae3afdcd19f1ea18a917f9318190.zip
Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
svn-id: r33909
Diffstat (limited to 'engines/queen')
-rw-r--r--engines/queen/queen.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp
index 593597ce12..801a1c630a 100644
--- a/engines/queen/queen.cpp
+++ b/engines/queen/queen.cpp
@@ -60,6 +60,7 @@ public:
virtual const char *getName() const;
virtual const char *getCopyright() const;
+ virtual bool hasFeature(MetaEngineFeature f) const;
virtual GameList getSupportedGames() const;
virtual GameDescriptor findGame(const char *gameid) const;
virtual GameList detectGames(const FSList &fslist) const;
@@ -76,6 +77,13 @@ const char *QueenMetaEngine::getCopyright() const {
return "Flight of the Amazon Queen (C) John Passfield and Steve Stamatiadis";
}
+bool QueenMetaEngine::hasFeature(MetaEngineFeature f) const {
+ return
+ (f == kSupportsListSaves) ||
+ (f == kSupportsDirectLoad) ||
+ (f == kSupportsDeleteSave);
+}
+
GameList QueenMetaEngine::getSupportedGames() const {
GameList games;
games.push_back(queenGameDescriptor);