diff options
-rw-r--r-- | engines/gob/detection_tables.h | 12 | ||||
-rw-r--r-- | engines/gob/gob.cpp | 4 | ||||
-rw-r--r-- | engines/gob/gob.h | 18 |
3 files changed, 20 insertions, 14 deletions
diff --git a/engines/gob/detection_tables.h b/engines/gob/detection_tables.h index 09d2c5e775..93c1cc6d1c 100644 --- a/engines/gob/detection_tables.h +++ b/engines/gob/detection_tables.h @@ -3722,7 +3722,7 @@ static const GOBGameDescription gameDescriptions[] = { GUIO_NOSUBTITLES | GUIO_NOSPEECH }, kGameTypeUrban, - kFeatures640x480, + kFeatures640x480 | kFeaturesTrueColor, 0, 0, 0 }, { // Supplied by gamin in the forums @@ -3736,7 +3736,7 @@ static const GOBGameDescription gameDescriptions[] = { GUIO_NOSUBTITLES | GUIO_NOSPEECH }, kGameTypeUrban, - kFeatures640x480, + kFeatures640x480 | kFeaturesTrueColor, 0, 0, 0 }, { // Supplied by jvprat on #scummvm @@ -3750,7 +3750,7 @@ static const GOBGameDescription gameDescriptions[] = { GUIO_NOSUBTITLES | GUIO_NOSPEECH }, kGameTypeUrban, - kFeatures640x480, + kFeatures640x480 | kFeaturesTrueColor, 0, 0, 0 }, { // Supplied by goodoldgeorg in bug report #2770340 @@ -3764,7 +3764,7 @@ static const GOBGameDescription gameDescriptions[] = { GUIO_NOSUBTITLES | GUIO_NOSPEECH }, kGameTypeUrban, - kFeatures640x480, + kFeatures640x480 | kFeaturesTrueColor, 0, 0, 0 }, { @@ -3783,7 +3783,7 @@ static const GOBGameDescription gameDescriptions[] = { GUIO_NONE }, kGameTypeUrban, - kFeatures640x480 | kFeaturesSCNDemo, + kFeatures640x480 | kFeaturesTrueColor | kFeaturesSCNDemo, 0, 0, 2 }, { @@ -4923,7 +4923,7 @@ static const GOBGameDescription fallbackDescs[] = { GUIO_NOSUBTITLES | GUIO_NOSPEECH }, kGameTypeUrban, - kFeaturesCD, + kFeaturesCD | kFeaturesTrueColor, 0, 0, 0 }, { //13 diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 20a9b80bb5..e97dce836c 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -229,6 +229,10 @@ bool GobEngine::is800x600() const { return (_features & kFeatures800x600) != 0; } +bool GobEngine::isTrueColor() const { + return (_features & kFeaturesTrueColor) != 0; +} + bool GobEngine::isDemo() const { return (isSCNDemo() || isBATDemo()); } diff --git a/engines/gob/gob.h b/engines/gob/gob.h index 4a8e9364fe..9b07568223 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -119,14 +119,15 @@ enum GameType { }; enum Features { - kFeaturesNone = 0, - kFeaturesCD = 1 << 0, - kFeaturesEGA = 1 << 1, - kFeaturesAdLib = 1 << 2, - kFeaturesSCNDemo = 1 << 3, - kFeaturesBATDemo = 1 << 4, - kFeatures640x480 = 1 << 5, - kFeatures800x600 = 1 << 6 + kFeaturesNone = 0, + kFeaturesCD = 1 << 0, + kFeaturesEGA = 1 << 1, + kFeaturesAdLib = 1 << 2, + kFeaturesSCNDemo = 1 << 3, + kFeaturesBATDemo = 1 << 4, + kFeatures640x480 = 1 << 5, + kFeatures800x600 = 1 << 6, + kFeaturesTrueColor = 1 << 7 }; enum { @@ -213,6 +214,7 @@ public: bool isBATDemo() const; bool is640x480() const; bool is800x600() const; + bool isTrueColor() const; bool isDemo() const; GobEngine(OSystem *syst); |