aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-23 08:26:28 +0000
committerMax Horn2003-04-23 08:26:28 +0000
commit37ff9ae0e47955675d9c13a3c6978e013aa67bbc (patch)
tree6cdd943349f063327b412aadcd22535a1c134bcf /scumm/costume.cpp
parentf996cd5987a77d75b07c2d368f670c982675f9e5 (diff)
downloadscummvm-rg350-37ff9ae0e47955675d9c13a3c6978e013aa67bbc.tar.gz
scummvm-rg350-37ff9ae0e47955675d9c13a3c6978e013aa67bbc.tar.bz2
scummvm-rg350-37ff9ae0e47955675d9c13a3c6978e013aa67bbc.zip
renamed unk19 to startScaleIndexX
svn-id: r7085
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r--scumm/costume.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index cd5ed3b5ac..693c96a93a 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -82,7 +82,7 @@ byte CostumeRenderer::mainRoutine(int slot, int frame) {
uint scal;
byte scaling;
byte charsetmask, masking;
- byte unk19;
+ byte startScaleIndexX;
byte newAmiCost;
int ex1, ex2;
@@ -132,43 +132,43 @@ byte CostumeRenderer::mainRoutine(int slot, int frame) {
}
if (_mirror) {
- unk19 = _scaleIndexX = 128 - xmove;
+ startScaleIndexX = _scaleIndexX = 128 - xmove;
for (i = 0; i < xmove; i++) {
scal = cost_scaleTable[_scaleIndexX++];
if (scal < _scaleX)
_xpos -= _scaleIndexXStep;
}
_right = _left = _xpos;
- _scaleIndexX = unk19;
+ _scaleIndexX = startScaleIndexX;
for (i = 0; i < _width; i++) {
if (_right < 0) {
s++;
- unk19 = _scaleIndexX;
+ startScaleIndexX = _scaleIndexX;
}
scal = cost_scaleTable[_scaleIndexX++];
if (scal < _scaleX)
_right++;
}
} else {
- unk19 = _scaleIndexX = xmove + 128;
+ startScaleIndexX = _scaleIndexX = xmove + 128;
for (i = 0; i < xmove; i++) {
scal = cost_scaleTable[_scaleIndexX--];
if (scal < _scaleX)
_xpos += _scaleIndexXStep;
}
_right = _left = _xpos;
- _scaleIndexX = unk19;
+ _scaleIndexX = startScaleIndexX;
for (i = 0; i < _width; i++) {
if (_left > (_vm->_realWidth - 1)) {
s++;
- unk19 = _scaleIndexX;
+ startScaleIndexX = _scaleIndexX;
}
scal = cost_scaleTable[_scaleIndexX--];
if (scal < _scaleX)
_left--;
}
}
- _scaleIndexX = unk19;
+ _scaleIndexX = startScaleIndexX;
if (s)
s--;
_scaleIndexYStep = -1;