--- deliantra/server/include/object.h 2010/04/13 22:05:42 1.243 +++ deliantra/server/include/object.h 2010/04/15 02:51:39 1.245 @@ -569,6 +569,12 @@ MTH bool has_dialogue () const { return msg_has_dialogue (&msg); } + /* need_identify returns true if the item should be identified. This + * function really should not exist - by default, any item not identified + * should need it. + */ + MTH bool need_identify () const; + // returns the outermost owner, never returns 0 MTH object *outer_owner () { @@ -645,7 +651,7 @@ return glow_radius; } - // returns the player that cna see this object, if any + // returns the player that can see this object, if any MTH object *visible_to () const; MTH std::string long_desc (object *who = 0); // query_name . " " . describe @@ -692,6 +698,8 @@ void player_goto (const_utf8_string path, int x, int y); // only for players MTH bool apply (object *ob, int aflags = AP_APPLY); // ob may be 0 + MTH object *mark () const; + // returns the mapspace this object is in mapspace &ms () const;