aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sludge.h
diff options
context:
space:
mode:
authoryinsimei2017-06-06 01:35:25 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit77d5c7235d5ad0aa36abc3625e0716582ee52318 (patch)
tree18b52942484e7e4af6b1892a8300201f49c41bdb /engines/sludge/sludge.h
parentd5379c212c4ee972083d825a6e586b1341f9e6f9 (diff)
downloadscummvm-rg350-77d5c7235d5ad0aa36abc3625e0716582ee52318.tar.gz
scummvm-rg350-77d5c7235d5ad0aa36abc3625e0716582ee52318.tar.bz2
scummvm-rg350-77d5c7235d5ad0aa36abc3625e0716582ee52318.zip
SLUDGE: replace sludge colours by pixelformat
Diffstat (limited to 'engines/sludge/sludge.h')
-rw-r--r--engines/sludge/sludge.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sludge/sludge.h b/engines/sludge/sludge.h
index 57544828b0..5fe09c3b74 100644
--- a/engines/sludge/sludge.h
+++ b/engines/sludge/sludge.h
@@ -25,12 +25,15 @@
#include "common/random.h"
#include "engines/engine.h"
+#include "graphics/pixelformat.h"
#include "gui/debugger.h"
#include "sludge/console.h"
namespace Sludge {
+extern SludgeEngine *g_sludge;
+
class SludgeConsole;
struct SludgeGameDescription;
@@ -57,6 +60,8 @@ public:
const char *getGameId() const;
uint32 getFeatures() const;
Common::Language getLanguage() const;
+ Graphics::PixelFormat getScreenPixelFormat() const;
+ Graphics::PixelFormat getOrigPixelFormat() const;
const char *getGameFile() const;
@@ -65,6 +70,8 @@ public:
private:
SludgeConsole *_console;
Common::RandomSource *_rnd;
+ Graphics::PixelFormat _pixelFormat;
+ Graphics::PixelFormat _origFormat;
};
} // End of namespace Sludge