From 3cb3b1e692c818c0d81691823b6a61fc243ad597 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 12:58:52 +0000 Subject: GOB: Rename kFeatures640 to kFeatures640x480 svn-id: r52942 --- engines/gob/gob.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/gob/gob.h') diff --git a/engines/gob/gob.h b/engines/gob/gob.h index dcca236ee3..4a8e9364fe 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -123,9 +123,9 @@ enum Features { kFeaturesCD = 1 << 0, kFeaturesEGA = 1 << 1, kFeaturesAdLib = 1 << 2, - kFeatures640 = 1 << 3, - kFeaturesSCNDemo = 1 << 4, - kFeaturesBATDemo = 1 << 5, + kFeaturesSCNDemo = 1 << 3, + kFeaturesBATDemo = 1 << 4, + kFeatures640x480 = 1 << 5, kFeatures800x600 = 1 << 6 }; @@ -208,10 +208,10 @@ public: GameType getGameType() const; bool isCD() const; bool isEGA() const; - bool is640() const; bool hasAdLib() const; bool isSCNDemo() const; bool isBATDemo() const; + bool is640x480() const; bool is800x600() const; bool isDemo() const; -- cgit v1.2.3 From 13d41dca41982be9a7d56e945d543344b1692c4a Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 12:59:18 +0000 Subject: GOB: Add kFeaturesTrueColor svn-id: r52943 --- engines/gob/gob.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'engines/gob/gob.h') 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); -- cgit v1.2.3 From b6766f0d7f94b8553b29159f98c91be35e0ca878 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 12:59:48 +0000 Subject: GOB: Stub setting up of 16bpp graphics svn-id: r52944 --- engines/gob/gob.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/gob/gob.h') diff --git a/engines/gob/gob.h b/engines/gob/gob.h index 9b07568223..cfefe62267 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -164,6 +164,8 @@ private: bool initGameParts(); void deinitGameParts(); + bool initGraphics(); + public: static const Common::Language _gobToScummVMLang[]; @@ -174,6 +176,8 @@ public: uint16 _height; uint8 _mode; + Graphics::PixelFormat _pixelFormat; + Common::String _startStk; Common::String _startTot; uint32 _demoIndex; -- cgit v1.2.3 From e68b6e9f15b9025cd587273da8eaa089670cc0b0 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 13:00:30 +0000 Subject: GOB: Remove dither stuff, commenting out most v6 drawing svn-id: r52945 --- engines/gob/gob.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/gob/gob.h') diff --git a/engines/gob/gob.h b/engines/gob/gob.h index cfefe62267..f6c03fa617 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -221,6 +221,8 @@ public: bool isTrueColor() const; bool isDemo() const; + const Graphics::PixelFormat &getPixelFormat() const; + GobEngine(OSystem *syst); virtual ~GobEngine(); -- cgit v1.2.3