aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorEugene Sandulenko2004-08-26 02:47:49 +0000
committerEugene Sandulenko2004-08-26 02:47:49 +0000
commit70dbcaf9da7602de187bf8e4ebb831895006f155 (patch)
tree1e03e680ae8427d1e7fac1cd95002c88132f99ed /scumm/gfx.h
parent0d8488d6057e3eda7104b713d766f9d92da02abc (diff)
downloadscummvm-rg350-70dbcaf9da7602de187bf8e4ebb831895006f155.tar.gz
scummvm-rg350-70dbcaf9da7602de187bf8e4ebb831895006f155.tar.bz2
scummvm-rg350-70dbcaf9da7602de187bf8e4ebb831895006f155.zip
Added initial support for BMAP resources of HE 7.2 games. Doesn't work
correctly yet. svn-id: r14759
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index 6f6b17be76..53f0979492 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -252,6 +252,7 @@ protected:
void decodeStrip3DO(byte *dst, const byte *src, int height, byte transpCheck);
void decodeStripHE(byte *dst, const byte *src, int height, byte transpCheck);
+ void copyBufferBox(byte *dst, const byte *src, int width, int height);
void draw8Col(byte *dst, const byte *src, int height);
void clear8Col(byte *dst, int height);
void decompressMaskImgOr(byte *dst, const byte *src, int height);
@@ -262,6 +263,8 @@ protected:
byte *getMaskBuffer(int x, int y, int z);
+ void decompressBMAPbg(byte *dst, int screenwidth, int w, int h, const byte *ptr, int shr, int mask);
+
public:
void init();
@@ -270,6 +273,8 @@ public:
void drawBitmapV2Helper(const byte *ptr, VirtScreen *vs, int x, int y, const int width, const int height,
int stripnr, int numstrip, StripTable *table);
StripTable *generateStripTable(const byte *src, int width, int height, StripTable *table);
+ void drawBMAPBg(const byte *ptr, VirtScreen *vs, int startstrip, int width);
+ void copyVirtScreenBuffers(int x, int y, int w, int h);
void disableZBuffer() { _zbufferDisabled = true; }
void enableZBuffer() { _zbufferDisabled = false; }