summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-05-23 21:35:01 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-05-23 21:35:01 +0000
commit114e76641ccde78fcb9f4ca2fcf7c9a909e176ba (patch)
tree9efa7737187ae8e239a2914cbb57e0e36f5efc92 /src/gui/viewport.h
parent1ddb44f5caf3e0bc93b7d19cc6e227b10e4b4c41 (diff)
downloadmana-client-114e76641ccde78fcb9f4ca2fcf7c9a909e176ba.tar.gz
mana-client-114e76641ccde78fcb9f4ca2fcf7c9a909e176ba.tar.bz2
mana-client-114e76641ccde78fcb9f4ca2fcf7c9a909e176ba.tar.xz
mana-client-114e76641ccde78fcb9f4ca2fcf7c9a909e176ba.zip
Added a missing include and fixed a bug with cleaning up target cursor
animations.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h15
1 files changed, 11 insertions, 4 deletions
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;