summaryrefslogtreecommitdiff
path: root/src/map.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/map.h
parentb4befc985875588a4b454b112b8b79a94c26e5e6 (diff)
downloadmana-2f55dd130c886376a45c9d0054dbd987cc055155.tar.gz
mana-2f55dd130c886376a45c9d0054dbd987cc055155.tar.bz2
mana-2f55dd130c886376a45c9d0054dbd987cc055155.tar.xz
mana-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/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 9558f989..75c4bda4 100644
--- a/src/map.h
+++ b/src/map.h
@@ -43,6 +43,8 @@ typedef std::list<Sprite*> MapSprites;
typedef MapSprites::iterator MapSprite;
typedef std::vector<MapLayer*> Layers;
+extern const int DEFAULT_TILE_SIDE_LENGTH;
+
/**
* A meta tile stores additional information about a location on a tile map.
* This is information that doesn't need to be repeated for each tile in each