equal
deleted
inserted
replaced
79 }; |
79 }; |
80 |
80 |
81 enum { |
81 enum { |
82 TILE_SIZE = 16, /* Tiles are 16x16 "units" in size */ |
82 TILE_SIZE = 16, /* Tiles are 16x16 "units" in size */ |
83 TILE_PIXELS = 32, /* a tile is 32x32 pixels */ |
83 TILE_PIXELS = 32, /* a tile is 32x32 pixels */ |
84 TILE_HEIGHT = 8, /* The standard height-difference between tiles on two levels is 8 (z-diff 8) */ |
84 TILE_HEIGHT = 8, /* The standard height-difference between tiles on two levels is 8 (z-diff 8) */ |
85 }; |
85 }; |
86 |
86 |
87 |
87 |
88 static inline uint TileX(TileIndex tile) |
88 static inline uint TileX(TileIndex tile) |
89 { |
89 { |