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.109 by root, Sat Apr 21 16:56:32 2007 UTC vs.
Revision 1.112 by root, Mon Apr 30 04:25:30 2007 UTC

362 MTH object *head_ () 362 MTH object *head_ ()
363 { 363 {
364 return head ? head : this; 364 return head ? head : this;
365 } 365 }
366 366
367 MTH std::string long_desc (object *who = 0);
368 MTH std::string describe_monster (object *who = 0);
369 MTH std::string describe_item (object *who = 0);
370 MTH std::string describe (object *who = 0);
371
367 // If this object has no extra parts but should have them, 372 // If this object has no extra parts but should have them,
368 // add them, effectively expanding heads into multipart 373 // add them, effectively expanding heads into multipart
369 // objects. This method only works on objects not inserted 374 // objects. This method only works on objects not inserted
370 // anywhere. 375 // anywhere.
371 void expand_tail (); 376 MTH void expand_tail ();
377
378 MTH void create_treasure (treasurelist *tl, int flags = 0);
372 379
373 // insert object at same map position as 'where' 380 // insert object at same map position as 'where'
374 // handles both inventory and map "positions" 381 // handles both inventory and map "positions"
375 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);
376 383
380 MTH void deactivate_recursive (); 387 MTH void deactivate_recursive ();
381 388
382 // set the givne flag on all objects in the inventory recursively 389 // set the givne flag on all objects in the inventory recursively
383 MTH void set_flag_inv (int flag, int value = 1); 390 MTH void set_flag_inv (int flag, int value = 1);
384 391
385 void enter_exit (object *exit);//PERL 392 void enter_exit (object *exit);//Perl
386 MTH void enter_map (maptile *newmap, int x, int y); 393 MTH void enter_map (maptile *newmap, int x, int y);
387 394
388 // returns the mapspace this object is in 395 // returns the mapspace this object is in
389 mapspace &ms () const; 396 mapspace &ms () const;
390 397

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines