aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-26 15:39:17 +0300
committerEugene Sandulenko2013-09-06 14:51:06 +0300
commit5a182df0994081512fae724689507b9acc141d3a (patch)
tree78b0cd2f7618d2b73750db056ac5a8eaa0672952 /engines/fullpipe/gfx.h
parentb18f08d93bc1e7f681a830413b0e57fad61faff3 (diff)
downloadscummvm-rg350-5a182df0994081512fae724689507b9acc141d3a.tar.gz
scummvm-rg350-5a182df0994081512fae724689507b9acc141d3a.tar.bz2
scummvm-rg350-5a182df0994081512fae724689507b9acc141d3a.zip
FULLPIPE: Unstubbed StaticANIObject::addReverseStatics()
Diffstat (limited to 'engines/fullpipe/gfx.h')
-rw-r--r--engines/fullpipe/gfx.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index 8a14177dc0..36ec1bd8d9 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -53,13 +53,16 @@ struct Bitmap {
void paletteFill(uint16 *dest, byte *src, int len, int32 *palette);
void copierKeyColor(uint16 *dest, byte *src, int len, int keyColor, int32 *palette, bool cb05_format);
void copier(uint16 *dest, byte *src, int len, int32 *palette, bool cb05_format);
+
+ Bitmap *reverseImage();
};
class Picture : public MemoryObject {
friend class Movement;
+ friend class DynamicPhase;
Common::Rect _rect;
- int _convertedBitmap;
+ Bitmap *_convertedBitmap;
int _x;
int _y;
int _field_44;
@@ -75,6 +78,10 @@ class Picture : public MemoryObject {
public:
Picture();
+ virtual ~Picture();
+
+ void freePicture();
+
virtual bool load(MfcArchive &file);
void setAOIDs();
void init();
@@ -87,11 +94,16 @@ class Picture : public MemoryObject {
void setAlpha(byte alpha) { _alpha = alpha; }
Common::Point *getDimensions(Common::Point *p);
+
+ byte *getPaletteData() { return _paletteData; }
+ void setPaletteData(byte *pal);
+
+ void copyMemoryObject2(Picture *src);
};
class BigPicture : public Picture {
public:
- BigPicture();
+ BigPicture() {}
virtual bool load(MfcArchive &file);
};