mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
GOB: Add kFeaturesTrueColor
svn-id: r52943
This commit is contained in:
parent
3cb3b1e692
commit
13d41dca41
@ -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
|
||||
|
@ -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());
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user