--- deliantra/server/include/map.h 2006/12/25 14:54:44 1.34 +++ deliantra/server/include/map.h 2006/12/26 20:04:09 1.36 @@ -290,9 +290,10 @@ void do_destroy (); void gather_callbacks (AV *&callbacks, event_type event) const; - void allocate (); + MTH void allocate (); + MTH int size () const { return width * height; } - int size () const { return width * height; } + MTH object *insert (object *op, int x, int y, object *originator = 0, int flags = 0); mapspace const &at (uint32 x, uint32 y) const { return spaces [x + width * y]; } mapspace &at (uint32 x, uint32 y) { return spaces [x + width * y]; }