… | |
… | |
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); |