diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-10-15 21:08:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-10-15 21:08:39 +0000 |
commit | 1e949983c13cab920a4cc445b2ed6429dd9aad5a (patch) | |
tree | e46aeb53ed54a5aad71f51bb08e0bb428f0d0d7e /src/gui/viewport.h | |
parent | 7df722ac2899729174c1a88bec96f658237023bf (diff) | |
download | mana-1e949983c13cab920a4cc445b2ed6429dd9aad5a.tar.gz mana-1e949983c13cab920a4cc445b2ed6429dd9aad5a.tar.bz2 mana-1e949983c13cab920a4cc445b2ed6429dd9aad5a.tar.xz mana-1e949983c13cab920a4cc445b2ed6429dd9aad5a.zip |
Added Dutch translation (incomplete) and put drawing of debug path into a
private method.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 17 |
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. */ |