diff options
author | Bertram <bertram@cegetel.net> | 2009-10-15 01:38:18 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-10-15 01:38:18 +0200 |
commit | 2f55dd130c886376a45c9d0054dbd987cc055155 (patch) | |
tree | a0a1f25a6310b9e29ab10c442ba10cb2a1a1145e /src/map.h | |
parent | b4befc985875588a4b454b112b8b79a94c26e5e6 (diff) | |
download | mana-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |