diff options
author | tron <tron@openttd.org> | 2005-02-22 12:48:03 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-22 12:48:03 +0000 |
commit | 51eef8c5b7b54a64802fc3b833898f0fd75b6a51 (patch) | |
tree | b51c88c837ee8419763f34a5fbfd2ff8969ecaa3 /map.h | |
parent | f22eab55442cc77096ec1cd713c358c0208f2c62 (diff) | |
download | openttd-51eef8c5b7b54a64802fc3b833898f0fd75b6a51.tar.xz |
(svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
Diffstat (limited to 'map.h')
-rw-r--r-- | map.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ #define TILE_XY(x,y) (((y) << MapLogX()) + (x)) #define TILE_MASK(x) ((x) & ((1 << (MapLogX() + MapLogY())) - 1)) +#define TILE_ASSERT(x) assert(TILE_MASK(x) == (x)); extern byte *_map_type_and_height; extern byte *_map_owner; |