From 2f55dd130c886376a45c9d0054dbd987cc055155 Mon Sep 17 00:00:00 2001 From: Bertram Date: Thu, 15 Oct 2009 01:38:18 +0200 Subject: 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 ;) --- src/map.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index 56e13697..843b8308 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -40,6 +40,11 @@ extern volatile int tick_time; +/** + * The used side-length for tiles + */ +const int DEFAULT_TILE_SIDE_LENGTH = 32; + /** * A location on a tile map. Used for pathfinding, open list. */ -- cgit v1.2.3-60-g2f50