aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorMax Horn2002-12-15 23:40:37 +0000
committerMax Horn2002-12-15 23:40:37 +0000
commit20c501ea587ac03167fca87b6cbccf2b51f1c135 (patch)
tree1224510a3193492f043a7e8b975034171aad3876 /scumm/gfx.h
parentcfc4bc586a732eb0c3c660e380d747c4f90eecd3 (diff)
downloadscummvm-rg350-20c501ea587ac03167fca87b6cbccf2b51f1c135.tar.gz
scummvm-rg350-20c501ea587ac03167fca87b6cbccf2b51f1c135.tar.bz2
scummvm-rg350-20c501ea587ac03167fca87b6cbccf2b51f1c135.zip
cleanup; reordering stuff in gfx.cpp, trying to group code into logical groups (cursor, bomp, camera, palette, fades)
svn-id: r5985
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index 7985c884c7..cbc2948dd0 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -114,12 +114,10 @@ class Gdi {
public:
Scumm *_vm;
-public:
int _numZBuffer;
int _imgBufOffs[5];
byte _disable_zbuffer;
int32 _numStrips;
-public:
int16 _mask_top, _mask_bottom, _mask_right, _mask_left;
protected:
@@ -174,6 +172,9 @@ protected:
void decompressMaskImgOr(byte *dst, byte *src, int height);
void decompressMaskImg(byte *dst, byte *src, int height);
+ void drawStripToScreen(VirtScreen *vs, int x, int w, int t, int b);
+ void updateDirtyScreen(VirtScreen *vs);
+
public:
void drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, int h, int stripnr, int numstrip, byte flag);
void clearUpperMask();
@@ -182,8 +183,6 @@ public:
void enableZBuffer() { _disable_zbuffer--; }
void resetBackground(int top, int bottom, int strip);
- void drawStripToScreen(VirtScreen *vs, int x, int w, int t, int b);
- void updateDirtyScreen(VirtScreen *vs);
enum DrawBitmapFlags {
dbAllowMaskOr = 1,