summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-05 13:32:03 +0000
committertron <tron@openttd.org>2005-01-05 13:32:03 +0000
commit67161506ad98a7636d3c9f141b5595481d079e93 (patch)
treeb9a5829b3d37c53a2de48d1ef28960f41804f4dc /misc.c
parent2543158c8e0d105148bc38522fba43aa3428d76a (diff)
downloadopenttd-67161506ad98a7636d3c9f141b5595481d079e93.tar.xz
(svn r1386) Move TileIndexDiff to map.h
Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir()
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/misc.c b/misc.c
index a1bd0fc15..67bc2c8ff 100644
--- a/misc.c
+++ b/misc.c
@@ -361,13 +361,6 @@ StringID RealAllocateName(const byte *name, byte skip, bool check_double)
return free_item | 0x7800 | (skip << 8);
}
-const TileIndexDiff _tileoffs_by_dir[4] = {
- TILE_XY(-1, 0),
- TILE_XY(0, 1),
- TILE_XY(1, 0),
- TILE_XY(0, -1),
-};
-
#define M(a,b) ((a<<5)|b)
static const uint16 _month_date_from_year_day[] = {