+#if NEW_TILESIZE
+#define ZOOM_FACTOR (2 * TILESIZE_VAR / TILESIZE)
+#else
+#define ZOOM_FACTOR 2
+#endif
+
+#if NEW_TILESIZE
+extern int TILESIZE_VAR;
+#define TILESIZE 32
+#define TILEX TILESIZE
+#define TILEY TILESIZE
+#define TILEX_VAR TILESIZE_VAR
+#define TILEY_VAR TILESIZE_VAR
+#else
+#define TILESIZE (ORIG_TILESIZE * ZOOM_FACTOR)
+#define TILEX TILESIZE
+#define TILEY TILESIZE
+#endif