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.111 by root, Tue Apr 24 00:42:02 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines