aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/lilliput.h
diff options
context:
space:
mode:
authorStrangerke2012-04-09 17:34:30 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commit4ed7a101558cdd73e6b51132f19708bcd9251dd6 (patch)
tree14c27a02a27ec37adfb348dbb311685d4f54bd11 /engines/lilliput/lilliput.h
parent2acfb7e2b30a84ceb46dd6c86ec5cfccbd4db333 (diff)
downloadscummvm-rg350-4ed7a101558cdd73e6b51132f19708bcd9251dd6.tar.gz
scummvm-rg350-4ed7a101558cdd73e6b51132f19708bcd9251dd6.tar.bz2
scummvm-rg350-4ed7a101558cdd73e6b51132f19708bcd9251dd6.zip
LILLIPUT: Add default palette, and palette fixup (thanks to SylvainTV for the help)
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;