--- deliantra/server/include/object.h 2007/05/12 16:06:42 1.120 +++ deliantra/server/include/object.h 2007/05/14 19:08:26 1.121 @@ -50,6 +50,13 @@ NUM_BODY_LOCATIONS }; +enum slottype_t +{ + slot_none, + slot_combat, + slot_ranged, +}; + /* See common/item.c */ typedef struct Body_Locations @@ -273,6 +280,7 @@ static object *read (object_thawer &f, maptile *map = 0); // map argument due to toal design bogosity, must go. bool write (object_freezer &f); + MTH int slottype () const; MTH static object *create (); object &operator =(const object &src); MTH void copy_to (object *dst);