summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-29 19:45:14 +0000
committertron <tron@openttd.org>2005-01-29 19:45:14 +0000
commit3a89108a55b6ee45550ed8b5e01434b51c2f6995 (patch)
tree911339d12234fdbe85e78c906881ba0d7989b09c /map.h
parent752b3f0dd614217d68f361e2d0b2cc599a37c860 (diff)
downloadopenttd-3a89108a55b6ee45550ed8b5e01434b51c2f6995.tar.xz
(svn r1722) -Feature: Bigger maps - anyone?
Diffstat (limited to 'map.h')
-rw-r--r--map.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/map.h b/map.h
index b504cb209..d5628fe45 100644
--- a/map.h
+++ b/map.h
@@ -8,13 +8,15 @@
#define TILE_MASK(x) ((x) & ((1 << (MapLogX() + MapLogY())) - 1))
-extern byte _map_type_and_height[];
-extern byte _map5[];
-extern byte _map3_lo[];
-extern byte _map3_hi[];
-extern byte _map_owner[];
-extern uint16 _map2[];
-extern byte _map_extra_bits[];
+extern byte *_map_type_and_height;
+extern byte *_map_owner;
+extern uint16 *_map2;
+extern byte *_map3_lo;
+extern byte *_map3_hi;
+extern byte *_map5;
+extern byte *_map_extra_bits;
+
+void InitMap(uint log_x, uint log_y);
// binary logarithm of the map size, try to avoid using this one
static inline uint MapLogX(void) { extern uint _map_log_x; return _map_log_x; }