tron@679: #include "stdafx.h" tron@679: #include "ttd.h" tron@679: #include "map.h" tron@679: tron@689: uint _map_log_x = TILE_X_BITS; tron@689: uint _map_log_y = TILE_Y_BITS; tron@689: tron@863: #define MAP_SIZE ((1 << TILE_X_BITS) * (1 << TILE_Y_BITS)) tron@863: tron@863: byte _map_type_and_height [MAP_SIZE]; tron@863: byte _map5 [MAP_SIZE]; tron@863: byte _map3_lo [MAP_SIZE]; tron@863: byte _map3_hi [MAP_SIZE]; tron@863: byte _map_owner [MAP_SIZE]; tron@863: uint16 _map2 [MAP_SIZE]; tron@863: byte _map_extra_bits [MAP_SIZE / 4];