ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
(Generate patch)

Comparing deliantra/server/include/object.h (file contents):
Revision 1.120 by root, Sat May 12 16:06:42 2007 UTC vs.
Revision 1.121 by root, Mon May 14 19:08:26 2007 UTC

46 body_foot, 46 body_foot,
47 body_hand, 47 body_hand,
48 body_wrist, 48 body_wrist,
49 body_waist, 49 body_waist,
50 NUM_BODY_LOCATIONS 50 NUM_BODY_LOCATIONS
51};
52
53enum slottype_t
54{
55 slot_none,
56 slot_combat,
57 slot_ranged,
51}; 58};
52 59
53/* See common/item.c */ 60/* See common/item.c */
54 61
55typedef struct Body_Locations 62typedef struct Body_Locations
271 bool parse_kv (object_thawer &f); // parse kv pairs, (ab-)used by archetypes, which should not exist at all 278 bool parse_kv (object_thawer &f); // parse kv pairs, (ab-)used by archetypes, which should not exist at all
272 void post_load_check (); // do some adjustments after parsing 279 void post_load_check (); // do some adjustments after parsing
273 static object *read (object_thawer &f, maptile *map = 0); // map argument due to toal design bogosity, must go. 280 static object *read (object_thawer &f, maptile *map = 0); // map argument due to toal design bogosity, must go.
274 bool write (object_freezer &f); 281 bool write (object_freezer &f);
275 282
283 MTH int slottype () const;
276 MTH static object *create (); 284 MTH static object *create ();
277 object &operator =(const object &src); 285 object &operator =(const object &src);
278 MTH void copy_to (object *dst); 286 MTH void copy_to (object *dst);
279 MTH object *clone (); // create + copy_to 287 MTH object *clone (); // create + copy_to
280 void do_destroy (); 288 void do_destroy ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines