aboutsummaryrefslogtreecommitdiff
path: root/scumm/base-costume.h
diff options
context:
space:
mode:
authorMax Horn2004-10-09 00:06:36 +0000
committerMax Horn2004-10-09 00:06:36 +0000
commitb3c72a792bf2625f58c68822a1ca87a299318c87 (patch)
tree64d742b8a1a53d40995819ffe6877e526e804756 /scumm/base-costume.h
parentca41dba220eceb2f2cca43126ee91ef9c86bae95 (diff)
downloadscummvm-rg350-b3c72a792bf2625f58c68822a1ca87a299318c87.tar.gz
scummvm-rg350-b3c72a792bf2625f58c68822a1ca87a299318c87.tar.bz2
scummvm-rg350-b3c72a792bf2625f58c68822a1ca87a299318c87.zip
Fix for bug #1042802 (DIG: Graphics glitch when scrolling) -- the fix is to properly distinguish pitch and width of the target surface
svn-id: r15480
Diffstat (limited to 'scumm/base-costume.h')
-rw-r--r--scumm/base-costume.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/scumm/base-costume.h b/scumm/base-costume.h
index c32dab3c3f..1ad9f3f5c8 100644
--- a/scumm/base-costume.h
+++ b/scumm/base-costume.h
@@ -71,8 +71,7 @@ protected:
ScummEngine *_vm;
// Destination
- byte *_outptr;
- int _outwidth, _outheight;
+ Graphics::Surface _out;
int32 _numStrips;
// Source pointer
@@ -119,14 +118,6 @@ public:
_width = _height = 0;
_skipLimb = 0;
_transparency = 0;
-
- _clipOverride.right = 0;
- _clipOverride.left = 0;
- _clipOverride.top = 0;
- _clipOverride.bottom = 0;
-
- _outptr = 0;
- _outwidth = _outheight = 0;
}
virtual void setPalette(byte *palette) = 0;