macros.h
changeset 927 28f45a22a564
parent 926 bd4312619522
child 928 ff043aaa348e
--- a/macros.h	Fri Jan 07 17:02:43 2005 +0000
+++ b/macros.h	Fri Jan 07 17:40:23 2005 +0000
@@ -70,9 +70,6 @@
 
 #define LANDSCAPE_SIZE_FACTOR 1
 
-#define TILE_FROM_XY(x,y) (int)((((y) >> 4) << TILE_X_BITS) + ((x) >> 4))
-#define TILE_XY(x,y) (int)(((y) << TILE_X_BITS) + (x))
-
 #define IS_TILETYPE(_t_, _s_) (_map_type_and_height[(_t_)] >> 4 == (_s_))
 #define GET_TILETYPE(_t_) (_map_type_and_height[(_t_)] >> 4)
 #define GET_TILEHEIGHT(_t_) ((_map_type_and_height[_t_] & 0xF) * 8)
@@ -86,7 +83,7 @@
 
 extern uint SafeTileAdd(uint x, int add, const char *exp, const char *file, int line);
 
-#if !defined(_DEBUG) || TILE_X_BITS != 8
+#if !defined(_DEBUG)
 #	define TILE_ADD(x,y) ((x)+(y))
 #else
 #	if defined(__GNUC__)