… | |
… | |
163 | extern object *present_in_ob(unsigned char type, const object *op); |
163 | extern object *present_in_ob(unsigned char type, const object *op); |
164 | extern object *present_in_ob_by_name(int type, const char *str, const object *op); |
164 | extern object *present_in_ob_by_name(int type, const char *str, const object *op); |
165 | extern object *present_arch_in_ob(const archetype *at, const object *op); |
165 | extern object *present_arch_in_ob(const archetype *at, const object *op); |
166 | extern void flag_inv(object *op, int flag); |
166 | extern void flag_inv(object *op, int flag); |
167 | extern void unflag_inv(object *op, int flag); |
167 | extern void unflag_inv(object *op, int flag); |
168 | extern void set_cheat(object *op); |
|
|
169 | extern int find_free_spot(const object *ob, maptile *m, int x, int y, int start, int stop); |
168 | extern int find_free_spot(const object *ob, maptile *m, int x, int y, int start, int stop); |
170 | extern int find_first_free_spot(const object *ob, maptile *m, int x, int y); |
169 | extern int find_first_free_spot(const object *ob, maptile *m, int x, int y); |
171 | extern void get_search_arr(int *search_arr); |
170 | extern void get_search_arr(int *search_arr); |
172 | extern int find_dir(maptile *m, int x, int y, object *exclude); |
171 | extern int find_dir(maptile *m, int x, int y, object *exclude); |
173 | extern int distance(const object *ob1, const object *ob2); |
172 | extern int distance(const object *ob1, const object *ob2); |