summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-14 11:26:10 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-14 11:26:10 +0000
commitc297ba25d7c5eef8d64500ce4f8ddc8c7f098a18 (patch)
treeb0c76db603208316217e2d48458c44a0a74b831c /src/game.cpp
parent495e9b9249a6f199a7b1ad0c3c0f350819f23f30 (diff)
downloadmana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.tar.gz
mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.tar.bz2
mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.tar.xz
mana-c297ba25d7c5eef8d64500ce4f8ddc8c7f098a18.zip
Display of path to mouse now a debug feature you can toggle with F6, plus some
more log file usage.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9cc2a198..9044a711 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -47,6 +47,7 @@ volatile bool action_time = false;
int current_npc, server_tick;
extern unsigned char screen_mode;
int fps = 0, frame = 0;
+bool displayPathToMouse = false;
OkDialog *deathNotice = NULL;
@@ -176,6 +177,10 @@ void do_input()
action(3, 0);
action_time = false;
}
+ else if ((keysym.sym == SDLK_F6))
+ {
+ displayPathToMouse = !displayPathToMouse;
+ }
// Emotions, Skill dialog
if (keysym.mod & KMOD_ALT && action_time)