map.c
changeset 927 28f45a22a564
parent 909 81bc9ef93f50
child 955 25bc5b97e3e2
equal deleted inserted replaced
926:bd4312619522 927:28f45a22a564
     1 #include "stdafx.h"
     1 #include "stdafx.h"
     2 #include "ttd.h"
     2 #include "ttd.h"
     3 #include "map.h"
     3 #include "map.h"
       
     4 
       
     5 #define TILE_X_BITS 8
       
     6 #define TILE_Y_BITS 8
     4 
     7 
     5 uint _map_log_x = TILE_X_BITS;
     8 uint _map_log_x = TILE_X_BITS;
     6 uint _map_log_y = TILE_Y_BITS;
     9 uint _map_log_y = TILE_Y_BITS;
     7 
    10 
     8 #define MAP_SIZE ((1 << TILE_X_BITS) * (1 << TILE_Y_BITS))
    11 #define MAP_SIZE ((1 << TILE_X_BITS) * (1 << TILE_Y_BITS))