25 #include "common/ptr.h" 56 void decode(byte *pixels,
const Palette &palette);
57 void putDib(
int x,
int y,
const Palette &palette, byte alpha);
58 bool putDibRB(byte *pixels,
const Palette &palette);
59 void putDibCB(byte *pixels,
const Palette &palette);
61 void colorFill(uint32 *dest,
int len, int32 color);
62 void paletteFill(uint32 *dest, byte *src,
int len,
const Palette &palette);
63 void copierKeyColor(uint32 *dest, byte *src,
int len,
int keyColor,
const Palette &palette,
bool cb05_format);
64 void copier(uint32 *dest, byte *src,
int len,
const Palette &palette,
bool cb05_format);
67 Bitmap *reverseImage(
bool flip =
true)
const;
69 Bitmap *flipVertical()
const;
71 void drawShaded(
int type,
int x,
int y,
const Palette &palette,
int alpha);
72 void drawRotated(
int x,
int y,
int angle,
const Palette &palette,
int alpha);
74 bool isPixelHitAtPos(
int x,
int y);
92 const Bitmap *getPixelData();
93 virtual void draw(
int x,
int y,
int style,
int angle);
94 void drawRotated(
int x,
int y,
int angle);
96 byte getAlpha() {
return (byte)_alpha; }
97 void setAlpha(byte alpha) { _alpha = alpha; }
99 Dims getDimensions()
const {
return Dims(_width, _height); }
100 bool isPointInside(
int x,
int y);
101 bool isPixelHitAtPos(
int x,
int y);
102 int getPixelAtPos(
int x,
int y);
103 int getPixelAtPosEx(
int x,
int y);
105 const Bitmap *getConvertedBitmap()
const {
return _convertedBitmap.get(); }
106 const Palette &getPaletteData()
const {
return _paletteData; }
107 void setPaletteData(
const Palette &pal);
109 void copyMemoryObject2(
Picture &src);
125 void displayPicture();
134 void draw(
int x,
int y,
int style,
int angle)
override;
155 void setOXY(
int x,
int y);
158 void setFlags(int16 flags) { _flags = flags; }
159 void clearFlags() { _flags = 0; }
173 virtual bool load(
MfcArchive &file,
bool bigPicture);
174 bool load(
MfcArchive &file)
override { assert(0);
return false; }
176 Dims getDimensions()
const {
return _picture->getDimensions(); }
178 void drawAt(
int x,
int y);
180 bool setPicAniInfo(
const PicAniInfo &picAniInfo);
181 bool isPointInside(
int x,
int y);
182 bool isPixelHitAtPos(
int x,
int y);
201 int16 _messageQueueId;
205 uint _bigPictureXDim;
206 uint _bigPictureYDim;
215 BigPicture *getBigPicture(
int x,
int y) {
return _bigPictureArray[y * _bigPictureXDim + x]; }
228 int _staticAniObjectId;
230 ShadowsItemArray _items;
Definition: managed_surface.h:51
Common::Array< BigPicture * > _bigPictureArray
Definition: gfx.h:204
Definition: statics.h:107
Definition: formatinfo.h:28
Movement
Definition: walking.h:85
Definition: anihandler.h:25
Common::Array< PictureObject * > _picObjList
Definition: gfx.h:196