25 #include "graphics/pixelformat.h" 27 #include "common/endian.h" 28 #include "common/hashmap.h" 29 #include "common/hash-str.h" 31 #include "engines/grim/pool.h" 38 class SeekableReadStream;
92 int _width, _height, _x, _y;
97 bool _hasTransparency;
138 static int32 getStaticTag() {
return MKTAG(
'V',
'B',
'U',
'F'); }
142 const Common::String &getFilename()
const {
return _data->_fname; }
145 void draw(
int x,
int y);
147 void drawLayer(uint32 layer);
154 void setActiveImage(
int n);
156 int getNumImages()
const;
157 int getNumLayers()
const;
158 int getActiveImage()
const {
return _currImage; }
159 bool getHasTransparency()
const {
return _data->_hasTransparency; }
160 int getFormat()
const {
return _data->_format; }
161 int getWidth()
const {
return _data->_width; }
162 int getHeight()
const {
return _data->_height; }
164 const Graphics::Surface &getData(
int num)
const {
return _data->getImageData(num); }
166 BitmapData *getBitmapData()
const {
return _data; }
167 void *getTexIds()
const {
return _data->_texIds; }
168 int getNumTex()
const {
return _data->_numTex; }
171 void saveState(
SaveGame *state)
const;
Definition: savegame.h:33
Definition: algorithm.h:29
Definition: formatinfo.h:28
int _currImage
Definition: bitmap.h:184
#define MKTAG(a0, a1, a2, a3)
Definition: endian.h:188