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.230 by root, Fri Apr 2 03:41:24 2010 UTC vs.
Revision 1.231 by root, Sat Apr 3 02:27:24 2010 UTC

32 32
33//+GPL 33//+GPL
34 34
35typedef int tag_t; 35typedef int tag_t;
36 36
37// also see common/item.C
37enum { 38enum {
38 body_skill, 39 body_skill,
39 body_combat, 40 body_combat,
40 body_range, 41 body_range,
41 body_shield, 42 body_shield,
429 } 430 }
430 431
431 MTH void set_owner (object *owner); 432 MTH void set_owner (object *owner);
432 MTH void set_speed (float speed); 433 MTH void set_speed (float speed);
433 MTH void set_glow_radius (sint8 rad); 434 MTH void set_glow_radius (sint8 rad);
434 bool change_weapon (object *ob); // deprecated
435 MTH bool change_skill (object *ob); // deprecated? 435 MTH bool change_skill (object *ob); // deprecated?
436 436
437 MTH void open_container (object *new_container); 437 MTH void open_container (object *new_container);
438 MTH void close_container () 438 MTH void close_container ()
439 { 439 {
660 MTH void set_flag_inv (int flag, int value = 1); 660 MTH void set_flag_inv (int flag, int value = 1);
661 661
662 void enter_exit (object *exit);//Perl 662 void enter_exit (object *exit);//Perl
663 MTH void enter_map (maptile *newmap, int x, int y); 663 MTH void enter_map (maptile *newmap, int x, int y);
664 void player_goto (const_utf8_string path, int x, int y); // only for players 664 void player_goto (const_utf8_string path, int x, int y); // only for players
665 bool apply (object *ob, int aflags = AP_APPLY); 665 MTH bool apply (object *ob, int aflags = AP_APPLY); // ob may be 0
666 666
667 // returns the mapspace this object is in 667 // returns the mapspace this object is in
668 mapspace &ms () const; 668 mapspace &ms () const;
669 669
670 // fully recursive iterator 670 // fully recursive iterator

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines