summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-15 22:18:54 +0000
committertron <tron@openttd.org>2004-12-15 22:18:54 +0000
commit765ecfed848bd7fc8e3e10e99f7ecc3f1ae338a4 (patch)
treeabc024a53e9698bc4ed26a6830310805e30c693f /map.c
parent736718ef53c7c5a3b8536136209668a895901187 (diff)
downloadopenttd-765ecfed848bd7fc8e3e10e99f7ecc3f1ae338a4.tar.xz
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Diffstat (limited to 'map.c')
-rw-r--r--map.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/map.c b/map.c
new file mode 100644
index 000000000..6cd86d260
--- /dev/null
+++ b/map.c
@@ -0,0 +1,11 @@
+#include "stdafx.h"
+#include "ttd.h"
+#include "map.h"
+
+byte _map_type_and_height[TILES_X * TILES_Y];
+byte _map5[TILES_X * TILES_Y];
+byte _map3_lo[TILES_X * TILES_Y];
+byte _map3_hi[TILES_X * TILES_Y];
+byte _map_owner[TILES_X * TILES_Y];
+byte _map2[TILES_X * TILES_Y];
+byte _map_extra_bits[TILES_X * TILES_Y / 4];