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.185 by root, Mon Sep 29 10:35:36 2008 UTC vs.
Revision 1.186 by elmex, Mon Oct 6 18:26:35 2008 UTC

522 MTH bool is_on_map () const 522 MTH bool is_on_map () const
523 { 523 {
524 return !env && !flag [FLAG_REMOVED]; 524 return !env && !flag [FLAG_REMOVED];
525 } 525 }
526 526
527 MTH bool is_in_map_or_inv () const
528 {
529 return !flag [FLAG_REMOVED];
530 }
531
527 // returns the player that cna see this object, if any 532 // returns the player that cna see this object, if any
528 MTH object *visible_to () const; 533 MTH object *visible_to () const;
529 534
530 MTH std::string long_desc (object *who = 0); 535 MTH std::string long_desc (object *who = 0);
531 MTH std::string describe_monster (object *who = 0); 536 MTH std::string describe_monster (object *who = 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines