diff options
| author | Eugene Sandulenko | 2013-07-17 14:04:53 +0300 |
|---|---|---|
| committer | Eugene Sandulenko | 2013-09-06 14:48:18 +0300 |
| commit | 6518cb579c110cd19356cd7aa78a12cc342056bb (patch) | |
| tree | d49c00e3c049a98c24c349aae1721fef197ee13a /engines/fullpipe/gfx.h | |
| parent | 57e03aedd3924cc9f675594b4b504b4f42958b40 (diff) | |
| download | scummvm-rg350-6518cb579c110cd19356cd7aa78a12cc342056bb.tar.gz scummvm-rg350-6518cb579c110cd19356cd7aa78a12cc342056bb.tar.bz2 scummvm-rg350-6518cb579c110cd19356cd7aa78a12cc342056bb.zip | |
FULLPIPE: Bitmap loading.
Added test code to display loaded pictures.
So far it crashes on certain pictures.
Diffstat (limited to 'engines/fullpipe/gfx.h')
| -rw-r--r-- | engines/fullpipe/gfx.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h index 1205468b6f..13f519478a 100644 --- a/engines/fullpipe/gfx.h +++ b/engines/fullpipe/gfx.h @@ -44,10 +44,10 @@ struct Bitmap { void load(Common::ReadStream *s); void putDib(int x, int y, byte *palette); - void colorFill(byte *dest, int len, int color); - void paletteFill(byte *dest, byte *src, int len); - void copierKeyColor(byte *dest, byte *src, int len, int keyColor); - void copier(byte *dest, byte *src, int len); + void colorFill(int16 *dest, int len, int color); + void paletteFill(int16 *dest, byte *src, int len, int32 *palette); + void copierKeyColor(int16 *dest, byte *src, int len, int keyColor, int32 *palette, bool cb05_format); + void copier(int16 *dest, byte *src, int len, int32 *palette, bool cb05_format); }; class Picture : public MemoryObject { @@ -66,6 +66,8 @@ class Picture : public MemoryObject { int _alpha; byte *_paletteData; + void displayPicture(); + public: Picture(); virtual bool load(MfcArchive &file); |
