GOB: Add kFeaturesTrueColor
svn-id: r52943
This commit is contained in:
parent
3cb3b1e692
commit
13d41dca41
3 changed files with 20 additions and 14 deletions
|
@ -3722,7 +3722,7 @@ static const GOBGameDescription gameDescriptions[] = {
|
||||||
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
||||||
},
|
},
|
||||||
kGameTypeUrban,
|
kGameTypeUrban,
|
||||||
kFeatures640x480,
|
kFeatures640x480 | kFeaturesTrueColor,
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
},
|
},
|
||||||
{ // Supplied by gamin in the forums
|
{ // Supplied by gamin in the forums
|
||||||
|
@ -3736,7 +3736,7 @@ static const GOBGameDescription gameDescriptions[] = {
|
||||||
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
||||||
},
|
},
|
||||||
kGameTypeUrban,
|
kGameTypeUrban,
|
||||||
kFeatures640x480,
|
kFeatures640x480 | kFeaturesTrueColor,
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
},
|
},
|
||||||
{ // Supplied by jvprat on #scummvm
|
{ // Supplied by jvprat on #scummvm
|
||||||
|
@ -3750,7 +3750,7 @@ static const GOBGameDescription gameDescriptions[] = {
|
||||||
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
||||||
},
|
},
|
||||||
kGameTypeUrban,
|
kGameTypeUrban,
|
||||||
kFeatures640x480,
|
kFeatures640x480 | kFeaturesTrueColor,
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
},
|
},
|
||||||
{ // Supplied by goodoldgeorg in bug report #2770340
|
{ // Supplied by goodoldgeorg in bug report #2770340
|
||||||
|
@ -3764,7 +3764,7 @@ static const GOBGameDescription gameDescriptions[] = {
|
||||||
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
||||||
},
|
},
|
||||||
kGameTypeUrban,
|
kGameTypeUrban,
|
||||||
kFeatures640x480,
|
kFeatures640x480 | kFeaturesTrueColor,
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -3783,7 +3783,7 @@ static const GOBGameDescription gameDescriptions[] = {
|
||||||
GUIO_NONE
|
GUIO_NONE
|
||||||
},
|
},
|
||||||
kGameTypeUrban,
|
kGameTypeUrban,
|
||||||
kFeatures640x480 | kFeaturesSCNDemo,
|
kFeatures640x480 | kFeaturesTrueColor | kFeaturesSCNDemo,
|
||||||
0, 0, 2
|
0, 0, 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -4923,7 +4923,7 @@ static const GOBGameDescription fallbackDescs[] = {
|
||||||
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
GUIO_NOSUBTITLES | GUIO_NOSPEECH
|
||||||
},
|
},
|
||||||
kGameTypeUrban,
|
kGameTypeUrban,
|
||||||
kFeaturesCD,
|
kFeaturesCD | kFeaturesTrueColor,
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
},
|
},
|
||||||
{ //13
|
{ //13
|
||||||
|
|
|
@ -229,6 +229,10 @@ bool GobEngine::is800x600() const {
|
||||||
return (_features & kFeatures800x600) != 0;
|
return (_features & kFeatures800x600) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool GobEngine::isTrueColor() const {
|
||||||
|
return (_features & kFeaturesTrueColor) != 0;
|
||||||
|
}
|
||||||
|
|
||||||
bool GobEngine::isDemo() const {
|
bool GobEngine::isDemo() const {
|
||||||
return (isSCNDemo() || isBATDemo());
|
return (isSCNDemo() || isBATDemo());
|
||||||
}
|
}
|
||||||
|
|
|
@ -126,7 +126,8 @@ enum Features {
|
||||||
kFeaturesSCNDemo = 1 << 3,
|
kFeaturesSCNDemo = 1 << 3,
|
||||||
kFeaturesBATDemo = 1 << 4,
|
kFeaturesBATDemo = 1 << 4,
|
||||||
kFeatures640x480 = 1 << 5,
|
kFeatures640x480 = 1 << 5,
|
||||||
kFeatures800x600 = 1 << 6
|
kFeatures800x600 = 1 << 6,
|
||||||
|
kFeaturesTrueColor = 1 << 7
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
@ -213,6 +214,7 @@ public:
|
||||||
bool isBATDemo() const;
|
bool isBATDemo() const;
|
||||||
bool is640x480() const;
|
bool is640x480() const;
|
||||||
bool is800x600() const;
|
bool is800x600() const;
|
||||||
|
bool isTrueColor() const;
|
||||||
bool isDemo() const;
|
bool isDemo() const;
|
||||||
|
|
||||||
GobEngine(OSystem *syst);
|
GobEngine(OSystem *syst);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue