22 #ifndef TUCKER_GRAPHICS_H 23 #define TUCKER_GRAPHICS_H 25 #include "common/util.h" 44 static int encodeRLE(
const uint8 *src, uint8 *dst,
int w,
int h);
45 static int encodeRAW(
const uint8 *src, uint8 *dst,
int w,
int h);
47 static void decodeRLE(uint8 *dst,
const uint8 *src,
int w,
int h);
48 static void decodeRLE_224(uint8 *dst,
const uint8 *src,
int w,
int h);
49 static void decodeRLE_248(uint8 *dst,
const uint8 *src,
int w,
int h,
int y1,
int y2,
bool xflip,
const int *whitelistReservedColors =
nullptr);
50 static void decodeRLE_320(uint8 *dst,
const uint8 *src,
int w,
int h);
52 static void copyRect(uint8 *dst,
int dstPitch, uint8 *src,
int srcPitch,
int w,
int h);
54 static void drawStringChar(uint8 *dst,
int xDst,
int yDst,
int pitch, uint8 chr, uint8 chrColor,
const uint8 *src);
56 static void setCharset(CharsetType type);
59 static CharsetType _charsetType;
Definition: graphics.h:35
Definition: formatinfo.h:28