diff options
author | tron <tron@openttd.org> | 2005-01-07 17:40:23 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-07 17:40:23 +0000 |
commit | 35972e68e144030fa04198ba7f47ccc21ae5dfa4 (patch) | |
tree | b4a2b5890976917c6f844cc28c48a6c17d7aa234 /map.c | |
parent | 7ca6b2b8b0d6f66966fa2ff01e3e9961314dfcc4 (diff) | |
download | openttd-35972e68e144030fa04198ba7f47ccc21ae5dfa4.tar.xz |
(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!
Diffstat (limited to 'map.c')
-rw-r--r-- | map.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |