diff options
author | Johannes Schickel | 2010-10-13 03:57:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-10-13 03:57:44 +0000 |
commit | 75e8452b6e6a2bf4fb2f588aa00b428a60d873b5 (patch) | |
tree | f29541d55309487a94bd1d38e8b53bb3dde9aec6 /engines/gob/gob.h | |
parent | 48ee83b88957dab86bc763e9ef21a70179fa8679 (diff) | |
parent | e9f50882ea5b6beeefa994040be9d3bab6a1f107 (diff) | |
download | scummvm-rg350-75e8452b6e6a2bf4fb2f588aa00b428a60d873b5.tar.gz scummvm-rg350-75e8452b6e6a2bf4fb2f588aa00b428a60d873b5.tar.bz2 scummvm-rg350-75e8452b6e6a2bf4fb2f588aa00b428a60d873b5.zip |
OPENGL: Merged from trunk, from rev 52105 to 53396.
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
Diffstat (limited to 'engines/gob/gob.h')
-rw-r--r-- | engines/gob/gob.h | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/engines/gob/gob.h b/engines/gob/gob.h index dcca236ee3..f6c03fa617 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, - kFeatures640 = 1 << 3, - kFeaturesSCNDemo = 1 << 4, - kFeaturesBATDemo = 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 { @@ -163,6 +164,8 @@ private: bool initGameParts(); void deinitGameParts(); + bool initGraphics(); + public: static const Common::Language _gobToScummVMLang[]; @@ -173,6 +176,8 @@ public: uint16 _height; uint8 _mode; + Graphics::PixelFormat _pixelFormat; + Common::String _startStk; Common::String _startTot; uint32 _demoIndex; @@ -208,13 +213,16 @@ 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 isTrueColor() const; bool isDemo() const; + const Graphics::PixelFormat &getPixelFormat() const; + GobEngine(OSystem *syst); virtual ~GobEngine(); |