(svn r1415) Move TILE_FROM_XY and TILE_XY to map.h and push TILE_[XY] bits from map.h into map.c.

Now the whole source except map.c is independent of TILE_[XY]_BITS!
This commit is contained in:
tron
2005-01-07 17:40:23 +00:00
parent 7ca6b2b8b0
commit 35972e68e1
4 changed files with 9 additions and 9 deletions

3
map.c
View File

@@ -2,6 +2,9 @@
#include "ttd.h"
#include "map.h"
#define TILE_X_BITS 8
#define TILE_Y_BITS 8
uint _map_log_x = TILE_X_BITS;
uint _map_log_y = TILE_Y_BITS;