… | |
… | |
175 | extern int find_first_free_spot(const object *ob, maptile *m, int x, int y); |
175 | extern int find_first_free_spot(const object *ob, maptile *m, int x, int y); |
176 | extern void get_search_arr(int *search_arr); |
176 | extern void get_search_arr(int *search_arr); |
177 | extern int find_dir(maptile *m, int x, int y, object *exclude); |
177 | extern int find_dir(maptile *m, int x, int y, object *exclude); |
178 | extern int distance(const object *ob1, const object *ob2); |
178 | extern int distance(const object *ob1, const object *ob2); |
179 | extern int find_dir_2(int x, int y); |
179 | extern int find_dir_2(int x, int y); |
180 | extern int absdir(int d); |
|
|
181 | extern int dirdiff(int dir1, int dir2); |
180 | extern int dirdiff(int dir1, int dir2); |
182 | extern int can_see_monsterP(maptile *m, int x, int y, int dir); |
181 | extern int can_see_monsterP(maptile *m, int x, int y, int dir); |
183 | extern int can_pick(const object *who, const object *item); |
182 | extern int can_pick(const object *who, const object *item); |
184 | extern object *object_create_clone(object *asrc); |
183 | extern object *object_create_clone(object *asrc); |
185 | extern object *load_object_str(const char *obstr); |
184 | extern object *load_object_str(const char *obstr); |