… | |
… | |
429 | } |
429 | } |
430 | |
430 | |
431 | MTH void set_owner (object *owner); |
431 | MTH void set_owner (object *owner); |
432 | MTH void set_speed (float speed); |
432 | MTH void set_speed (float speed); |
433 | MTH void set_glow_radius (sint8 rad); |
433 | MTH void set_glow_radius (sint8 rad); |
434 | MTH bool change_weapon (object *ob); |
434 | bool change_weapon (object *ob); // deprecated |
435 | MTH bool change_skill (object *ob); |
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 | { |
440 | open_container (0); |
440 | open_container (0); |
… | |
… | |
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 | |
666 | |
666 | // returns the mapspace this object is in |
667 | // returns the mapspace this object is in |
667 | mapspace &ms () const; |
668 | mapspace &ms () const; |
668 | |
669 | |
669 | // fully recursive iterator |
670 | // fully recursive iterator |