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.72 by root, Wed Dec 27 13:13:47 2006 UTC vs.
Revision 1.73 by root, Sat Dec 30 10:16:10 2006 UTC

288 MTH void drain_stat (); 288 MTH void drain_stat ();
289 MTH void drain_specific_stat (int deplete_stats); 289 MTH void drain_specific_stat (int deplete_stats);
290 MTH void change_luck (int value); 290 MTH void change_luck (int value);
291 291
292 // info must hold 256 * 3 bytes currently 292 // info must hold 256 * 3 bytes currently
293 MTH const char *debug_desc (char *info) const; 293 const char *debug_desc (char *info) const;
294 MTH const char *debug_desc () const; 294 MTH const char *debug_desc () const;
295 295
296 MTH bool is_weapon () const { return type == ARROW || type == BOW || type == WEAPON; } 296 MTH bool is_weapon () const { return type == ARROW || type == BOW || type == WEAPON; }
297 MTH bool is_armor () const { return type == ARMOUR || type == SHIELD || type == HELMET 297 MTH bool is_armor () const { return type == ARMOUR || type == SHIELD || type == HELMET
298 || type == CLOAK || type == BOOTS || type == GLOVES 298 || type == CLOAK || type == BOOTS || type == GLOVES
333 } 333 }
334 334
335 // insert object at same map position as 'where' 335 // insert object at same map position as 'where'
336 // handles both inventory and map "positions" 336 // handles both inventory and map "positions"
337 MTH object *insert_at (object *where, object *originator = 0, int flags = 0); 337 MTH object *insert_at (object *where, object *originator = 0, int flags = 0);
338
339 MTH void activate (bool recursive = true);
340 MTH void deactivate (bool recursive = true);
341
342 void enter_exit (object *exit);//PERL
343 MTH void enter_map (maptile *newmap, int x, int y);
338 344
339 // returns the mapspace this object is in 345 // returns the mapspace this object is in
340 mapspace &ms () const; 346 mapspace &ms () const;
341 347
342 // fully recursive iterator 348 // fully recursive iterator

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines