--- deliantra/server/include/newserver.h 2006/09/16 22:24:12 1.12 +++ deliantra/server/include/newserver.h 2006/09/19 22:05:55 1.13 @@ -41,11 +41,12 @@ struct MapCell { + tag_t player; // this is, unfortunately, very wasteful of memory space, but pretty bandwidth-efficient + int count; /* This is really darkness in the map1 command */ short faces[MAP_LAYERS]; uint16 smooth[MAP_LAYERS]; - int count; /* This is really darkness in the map1 command */ unsigned char stat_hp; // health of something in this space, or 0 - tag_t player; // this is, unfortunately, very wasteful of memory space, but pretty bandwidth-efficient + unsigned char flags; }; /* This basically defines the largest size an @@ -55,7 +56,7 @@ */ #define MAX_HEAD_OFFSET 8 -# define MAX_CLIENT_X (MAP_CLIENT_X + MAX_HEAD_OFFSET) +#define MAX_CLIENT_X (MAP_CLIENT_X + MAX_HEAD_OFFSET) #define MAX_CLIENT_Y (MAP_CLIENT_Y + MAX_HEAD_OFFSET) struct Map