… | |
… | |
537 | // set the given flag on all objects in the inventory recursively |
537 | // set the given flag on all objects in the inventory recursively |
538 | MTH void set_flag_inv (int flag, int value = 1); |
538 | MTH void set_flag_inv (int flag, int value = 1); |
539 | |
539 | |
540 | void enter_exit (object *exit);//Perl |
540 | void enter_exit (object *exit);//Perl |
541 | MTH void enter_map (maptile *newmap, int x, int y); |
541 | MTH void enter_map (maptile *newmap, int x, int y); |
|
|
542 | void player_goto (const char *path, int x, int y); // only for players |
542 | |
543 | |
543 | // returns the mapspace this object is in |
544 | // returns the mapspace this object is in |
544 | mapspace &ms () const; |
545 | mapspace &ms () const; |
545 | |
546 | |
546 | // fully recursive iterator |
547 | // fully recursive iterator |
… | |
… | |
677 | MTH static archetype *find (const_utf8_string name); |
678 | MTH static archetype *find (const_utf8_string name); |
678 | |
679 | |
679 | MTH void link (); |
680 | MTH void link (); |
680 | MTH void unlink (); |
681 | MTH void unlink (); |
681 | |
682 | |
682 | MTH static object *get (const char *name); // find()->instance() |
683 | MTH static object *get (const char *name); // (find() || singularity)->instance() |
683 | MTH object *instance (); |
684 | MTH object *instance (); |
684 | |
685 | |
685 | object_vector_index ACC (RW, archid); // index in archvector |
686 | object_vector_index ACC (RW, archid); // index in archvector |
686 | shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ |
687 | shstr ACC (RW, archname); /* More definite name, like "generate_kobold" */ |
687 | |
688 | |