--- deliantra/server/include/map.h 2008/12/26 10:36:42 1.104 +++ deliantra/server/include/map.h 2008/12/27 04:07:44 1.106 @@ -109,9 +109,8 @@ * function that does more of the work can hopefully be used to replace * lots of duplicate checks currently in the code. */ -#define P_OUT_OF_MAP 0x10000 /* This space is outside the map */ -#define P_NEW_MAP 0x20000 - /* Coordinates passed result in a new tiled map */ +#define P_OUT_OF_MAP 0x10000 /* This space is outside the map */ +#define P_NEW_MAP 0x20000 /* Coordinates passed result in a new tiled map */ /* Instead of having numerous arrays that have information on a * particular space (was map, floor, floor2, map_ob), @@ -125,6 +124,8 @@ object *ACC (RW, bot); object *ACC (RW, top); /* lowest/highest object on this space */ object *ACC (RW, faces_obj[MAP_LAYERS]);/* face objects for the 3 layers */ + uint32_t smell; // the last count a player was seen here, or 0 + static uint32_t smellcount; // global smell counter uint8 flags_; /* flags about this space (see the P_ values above) */ sint8 ACC (RW, light); /* How much light this space provides */ MoveType ACC (RW, move_block); /* What movement types this space blocks */