From 67161506ad98a7636d3c9f141b5595481d079e93 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 5 Jan 2005 13:32:03 +0000 Subject: (svn r1386) Move TileIndexDiff to map.h Move _tileoffs_by_dir to map.[ch] and encapsulate it in TileOffsByDir() --- macros.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'macros.h') diff --git a/macros.h b/macros.h index 61351d9e1..24be9a911 100644 --- a/macros.h +++ b/macros.h @@ -148,13 +148,7 @@ static inline int FindFirstBit2x64(int value) } -#if TILE_X_BITS + TILE_Y_BITS <= 16 - typedef uint16 TileIndex; - typedef int16 TileIndexDiff; -#else - typedef uint32 TileIndex; - typedef int32 TileIndexDiff; -#endif +typedef uint16 TileIndex; /* [min,max), strictly less than */ #define IS_BYTE_INSIDE(a,min,max) ((byte)((a)-(min)) < (byte)((max)-(min))) -- cgit v1.2.3-54-g00ecf