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.172 by root, Sat May 3 11:14:50 2008 UTC vs.
Revision 1.173 by root, Sun May 4 08:25:33 2008 UTC

338 338
339 MTH int slottype () const; 339 MTH int slottype () const;
340 MTH static object *create (); 340 MTH static object *create ();
341 const mapxy &operator =(const mapxy &pos); 341 const mapxy &operator =(const mapxy &pos);
342 MTH void copy_to (object *dst); 342 MTH void copy_to (object *dst);
343 MTH object *clone (); // create + copy_to 343 MTH object *clone (); // create + copy_to a single object
344 MTH object *deep_clone (); // copy whole more chain and inventory
344 void do_destroy (); 345 void do_destroy ();
345 void gather_callbacks (AV *&callbacks, event_type event) const; 346 void gather_callbacks (AV *&callbacks, event_type event) const;
346 MTH void destroy (bool destroy_inventory = false); 347 MTH void destroy (bool destroy_inventory = false);
347 348
348 // recursively destroy all objects in inventory, optionally dropping them to the ground instead 349 // recursively destroy all objects in inventory, optionally dropping them to the ground instead

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines