aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.h
diff options
context:
space:
mode:
authorFilippos Karapetis2017-03-22 22:59:55 +0200
committerFilippos Karapetis2017-03-22 22:59:55 +0200
commit95c776e1eb61115df7c77f9cabd24414c1ff9234 (patch)
treedc5fa30121fe11536dbbae8df0a55d5c4091d553 /engines/fullpipe/gfx.h
parent808e465e7e684df6b3f4d5ef56633e2dcca2d94e (diff)
downloadscummvm-rg350-95c776e1eb61115df7c77f9cabd24414c1ff9234.tar.gz
scummvm-rg350-95c776e1eb61115df7c77f9cabd24414c1ff9234.tar.bz2
scummvm-rg350-95c776e1eb61115df7c77f9cabd24414c1ff9234.zip
FULLPIPE: Refactor _pixels so that it's not part of the Bitmap class
Diffstat (limited to 'engines/fullpipe/gfx.h')
-rw-r--r--engines/fullpipe/gfx.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index 6c0bf70f44..13f4464167 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -39,7 +39,6 @@ struct Bitmap {
int _y;
int _width;
int _height;
- byte *_pixels;
int _type;
int _dataSize;
int _flags;
@@ -52,10 +51,10 @@ struct Bitmap {
~Bitmap();
void load(Common::ReadStream *s);
- void decode(int32 *palette);
+ void decode(byte *pixels, int32 *palette);
void putDib(int x, int y, int32 *palette, byte alpha);
- bool putDibRB(int32 *palette);
- void putDibCB(int32 *palette);
+ bool putDibRB(byte *pixels, int32 *palette);
+ void putDibCB(byte *pixels, int32 *palette);
void colorFill(uint32 *dest, int len, int32 color);
void paletteFill(uint32 *dest, byte *src, int len, int32 *palette);