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.110 by root, Mon Apr 23 18:09:57 2007 UTC vs.
Revision 1.112 by root, Mon Apr 30 04:25:30 2007 UTC

371 371
372 // If this object has no extra parts but should have them, 372 // If this object has no extra parts but should have them,
373 // add them, effectively expanding heads into multipart 373 // add them, effectively expanding heads into multipart
374 // objects. This method only works on objects not inserted 374 // objects. This method only works on objects not inserted
375 // anywhere. 375 // anywhere.
376 void expand_tail (); 376 MTH void expand_tail ();
377
378 MTH void create_treasure (treasurelist *tl, int flags = 0);
377 379
378 // insert object at same map position as 'where' 380 // insert object at same map position as 'where'
379 // handles both inventory and map "positions" 381 // handles both inventory and map "positions"
380 MTH object *insert_at (object *where, object *originator = 0, int flags = 0); 382 MTH object *insert_at (object *where, object *originator = 0, int flags = 0);
381 383
385 MTH void deactivate_recursive (); 387 MTH void deactivate_recursive ();
386 388
387 // set the givne flag on all objects in the inventory recursively 389 // set the givne flag on all objects in the inventory recursively
388 MTH void set_flag_inv (int flag, int value = 1); 390 MTH void set_flag_inv (int flag, int value = 1);
389 391
390 void enter_exit (object *exit);//PERL 392 void enter_exit (object *exit);//Perl
391 MTH void enter_map (maptile *newmap, int x, int y); 393 MTH void enter_map (maptile *newmap, int x, int y);
392 394
393 // returns the mapspace this object is in 395 // returns the mapspace this object is in
394 mapspace &ms () const; 396 mapspace &ms () const;
395 397

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines