[Scummvm-cvs-logs] SF.net SVN: scummvm:[52943] scummvm/trunk/engines/gob
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Thu Sep 30 14:59:19 CEST 2010
Revision: 52943
http://scummvm.svn.sourceforge.net/scummvm/?rev=52943&view=rev
Author: drmccoy
Date: 2010-09-30 12:59:18 +0000 (Thu, 30 Sep 2010)
Log Message:
-----------
GOB: Add kFeaturesTrueColor
Modified Paths:
--------------
scummvm/trunk/engines/gob/detection_tables.h
scummvm/trunk/engines/gob/gob.cpp
scummvm/trunk/engines/gob/gob.h
Modified: scummvm/trunk/engines/gob/detection_tables.h
===================================================================
--- scummvm/trunk/engines/gob/detection_tables.h 2010-09-30 12:58:52 UTC (rev 52942)
+++ scummvm/trunk/engines/gob/detection_tables.h 2010-09-30 12:59:18 UTC (rev 52943)
@@ -3722,7 +3722,7 @@
GUIO_NOSUBTITLES | GUIO_NOSPEECH
},
kGameTypeUrban,
- kFeatures640x480,
+ kFeatures640x480 | kFeaturesTrueColor,
0, 0, 0
},
{ // Supplied by gamin in the forums
@@ -3736,7 +3736,7 @@
GUIO_NOSUBTITLES | GUIO_NOSPEECH
},
kGameTypeUrban,
- kFeatures640x480,
+ kFeatures640x480 | kFeaturesTrueColor,
0, 0, 0
},
{ // Supplied by jvprat on #scummvm
@@ -3750,7 +3750,7 @@
GUIO_NOSUBTITLES | GUIO_NOSPEECH
},
kGameTypeUrban,
- kFeatures640x480,
+ kFeatures640x480 | kFeaturesTrueColor,
0, 0, 0
},
{ // Supplied by goodoldgeorg in bug report #2770340
@@ -3764,7 +3764,7 @@
GUIO_NOSUBTITLES | GUIO_NOSPEECH
},
kGameTypeUrban,
- kFeatures640x480,
+ kFeatures640x480 | kFeaturesTrueColor,
0, 0, 0
},
{
@@ -3783,7 +3783,7 @@
GUIO_NONE
},
kGameTypeUrban,
- kFeatures640x480 | kFeaturesSCNDemo,
+ kFeatures640x480 | kFeaturesTrueColor | kFeaturesSCNDemo,
0, 0, 2
},
{
@@ -4923,7 +4923,7 @@
GUIO_NOSUBTITLES | GUIO_NOSPEECH
},
kGameTypeUrban,
- kFeaturesCD,
+ kFeaturesCD | kFeaturesTrueColor,
0, 0, 0
},
{ //13
Modified: scummvm/trunk/engines/gob/gob.cpp
===================================================================
--- scummvm/trunk/engines/gob/gob.cpp 2010-09-30 12:58:52 UTC (rev 52942)
+++ scummvm/trunk/engines/gob/gob.cpp 2010-09-30 12:59:18 UTC (rev 52943)
@@ -229,6 +229,10 @@
return (_features & kFeatures800x600) != 0;
}
+bool GobEngine::isTrueColor() const {
+ return (_features & kFeaturesTrueColor) != 0;
+}
+
bool GobEngine::isDemo() const {
return (isSCNDemo() || isBATDemo());
}
Modified: scummvm/trunk/engines/gob/gob.h
===================================================================
--- scummvm/trunk/engines/gob/gob.h 2010-09-30 12:58:52 UTC (rev 52942)
+++ scummvm/trunk/engines/gob/gob.h 2010-09-30 12:59:18 UTC (rev 52943)
@@ -119,14 +119,15 @@
};
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 @@
bool isBATDemo() const;
bool is640x480() const;
bool is800x600() const;
+ bool isTrueColor() const;
bool isDemo() const;
GobEngine(OSystem *syst);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list