@ -1,6 +1,8 @@
#ifndef MAP_H
#define MAP_H
#include "stdafx.h"
#define TILE_FROM_XY(x,y) (int)((((y) >> 4) << MapLogX()) + ((x) >> 4))
#define TILE_XY(x,y) (((y) << MapLogX()) + (x))