diff options
author | Eugene Sandulenko | 2014-04-29 00:20:04 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-29 00:20:04 +0300 |
commit | 6c2a7f0ca3df2dcce4d1050a3d93c883a8faad52 (patch) | |
tree | 332592f61263182604666a4a1d07627f38e0f078 /engines/draci/walking.h | |
parent | f74c46e93efa23db094599e9307caf80ebf5bcda (diff) | |
parent | ad842e61da920952e1583c7d88e252fac43e4f6c (diff) | |
download | scummvm-rg350-6c2a7f0ca3df2dcce4d1050a3d93c883a8faad52.tar.gz scummvm-rg350-6c2a7f0ca3df2dcce4d1050a3d93c883a8faad52.tar.bz2 scummvm-rg350-6c2a7f0ca3df2dcce4d1050a3d93c883a8faad52.zip |
Merge pull request #443 from lukaslw/first_branch
DRACI: Opening inventory during movements and actions.
Diffstat (limited to 'engines/draci/walking.h')
-rw-r--r-- | engines/draci/walking.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/draci/walking.h b/engines/draci/walking.h index ee2b48d083..fcdef3830e 100644 --- a/engines/draci/walking.h +++ b/engines/draci/walking.h @@ -110,6 +110,8 @@ public: _lastAnimPhase = 0; _turningFinished = 0; _callbackOffset = 0; + _callbackOffsetLast = 0; + _callbackLast = 0; stopWalking(); } @@ -124,6 +126,7 @@ public: void setCallback(const GPL2Program *program, uint16 offset); void callback(); + void callbackLast(); bool isActive() const { return _path.size() > 0; } @@ -157,7 +160,9 @@ private: bool _turningFinished; const GPL2Program *_callback; + const GPL2Program *_callbackLast; uint16 _callbackOffset; + uint16 _callbackOffsetLast; // Initiates turning of the dragon into the direction for the next // segment / after walking. Returns false when there is nothing left |