--- deliantra/server/include/object.h 2006/12/27 13:13:47 1.72 +++ deliantra/server/include/object.h 2006/12/30 10:16:10 1.73 @@ -290,7 +290,7 @@ MTH void change_luck (int value); // info must hold 256 * 3 bytes currently - MTH const char *debug_desc (char *info) const; + const char *debug_desc (char *info) const; MTH const char *debug_desc () const; MTH bool is_weapon () const { return type == ARROW || type == BOW || type == WEAPON; } @@ -336,6 +336,12 @@ // handles both inventory and map "positions" MTH object *insert_at (object *where, object *originator = 0, int flags = 0); + MTH void activate (bool recursive = true); + MTH void deactivate (bool recursive = true); + + void enter_exit (object *exit);//PERL + MTH void enter_map (maptile *newmap, int x, int y); + // returns the mapspace this object is in mapspace &ms () const;