aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/detection.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-30 10:42:29 +0200
committerEugene Sandulenko2019-09-03 17:17:30 +0200
commit517a261fbf7f8692396048a9b18f9bb0840dfa1b (patch)
tree17be9a1349cc4fa4ed7522c35f8df88fbf821c4a /engines/hdb/detection.cpp
parent446afec1ca56b169fcc4e356ca9d77dd10000ceb (diff)
downloadscummvm-rg350-517a261fbf7f8692396048a9b18f9bb0840dfa1b.tar.gz
scummvm-rg350-517a261fbf7f8692396048a9b18f9bb0840dfa1b.tar.bz2
scummvm-rg350-517a261fbf7f8692396048a9b18f9bb0840dfa1b.zip
HDB: Added Handango flag
Diffstat (limited to 'engines/hdb/detection.cpp')
-rw-r--r--engines/hdb/detection.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index aa586f9f16..9b6f411179 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -29,6 +29,10 @@
namespace HDB {
+enum HDBGameFeatures {
+ GF_HANDANGO = (1 << 0)
+};
+
const char *HDBGame::getGameId() const { return _gameDescription->gameId; }
Common::Platform HDBGame::getPlatform() const { return _gameDescription->platform; }
@@ -48,6 +52,10 @@ bool HDBGame::isPPC() const {
return (getPlatform() & Common::kPlatformPocketPC);
}
+bool HDBGame::isHandango() const {
+ return (getGameFlags() & GF_HANDANGO);
+}
+
} // End of namespace HDB
static const PlainGameDescriptor hdbGames[] = {
@@ -130,7 +138,7 @@ static const ADGameDescription gameDescriptions[] = {
AD_ENTRY1s("hyperdemo.msd", "2d4457b284a940b7058b36e5706b9951", 3094241),
Common::EN_ANY,
Common::kPlatformPocketPC,
- ADGF_DEMO,
+ (ADGF_DEMO | GF_HANDANGO),
GUIO1(GUIO_NONE)
},
AD_TABLE_END_MARKER