changeset 1942 | 634961366cdc |
parent 1679 | 62f9e55a3835 |
child 1977 | 4392ae3d8e31 |
--- a/map.h Thu Jun 16 17:53:40 2005 +0000 +++ b/map.h Thu Jun 16 18:04:02 2005 +0000 @@ -48,6 +48,13 @@ INVALID_TILE = (uint32) -1 }; +enum { + TILE_SIZE = 16, /* Tiles are 16x16 "units" in size */ + TILE_PIXELS = 32, /* a tile is 32x32 pixels */ + TILE_HEIGHT = 8, /* The standard height-difference between tiles on two levels is 8 (z-diff 8) */ +}; + + static inline uint TileX(TileIndex tile) { return tile & MapMaxX();