aboutsummaryrefslogtreecommitdiff
path: root/scumm/base-costume.h
diff options
context:
space:
mode:
authorMax Horn2003-05-29 02:46:06 +0000
committerMax Horn2003-05-29 02:46:06 +0000
commit0a6daf767f2647e5799dffa6af01047545445dc5 (patch)
tree0e84398a69d29ef09a157450b7c809acf935d318 /scumm/base-costume.h
parent59acd18cee517101ad900c1522764350f198605b (diff)
downloadscummvm-rg350-0a6daf767f2647e5799dffa6af01047545445dc5.tar.gz
scummvm-rg350-0a6daf767f2647e5799dffa6af01047545445dc5.tar.bz2
scummvm-rg350-0a6daf767f2647e5799dffa6af01047545445dc5.zip
more costume/akos changes
svn-id: r8074
Diffstat (limited to 'scumm/base-costume.h')
-rw-r--r--scumm/base-costume.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/scumm/base-costume.h b/scumm/base-costume.h
index fcd638abab..23cd56d9b0 100644
--- a/scumm/base-costume.h
+++ b/scumm/base-costume.h
@@ -57,7 +57,7 @@ public:
int _draw_top, _draw_bottom;
- // Destination params
+ // Destination
byte *_outptr;
uint _outwidth, _outheight;
@@ -65,6 +65,9 @@ protected:
Scumm *_vm;
int32 _numStrips;
+ // Source pointer
+ const byte *_srcptr;
+
// current move offset
int _xmove, _ymove;
@@ -75,14 +78,14 @@ protected:
int _width, _height;
struct {
- /* codec stuff */
+ // Parameters for the original ("V1") costume codec.
const byte *scaletable;
byte mask, shr;
byte repcolor;
byte replen;
int scaleXstep;
int x, y;
- int tmp_x, tmp_y;
+ int scaleXindex, scaleYindex;
int skip_width;
byte *destptr;
const byte *mask_ptr;
@@ -101,6 +104,7 @@ public:
_vm = scumm;
_numStrips = _vm->gdi._numStrips;
+ _srcptr = 0;
_xmove = _ymove = 0;
_mirror = false;
_width = _height = 0;