diff options
author | Sven Hesse | 2010-03-15 22:24:11 +0000 |
---|---|---|
committer | Sven Hesse | 2010-03-15 22:24:11 +0000 |
commit | a1f1cdf820f5eefac4fbcba8a596646fc05b954e (patch) | |
tree | baea9bdc1bafe4d9c746265041ec81f2e05748bc /graphics/video/coktelvideo/coktelvideo.h | |
parent | a9b7722df35f94d79363886534f393929e305e80 (diff) | |
download | scummvm-rg350-a1f1cdf820f5eefac4fbcba8a596646fc05b954e.tar.gz scummvm-rg350-a1f1cdf820f5eefac4fbcba8a596646fc05b954e.tar.bz2 scummvm-rg350-a1f1cdf820f5eefac4fbcba8a596646fc05b954e.zip |
Changing Imd::renderFrame() and Vmd::renderFrame() to properly clip the drawing area to prevent overdrawing without producing garbage output
svn-id: r48264
Diffstat (limited to 'graphics/video/coktelvideo/coktelvideo.h')
-rw-r--r-- | graphics/video/coktelvideo/coktelvideo.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.h b/graphics/video/coktelvideo/coktelvideo.h index f7063e064c..8fbd861e82 100644 --- a/graphics/video/coktelvideo/coktelvideo.h +++ b/graphics/video/coktelvideo/coktelvideo.h @@ -420,15 +420,15 @@ protected: void deLZ77(byte *dest, byte *src); void renderBlockWhole (byte *dest, const byte *src, int16 width, int16 height, - int16 destWidth, int16 destHeight); + int16 destPitch, int16 srcPitch); void renderBlockWhole4X (byte *dest, const byte *src, int16 width, int16 height, - int16 destWidth, int16 destHeight); + int16 destPitch, int16 srcPitch); void renderBlockWhole2Y (byte *dest, const byte *src, int16 width, int16 height, - int16 destWidth, int16 destHeight); + int16 destPitch, int16 srcPitch); void renderBlockSparse (byte *dest, const byte *src, int16 width, int16 height, - int16 destWidth, int16 destHeight); + int16 destPitch, int16 srcPitch); void renderBlockSparse2Y(byte *dest, const byte *src, int16 width, int16 height, - int16 destWidth, int16 destHeight); + int16 destPitch, int16 srcPitch); void calcFrameCoords(uint16 frame, State &state); @@ -566,9 +566,9 @@ protected: uint32 renderFrame(int16 &left, int16 &top, int16 &right, int16 &bottom); void renderBlockRLE(byte *dest, const byte *src, int16 width, int16 height, - int16 destWidth, int16 destHeight); + int16 destPitch, int16 srcPitch); - void deRLE(byte *&destPtr, const byte *&srcPtr, int16 len); + void deRLE(byte *&destPtr, const byte *&srcPtr, int16 destLen, int16 srcLen); inline int32 preScaleX(int32 x) const; inline int32 postScaleX(int32 x) const; |