From 517a261fbf7f8692396048a9b18f9bb0840dfa1b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 30 Jul 2019 10:42:29 +0200 Subject: HDB: Added Handango flag --- engines/hdb/detection.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'engines/hdb/detection.cpp') 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 -- cgit v1.2.3