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.183 by root, Mon Sep 29 06:32:08 2008 UTC vs.
Revision 1.184 by root, Mon Sep 29 10:31:32 2008 UTC

345 MTH object *clone (); // create + copy_to a single object 345 MTH object *clone (); // create + copy_to a single object
346 MTH object *deep_clone (); // copy whole more chain and inventory 346 MTH object *deep_clone (); // copy whole more chain and inventory
347 void do_destroy (); 347 void do_destroy ();
348 void gather_callbacks (AV *&callbacks, event_type event) const; 348 void gather_callbacks (AV *&callbacks, event_type event) const;
349 MTH void destroy (bool destroy_inventory = false); 349 MTH void destroy (bool destroy_inventory = false);
350 MTH void drop_and_destroy ()
351 {
352 destroy_inv (true);
353 destroy ();
354 }
350 355
351 // recursively destroy all objects in inventory, optionally dropping them to the ground instead 356 // recursively destroy all objects in inventory, optionally dropping them to the ground instead
352 MTH void destroy_inv (bool drop_to_ground = false); 357 MTH void destroy_inv (bool drop_to_ground = false);
353 MTH object *insert (object *item); // insert into inventory 358 MTH object *insert (object *item); // insert into inventory
354 MTH void play_sound (faceidx sound); 359 MTH void play_sound (faceidx sound);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines