aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/lilliput.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lilliput/lilliput.h')
-rw-r--r--engines/lilliput/lilliput.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/lilliput/lilliput.h b/engines/lilliput/lilliput.h
index e6cbe331b4..b73b5394fe 100644
--- a/engines/lilliput/lilliput.h
+++ b/engines/lilliput/lilliput.h
@@ -23,11 +23,14 @@
#ifndef LILLIPUT_LILLIPUT_H
#define LILLIPUT_LILLIPUT_H
-#include "engines/engine.h"
-#include "common/file.h"
#include "lilliput/console.h"
#include "lilliput/script.h"
+#include "common/file.h"
+#include "engines/engine.h"
+#include "graphics/palette.h"
+#include "graphics/surface.h"
+
namespace Common {
class RandomSource;
}
@@ -76,6 +79,7 @@ public:
Common::RandomSource *_rnd;
LilliputScript *_scriptHandler;
+ Graphics::Surface *_mainSurface;
struct18560 _arr18560[4];
byte _byte1714E;
@@ -95,7 +99,7 @@ public:
byte *_bufferIsoChars;
byte *_bufferIdeogram;
byte _buffer10[4032];
- byte _palette[768];
+ byte _curPalette[768];
bool _saveFlag;
@@ -159,6 +163,9 @@ public:
byte *loadRaw(Common::String filename);
void loadRules();
+ void initPalette();
+ void fixPaletteEntries(uint8 *palette, int num);
+
GameType getGameType() const;
Common::Platform getPlatform() const;