aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/hdb.h
diff options
context:
space:
mode:
authorNipun Garg2019-06-08 17:35:29 +0530
committerEugene Sandulenko2019-09-03 17:16:45 +0200
commit1acf595a947f1cb03582409c5955aaf0c797a812 (patch)
treed4f12fb728ec3809b0389829caeae2fdd72f6133 /engines/hdb/hdb.h
parentbc8369a984808a2c43b00fcc15979466771c066d (diff)
downloadscummvm-rg350-1acf595a947f1cb03582409c5955aaf0c797a812.tar.gz
scummvm-rg350-1acf595a947f1cb03582409c5955aaf0c797a812.tar.bz2
scummvm-rg350-1acf595a947f1cb03582409c5955aaf0c797a812.zip
HDB: Abstract the common PixelFormat to hdb.h
Diffstat (limited to 'engines/hdb/hdb.h')
-rw-r--r--engines/hdb/hdb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h
index f2b4dcacc0..d6e36b1705 100644
--- a/engines/hdb/hdb.h
+++ b/engines/hdb/hdb.h
@@ -30,6 +30,7 @@
#include "common/events.h"
#include "common/str.h"
#include "common/random.h"
+#include "graphics/surface.h"
#include "gui/debugger.h"
#include "engines/engine.h"
@@ -110,7 +111,8 @@ public:
void start();
void changeGameState();
- bool gameShutdown;
+ bool _gameShutdown;
+ Graphics::PixelFormat _format = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0);
private:
Console *_console;