aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-24 06:28:54 +0000
committerPaweł Kołodziejski2002-10-24 06:28:54 +0000
commita125d1cc1a03a43b692391a34fb9a2dee36991a3 (patch)
treeb444b33ee26c5f6eaa3a5697e9e48977d4e86a34 /scumm/gfx.h
parentfe7343deccef267fe699edb637eb032aec2ecc64 (diff)
downloadscummvm-rg350-a125d1cc1a03a43b692391a34fb9a2dee36991a3.tar.gz
scummvm-rg350-a125d1cc1a03a43b692391a34fb9a2dee36991a3.tar.bz2
scummvm-rg350-a125d1cc1a03a43b692391a34fb9a2dee36991a3.zip
changed number strips to dynamic and increased arrays tdirty and bdirty to 80
svn-id: r5296
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index 25b9a206c9..3ede0d1bd4 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -23,10 +23,6 @@
#ifndef GFX_H
#define GFX_H
-enum {
- NUM_STRIPS = 40
-};
-
enum VideoMode { /* Video scalers */
VIDEO_SCALE = 0,
VIDEO_2XSAI = 1,
@@ -60,8 +56,8 @@ struct VirtScreen { /* Virtual screen areas */
byte alloctwobuffers;
bool scrollable;
uint16 xstart;
- uint16 tdirty[40];
- uint16 bdirty[40];
+ uint16 tdirty[80];
+ uint16 bdirty[80];
byte *screenPtr;
byte *backBuf;
};
@@ -121,6 +117,7 @@ struct Gdi {
int _numZBuffer;
int _imgBufOffs[4];
byte _disable_zbuffer;
+ int32 _numStrips;
bool _useOrDecompress;
int _numLinesToProcess;