aboutsummaryrefslogtreecommitdiff
path: root/queen/walk.h
diff options
context:
space:
mode:
authorGregory Montoir2004-12-31 00:25:18 +0000
committerGregory Montoir2004-12-31 00:25:18 +0000
commita44e8248159fc836f9d534872b0d55741f0c803c (patch)
tree47df2cacddf071f0ff1c8a761b3038acc0d8c7d1 /queen/walk.h
parentf06348440fd2040cb8bf57849c7e6670db91caf0 (diff)
downloadscummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.tar.gz
scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.tar.bz2
scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.zip
added some comments and re-indented some parts of code
svn-id: r16394
Diffstat (limited to 'queen/walk.h')
-rw-r--r--queen/walk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/queen/walk.h b/queen/walk.h
index 1f9244193d..730b03ff6d 100644
--- a/queen/walk.h
+++ b/queen/walk.h
@@ -108,10 +108,16 @@ private:
bool calc(uint16 oldPos, uint16 newPos, int16 oldx, int16 oldy, int16 x, int16 y);
+ //! areas for current room
const Area *_roomArea;
+
+ //! number of areas for current room
uint16 _roomAreaCount;
+ //! walking steps
WalkData _walkData[MAX_WALK_DATA];
+
+ //! number of walking steps
uint16 _walkDataCount;
uint16 _areaStrike[MAX_WALK_DATA];
@@ -128,6 +134,7 @@ private:
QueenEngine *_vm;
+ //! persons walking animation data
static const MovePersonData _moveData[];
};