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.136 by root, Thu Jul 5 08:10:30 2007 UTC vs.
Revision 1.138 by root, Thu Jul 26 00:27:08 2007 UTC

284 MTH void destroy (bool destroy_inventory = false); 284 MTH void destroy (bool destroy_inventory = false);
285 285
286 // recursively destroy all objects in inventory, optionally dropping them to the ground instead 286 // recursively destroy all objects in inventory, optionally dropping them to the ground instead
287 MTH void destroy_inv (bool drop_to_ground = false); 287 MTH void destroy_inv (bool drop_to_ground = false);
288 MTH object *insert (object *item); // insert into inventory 288 MTH object *insert (object *item); // insert into inventory
289 MTH void play_sound (faceidx sound) const;
290
289 void do_remove (); 291 void do_remove ();
290 MTH void remove () 292 MTH void remove ()
291 { 293 {
292 if (!flag [FLAG_REMOVED]) 294 if (!flag [FLAG_REMOVED])
293 do_remove (); 295 do_remove ();
423 MTH void create_treasure (treasurelist *tl, int flags = 0); 425 MTH void create_treasure (treasurelist *tl, int flags = 0);
424 426
425 // insert object at same map position as 'where' 427 // insert object at same map position as 'where'
426 // handles both inventory and map "positions" 428 // handles both inventory and map "positions"
427 MTH object *insert_at (object *where, object *originator = 0, int flags = 0); 429 MTH object *insert_at (object *where, object *originator = 0, int flags = 0);
430 MTH void drop_unpaid_items ();
428 431
429 MTH void activate (); 432 MTH void activate ();
430 MTH void deactivate (); 433 MTH void deactivate ();
431 MTH void activate_recursive (); 434 MTH void activate_recursive ();
432 MTH void deactivate_recursive (); 435 MTH void deactivate_recursive ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines