(svn r21877) -Codechange: move definition of HALF_TILE_SIZE to tile_type.h

This commit is contained in:
smatz
2011-01-21 15:48:52 +00:00
parent 6dc24cf643
commit 4432f7799d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,8 @@
#define TILE_TYPE_H
static const uint TILE_SIZE = 16; ///< Tiles are 16x16 "units" in size
static const uint TILE_UNIT_MASK = TILE_SIZE - 1; ///< for masking in/out the inner-tile units.
static const uint HALF_TILE_SIZE = TILE_SIZE / 2; ///< Half of tile size, to get centre of a tile.
static const uint TILE_UNIT_MASK = TILE_SIZE - 1; ///< For masking in/out the inner-tile units.
static const uint TILE_PIXELS = 32; ///< a tile is 32x32 pixels
static const uint TILE_HEIGHT = 8; ///< The standard height-difference between tiles on two levels is 8 (z-diff 8)