22#ifndef GOT_GFX_GFX_CHUNKS_H
23#define GOT_GFX_GFX_CHUNKS_H
25#include "common/stream.h"
26#include "got/gfx/palette.h"
27#include "graphics/managed_surface.h"
34enum CompressMode { UNCOMPRESSED = 0,
43 int _compressMode = UNCOMPRESSED;
45 uint16 _uncompressedSize = 0;
46 uint16 _compressedSize = 0;
50 const byte *_data =
nullptr;
83 byte *_data =
nullptr;
Definition: gfx_chunks.h:80
GraphicChunk & operator[](uint idx)
Definition: managed_surface.h:51
Definition: gfx_chunks.h:38
void load(Common::SeekableReadStream *src, const byte *data)