diff options
author | Arnaud Boutonné | 2010-11-06 13:21:18 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-06 13:21:18 +0000 |
commit | f5d2695800473fa44500dc3fdaa92f9fcff844b9 (patch) | |
tree | d3ba43e58e6df41255b4cf9cdd70cf0b4a8fa9bb /engines/hugo/display.h | |
parent | b105b5e659805b10fa149bc051fea8e4acc4fcfe (diff) | |
download | scummvm-rg350-f5d2695800473fa44500dc3fdaa92f9fcff844b9.tar.gz scummvm-rg350-f5d2695800473fa44500dc3fdaa92f9fcff844b9.tar.bz2 scummvm-rg350-f5d2695800473fa44500dc3fdaa92f9fcff844b9.zip |
HUGO: Move _palette to display.cpp
svn-id: r54102
Diffstat (limited to 'engines/hugo/display.h')
-rw-r--r-- | engines/hugo/display.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hugo/display.h b/engines/hugo/display.h index d56f3e55aa..333f9a25df 100644 --- a/engines/hugo/display.h +++ b/engines/hugo/display.h @@ -61,8 +61,10 @@ public: void drawRectangle(bool filledFl, uint16 x1, uint16 y1, uint16 x2, uint16 y2, int color); void drawShape(int x, int y, int color1, int color2); void drawStatusText(); + void freePalette(); void initDisplay(); void initNewScreenDisplay(); + void loadPalette(Common::File &in); void moveImage(image_pt srcImage, uint16 x1, uint16 y1, uint16 dx, uint16 dy, uint16 width1, image_pt dstImage, uint16 x2, uint16 y2, uint16 width2); void remapPal(uint16 oldIndex, uint16 newIndex); void restorePal(Common::SeekableReadStream *f); @@ -97,9 +99,12 @@ protected: HugoEngine *_vm; // Fonts used in dib (non-GDI) - byte _fnt; // Current font number - byte _fontdata[NUM_FONTS][FONTSIZE]; // Font data + byte _fnt; // Current font number + byte _fontdata[NUM_FONTS][FONTSIZE]; // Font data byte *_font[NUM_FONTS][FONT_LEN]; // Ptrs to each char + byte *_palette; + + byte _paletteSize; private: viewdib_t _frontBuffer; |