diff options
-rw-r--r-- | engines/hdb/detection.cpp | 10 | ||||
-rw-r--r-- | engines/hdb/hdb.h | 1 |
2 files changed, 10 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 diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index 7830f938fd..57a493c9b3 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -158,6 +158,7 @@ public: Common::Platform getPlatform() const; bool isDemo() const; bool isPPC() const; + bool isHandango() const; /* Game System Pointers |