… | |
… | |
191 | extern int distance(const object *ob1, const object *ob2); |
191 | extern int distance(const object *ob1, const object *ob2); |
192 | extern int find_dir_2(int x, int y); |
192 | extern int find_dir_2(int x, int y); |
193 | extern int dirdiff(int dir1, int dir2); |
193 | extern int dirdiff(int dir1, int dir2); |
194 | extern int can_see_monsterP(maptile *m, int x, int y, int dir); |
194 | extern int can_see_monsterP(maptile *m, int x, int y, int dir); |
195 | extern int can_pick(const object *who, const object *item); |
195 | extern int can_pick(const object *who, const object *item); |
196 | extern object *object_create_clone(object *asrc); |
|
|
197 | extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); |
196 | extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); |
198 | /* path.c */ |
197 | /* path.c */ |
199 | extern char *path_combine(const char *src, const char *dst); |
198 | extern char *path_combine(const char *src, const char *dst); |
200 | extern void path_normalize(char *path); |
199 | extern void path_normalize(char *path); |
201 | extern char *path_combine_and_normalize(const char *src, const char *dst); |
200 | extern char *path_combine_and_normalize(const char *src, const char *dst); |
… | |
… | |
308 | extern void make_list_like(char *input); |
307 | extern void make_list_like(char *input); |
309 | /* loader.c */ |
308 | /* loader.c */ |
310 | extern int set_variable(object *op, char *buf); |
309 | extern int set_variable(object *op, char *buf); |
311 | extern void init_vars(); |
310 | extern void init_vars(); |
312 | extern char *get_ob_diff(object *op, object *op2); |
311 | extern char *get_ob_diff(object *op, object *op2); |
|
|
312 | /* map.c */ |
|
|
313 | extern maptile *find_style (const char *dirname, const char *stylename, int difficulty); |
|
|
314 | extern object *pick_random_object (maptile *style); |
313 | |
315 | |
314 | /* former funcpoint.h */ |
316 | /* former funcpoint.h */ |
315 | /* |
317 | /* |
316 | * These function-pointers are defined in common/glue.c |
318 | * These function-pointers are defined in common/glue.c |
317 | * The functions used to set and initialise them are also there. |
319 | * The functions used to set and initialise them are also there. |