From 114e76641ccde78fcb9f4ca2fcf7c9a909e176ba Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 23 May 2007 21:35:01 +0000 Subject: Added a missing include and fixed a bug with cleaning up target cursor animations. --- src/gui/viewport.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/gui/viewport.h') diff --git a/src/gui/viewport.h b/src/gui/viewport.h index a0f69407..22d0f249 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -171,10 +171,17 @@ class Viewport : public WindowContainer, public gcn::MouseListener, int mCameraY; /**< Current viewpoint in tiles. */ bool mShowDebugPath; /**< Show a path from player to pointer. */ - ImageSet *mInRangeImages[Being::NUM_TC]; /**< Images of in range target cursor. */ - ImageSet *mOutRangeImages[Being::NUM_TC]; /**< Images of out of range target cursor.*/ - SimpleAnimation *mTargetCursorInRange[Being::NUM_TC]; /**< Animated in range target cursor. */ - SimpleAnimation *mTargetCursorOutRange[Being::NUM_TC];/**< Animated out of range target cursor. */ + /** Images of in range target cursor. */ + ImageSet *mInRangeImages[Being::NUM_TC]; + + /** Images of out of range target cursor. */ + ImageSet *mOutRangeImages[Being::NUM_TC]; + + /** Animated in range target cursor. */ + SimpleAnimation *mTargetCursorInRange[Being::NUM_TC]; + + /** Animated out of range target cursor. */ + SimpleAnimation *mTargetCursorOutRange[Being::NUM_TC]; bool mPlayerFollowMouse; int mWalkTime; -- cgit v1.2.3-70-g09d2