summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index eeb31bae..1547c0a4 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -132,21 +132,24 @@ class Viewport : public WindowContainer, public gcn::MouseListener,
/**
* Helper function for loading target cursors
*/
- void
- loadTargetCursor(std::string filename, int width, int height,
- bool outRange, Being::TargetCursorSize size);
+ void loadTargetCursor(std::string filename, int width, int height,
+ bool outRange, Being::TargetCursorSize size);
/**
* Draws range based target cursor
*/
- void
- drawTargetCursor(Graphics *graphics);
+ void drawTargetCursor(Graphics *graphics);
/**
* Draws target name
*/
- void
- drawTargetName(Graphics *graphics);
+ void drawTargetName(Graphics *graphics);
+
+ /**
+ * Finds a path from the player to the mouse, and draws it. This is for
+ * debug purposes.
+ */
+ void drawDebugPath(Graphics *graphics);
Map *mMap; /**< The current map. */