22#ifndef SHERLOCK_IMAGE_FILE_H
23#define SHERLOCK_IMAGE_FILE_H
25#include "common/array.h"
26#include "common/file.h"
27#include "common/path.h"
28#include "common/rect.h"
29#include "common/stream.h"
30#include "graphics/surface.h"
40 uint16 _width, _height;
101 byte _palette[256 * 3];
110enum ImageFile3DOType {
111 kImageFile3DOType_Animation = 0,
112 kImageFile3DOType_Cel = 1,
113 kImageFile3DOType_CelAnimation = 2,
114 kImageFile3DOType_RoomFormat = 3,
115 kImageFile3DOType_Font = 4
119 uint16 pixelColor[256];
134 inline uint16 convertPixel(uint16 pixel3DO);
146 inline uint16 celGetBits(
const byte *&dataPtr,
byte bitCount,
byte &dataBitsLeft);
172#define STREAMING_BUFFER_SIZE 65536
178 byte _buffer[STREAMING_BUFFER_SIZE];
Definition: image_file.h:122
Definition: image_file.h:78
Definition: sherlock.h:206
Definition: image_file.h:174
bool active() const
Definition: image_file.h:213
void load(Common::SeekableReadStream *stream, bool compressed)
int frameNumber() const
Definition: image_file.h:218
Definition: image_file.h:118
Definition: image_file.h:36
int sDrawYSize(int scaleVal) const
int sDrawYOffset(int scaleVal) const
void decompressFrame(const byte *src, bool isRoseTattoo)
int sDrawXSize(int scaleVal) const
int sDrawXOffset(int scaleVal) const