27 #ifndef MORTEVIELLE_GRAPHICS_H 28 #define MORTEVIELLE_GRAPHICS_H 30 #include "common/file.h" 31 #include "common/list.h" 32 #include "common/rect.h" 33 #include "graphics/surface.h" 36 class MortevielleEngine;
40 void setPalette(
const int *palette, uint idx, uint size);
43 void setDefaultPalette();
48 #define FONT_NUM_CHARS 121 54 int _lookupIndex, _lookupValue;
57 int _yInc, _yEnd, _xInc, _xEnd;
59 byte nextNibble(
const byte *&pSrc);
60 byte nextByte(
const byte *&pSrc,
const byte *&pLookup);
63 int desanalyse(
const byte *&pSrc);
64 void horizontal(
const byte *&pSrc, byte *&pDest,
const byte *&pLookup);
65 void vertical(
const byte *&pSrc, byte *&pDest,
const byte *&pLookup);
66 void decom11(
const byte *&pSrc, byte *&pDest,
const byte *&pLookup);
67 void diag(
const byte *&pSrc, byte *&pDest,
const byte *&pLookup);
68 void nextDecompPtr(byte *&pDest);
72 void TF1(byte *&pDest,
int &v);
73 void TF2(
const byte *&pSrc, byte *&pDest,
const byte *&pLookup,
int &v);
82 void decode(
const byte *pSrc);
90 byte _fontData[FONT_NUM_CHARS * FONT_HEIGHT];
99 void drawPicture(
GfxSurface &surface,
int x,
int y);
101 void writeCharacter(
const Common::Point &pt,
unsigned char ch,
int palIndex);
102 void drawBox(
int x,
int y,
int dx,
int dy,
int col);
108 void drawLine(
int x,
int y,
int xx,
int yy,
int coul);
109 void drawRectangle(
int x,
int y,
int dx,
int dy);
Definition: debugger.h:28
Definition: graphics.h:85
Definition: graphics.h:50
Definition: mortevielle.h:156
Definition: graphics.h:38