aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/animation.h
diff options
context:
space:
mode:
authorStrangerke2013-10-01 21:04:37 +0200
committerStrangerke2013-10-01 21:04:37 +0200
commitf9a5eb4629472df1d1d8ba62f9c2e54f1c9a383a (patch)
tree9058d369bbda13efc144e343d0bdbf37c85107e9 /engines/avalanche/animation.h
parentbb8157772cca0f5c7192781a8816af35b09e88e2 (diff)
downloadscummvm-rg350-f9a5eb4629472df1d1d8ba62f9c2e54f1c9a383a.tar.gz
scummvm-rg350-f9a5eb4629472df1d1d8ba62f9c2e54f1c9a383a.tar.bz2
scummvm-rg350-f9a5eb4629472df1d1d8ba62f9c2e54f1c9a383a.zip
AVALANCHE: Set private some more variables
Diffstat (limited to 'engines/avalanche/animation.h')
-rw-r--r--engines/avalanche/animation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/animation.h b/engines/avalanche/animation.h
index d5d85106d8..e880fbf9e7 100644
--- a/engines/avalanche/animation.h
+++ b/engines/avalanche/animation.h
@@ -61,7 +61,6 @@ public:
Direction _facingDir;
byte _stepNum;
int16 _x, _y; // Current xy coords.
- int16 _oldX[2], _oldY[2]; // Last xy coords.
int8 _moveX, _moveY; // Amount to move sprite by, each step.
byte _id;
bool _quick, _visible, _homing, _doCheck;
@@ -91,6 +90,8 @@ public:
private:
Animation *_anim;
+ int16 _oldX[2], _oldY[2]; // Last xy coords.
+
bool checkCollision();
int8 getSign(int16 val);
};