diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-27 01:32:22 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-27 01:32:22 +0000 |
commit | 8119f4ec53b64adc427f683077f65ce8aec85582 (patch) | |
tree | ed95e9a85c4cfe412e391f95860866253d25b0a4 /src/gui/viewport.h | |
parent | fe76762f26180fdbbbac6e16bfa02c8bde3be78b (diff) | |
download | mana-8119f4ec53b64adc427f683077f65ce8aec85582.tar.gz mana-8119f4ec53b64adc427f683077f65ce8aec85582.tar.bz2 mana-8119f4ec53b64adc427f683077f65ce8aec85582.tar.xz mana-8119f4ec53b64adc427f683077f65ce8aec85582.zip |
Merged the Tametomo branch back into trunk. Targeting has been removed
from the viewport, and is now located on the beings themselves.
Eventually, this will be changed further so that the targets draw below
the being, instead of maintaining the same logic, but baby steps first.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 70ac1bea..c7b3c0e7 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -38,7 +38,6 @@ class ImageSet; class Item; class PopupMenu; class Graphics; -class SimpleAnimation; /** * The viewport on the map. Displays the current map and handles mouse input @@ -136,17 +135,6 @@ class Viewport : public WindowContainer, public gcn::MouseListener, scrollBy(float x, float y) { mPixelViewX += x; mPixelViewY += y; } private: - /** - * Helper function for loading target cursors - */ - void loadTargetCursor(std::string filename, int width, int height, - bool outRange, Being::TargetCursorSize size); - - /** - * Draws range based target cursor - */ - void drawTargetCursor(Graphics *graphics); - Map *mMap; /**< The current map. */ int mScrollRadius; @@ -159,18 +147,6 @@ class Viewport : public WindowContainer, public gcn::MouseListener, int mTileViewY; /**< Current viewpoint in tiles. */ bool mShowDebugPath; /**< Show a path from player to pointer. */ - /** 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; |