22#ifndef MOHAWK_BITMAP_H
23#define MOHAWK_BITMAP_H
25#include "mohawk/graphics.h"
27#include "common/scummsys.h"
28#include "common/stream.h"
29#include "common/array.h"
30#include "graphics/surface.h"
37 kBitsPerPixel1 = 0x0000,
38 kBitsPerPixel4 = 0x0001,
39 kBitsPerPixel8 = 0x0002,
40 kBitsPerPixel16 = 0x0003,
41 kBitsPerPixel24 = 0x0004,
42 kBitsPerPixelMask = 0x0007,
43 kBitmapHasCLUT = 0x0008,
56 kFlag16_80X86 = 0x1000,
89 virtual byte getBitsPerPixel();
114 struct PackFunction {
121 struct DrawFunction {
128 const PackFunction *_packTable;
130 const DrawFunction *_drawTable;
134 const char *getPackName();
136 const char *getDrawName();
140 void handleRivenSubcommandStream(
byte count,
byte *&dst);
151 ~MystBitmap()
override {}
156 byte getBitsPerPixel()
override {
return _bitsPerPixel; }
172 byte getBitsPerPixel()
override {
return 8; }
183 byte getBitsPerPixel()
override {
return ((_header.format & 0x30) >> 4) + 1; }
Definition: graphics.h:40