diff options
author | Filippos Karapetis | 2017-03-22 22:59:55 +0200 |
---|---|---|
committer | Filippos Karapetis | 2017-03-22 22:59:55 +0200 |
commit | 95c776e1eb61115df7c77f9cabd24414c1ff9234 (patch) | |
tree | dc5fa30121fe11536dbbae8df0a55d5c4091d553 /engines/fullpipe/gfx.h | |
parent | 808e465e7e684df6b3f4d5ef56633e2dcca2d94e (diff) | |
download | scummvm-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.h | 7 |
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); |