summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2009-10-15 01:38:18 +0200
committerBertram <bertram@cegetel.net>2009-10-15 01:38:18 +0200
commit2f55dd130c886376a45c9d0054dbd987cc055155 (patch)
treea0a1f25a6310b9e29ab10c442ba10cb2a1a1145e /src/game.h
parentb4befc985875588a4b454b112b8b79a94c26e5e6 (diff)
downloadmana-client-2f55dd130c886376a45c9d0054dbd987cc055155.tar.gz
mana-client-2f55dd130c886376a45c9d0054dbd987cc055155.tar.bz2
mana-client-2f55dd130c886376a45c9d0054dbd987cc055155.tar.xz
mana-client-2f55dd130c886376a45c9d0054dbd987cc055155.zip
Speed code unification part 3: Made the client handle the speed in tiles per second in TMWserv.
While I was on it, I tweaked the default speed value to its final 6 tiles per second value, which seems to be nice to me. Another notice, the server does already send speed value to the player. The keyboard movement protocol is one step ahead Release Candidate, enjoy ;)
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 1b9373a9..628c710b 100644
--- a/src/game.h
+++ b/src/game.h
@@ -29,6 +29,7 @@
extern std::string map_path;
extern volatile int fps;
extern volatile int tick_time;
+extern const int MILLISECONDS_IN_A_TICK;
class WindowMenu;