summaryrefslogtreecommitdiff
path: root/src/tile_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-09-21 20:31:06 +0000
committeralberth <alberth@openttd.org>2012-09-21 20:31:06 +0000
commit5add39d560aa28e95a7a4f84036ef5b1dd2e2e6b (patch)
tree83b96d1cc2850d8a6d5f7790c2dd1d99074ad043 /src/tile_type.h
parent6853df46c7d2867ef3c03a0b29ec8d33f060c696 (diff)
downloadopenttd-5add39d560aa28e95a7a4f84036ef5b1dd2e2e6b.tar.xz
(svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant.
Diffstat (limited to 'src/tile_type.h')
-rw-r--r--src/tile_type.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tile_type.h b/src/tile_type.h
index b43b0e6b5..8a476e980 100644
--- a/src/tile_type.h
+++ b/src/tile_type.h
@@ -13,7 +13,6 @@
#define TILE_TYPE_H
static const uint TILE_SIZE = 16; ///< Tiles are 16x16 "units" in size
-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)