… | |
… | |
42 | extern void dump_arch(archetype *at); |
42 | extern void dump_arch(archetype *at); |
43 | extern void dump_all_archetypes(); |
43 | extern void dump_all_archetypes(); |
44 | extern void free_all_archs(); |
44 | extern void free_all_archs(); |
45 | extern void check_generators(); |
45 | extern void check_generators(); |
46 | extern bool load_archetype_file(const char *filename); |
46 | extern bool load_archetype_file(const char *filename); |
47 | extern object *arch_to_object(archetype *at); |
|
|
48 | extern object *create_singularity(const char *name); |
47 | extern object *create_singularity(const char *name); |
49 | extern object *get_archetype(const char *name); |
48 | extern object *get_archetype(const char *name); |
50 | extern unsigned long hasharch(const char *str, int tablesize); |
49 | extern unsigned long hasharch(const char *str, int tablesize); |
51 | extern archetype *type_to_archetype(int type); |
50 | extern archetype *type_to_archetype(int type); |
52 | extern object *clone_arch(int type); |
51 | extern object *clone_arch(int type); |
… | |
… | |
153 | extern void clear_los(player *pl); |
152 | extern void clear_los(player *pl); |
154 | extern int has_carried_lights(const object *op); |
153 | extern int has_carried_lights(const object *op); |
155 | extern void update_los(object *op); |
154 | extern void update_los(object *op); |
156 | extern void update_all_map_los(maptile *map); |
155 | extern void update_all_map_los(maptile *map); |
157 | extern void update_all_los(const maptile *map, int x, int y); |
156 | extern void update_all_los(const maptile *map, int x, int y); |
158 | extern void print_los(object *op); |
|
|
159 | extern void make_sure_seen(const object *op); |
157 | extern void make_sure_seen(const object *op); |
160 | extern void make_sure_not_seen(const object *op); |
158 | extern void make_sure_not_seen(const object *op); |
161 | /* map.c */ |
159 | /* map.c */ |
162 | extern const char *create_pathname (const char *name); |
160 | extern const char *create_pathname (const char *name); |
163 | extern int blocked_link(object *ob, maptile *m, int sx, int sy); |
161 | extern int blocked_link(object *ob, maptile *m, int sx, int sy); |
… | |
… | |
191 | extern int distance(const object *ob1, const object *ob2); |
189 | extern int distance(const object *ob1, const object *ob2); |
192 | extern int find_dir_2(int x, int y); |
190 | extern int find_dir_2(int x, int y); |
193 | extern int dirdiff(int dir1, int dir2); |
191 | extern int dirdiff(int dir1, int dir2); |
194 | extern int can_see_monsterP(maptile *m, int x, int y, int dir); |
192 | extern int can_see_monsterP(maptile *m, int x, int y, int dir); |
195 | extern int can_pick(const object *who, const object *item); |
193 | 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); |
194 | extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); |
198 | /* path.c */ |
195 | /* path.c */ |
199 | extern char *path_combine(const char *src, const char *dst); |
196 | extern char *path_combine(const char *src, const char *dst); |
200 | extern void path_normalize(char *path); |
197 | extern void path_normalize(char *path); |
201 | extern char *path_combine_and_normalize(const char *src, const char *dst); |
198 | extern char *path_combine_and_normalize(const char *src, const char *dst); |
… | |
… | |
308 | extern void make_list_like(char *input); |
305 | extern void make_list_like(char *input); |
309 | /* loader.c */ |
306 | /* loader.c */ |
310 | extern int set_variable(object *op, char *buf); |
307 | extern int set_variable(object *op, char *buf); |
311 | extern void init_vars(); |
308 | extern void init_vars(); |
312 | extern char *get_ob_diff(object *op, object *op2); |
309 | extern char *get_ob_diff(object *op, object *op2); |
|
|
310 | /* map.c */ |
|
|
311 | extern maptile *find_style (const char *dirname, const char *stylename, int difficulty); |
|
|
312 | extern object *pick_random_object (maptile *style); |
313 | |
313 | |
314 | /* former funcpoint.h */ |
314 | /* former funcpoint.h */ |
315 | /* |
315 | /* |
316 | * These function-pointers are defined in common/glue.c |
316 | * These function-pointers are defined in common/glue.c |
317 | * The functions used to set and initialise them are also there. |
317 | * The functions used to set and initialise them are also there. |