diff options
author | Max Horn | 2003-05-15 21:31:03 +0000 |
---|---|---|
committer | Max Horn | 2003-05-15 21:31:03 +0000 |
commit | 82e2d852f15dea9fb75a4accee3f65f9bc5e3040 (patch) | |
tree | f48961d9d8dc05cb4f4673bd6b7358ae37d57562 /scumm/gfx.h | |
parent | 6cbfc1e3427bf74d124c0050f8169b9f5415be02 (diff) | |
download | scummvm-rg350-82e2d852f15dea9fb75a4accee3f65f9bc5e3040.tar.gz scummvm-rg350-82e2d852f15dea9fb75a4accee3f65f9bc5e3040.tar.bz2 scummvm-rg350-82e2d852f15dea9fb75a4accee3f65f9bc5e3040.zip |
cleanup
svn-id: r7538
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r-- | scumm/gfx.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h index 2d54e3dec9..a0d2760a79 100644 --- a/scumm/gfx.h +++ b/scumm/gfx.h @@ -114,7 +114,6 @@ public: int _numZBuffer; int _imgBufOffs[8]; - byte _disable_zbuffer; int32 _numStrips; int16 _mask_top, _mask_bottom, _mask_right, _mask_left; @@ -129,6 +128,8 @@ protected: byte _transparentColor; uint32 _vertStripNextInc; + bool _zbufferDisabled; + /* Bitmap decompressors */ bool decompressBitmap(byte *bgbak_ptr, byte *smap_ptr, int numLinesToProcess); void decodeStripEGA(byte *dst, byte *src, int height); @@ -162,8 +163,8 @@ public: int stripnr, int numstrip, byte flag); void clearUpperMask(); - void disableZBuffer() { _disable_zbuffer++; } - void enableZBuffer() { _disable_zbuffer--; } + void disableZBuffer() { _zbufferDisabled = true; } + void enableZBuffer() { _zbufferDisabled = false; } void resetBackground(int top, int bottom, int strip); |