version 1.66 | | version 1.67 |
---|
| | |
extern void make_sure_seen(object *op); | | extern void make_sure_seen(object *op); |
extern void make_sure_not_seen(object *op); | | extern void make_sure_not_seen(object *op); |
/* map.c */ | | /* map.c */ |
extern mapstruct *has_been_loaded(char *name); | | extern mapstruct *has_been_loaded(const char *name); |
extern const char *create_pathname(const char *name); | | extern const char *create_pathname(const char *name); |
extern const char *create_overlay_pathname(const char *name); | | extern const char *create_overlay_pathname(const char *name); |
extern int check_path(const char *name, int prepend_dir); | | extern int check_path(const char *name, int prepend_dir); |
| | |
extern void free_all_objects(mapstruct *m); | | extern void free_all_objects(mapstruct *m); |
extern void free_map(mapstruct *m, int flag); | | extern void free_map(mapstruct *m, int flag); |
extern void delete_map(mapstruct *m); | | extern void delete_map(mapstruct *m); |
extern mapstruct *ready_map_name(char *name, int flags); | | extern mapstruct *ready_map_name(const char *name, int flags); |
extern int calculate_difficulty(mapstruct *m); | | extern int calculate_difficulty(mapstruct *m); |
extern void clean_tmp_map(mapstruct *m); | | extern void clean_tmp_map(mapstruct *m); |
extern void free_all_maps(void); | | extern void free_all_maps(void); |
| | |
/* region.c */ | | /* region.c */ |
extern region *get_region_by_name(const char *region_name); | | extern region *get_region_by_name(const char *region_name); |
extern region *get_region_by_map(mapstruct *m); | | extern region *get_region_by_map(mapstruct *m); |
extern char *get_name_of_region_for_map(mapstruct *m); | | extern const char *get_name_of_region_for_map(mapstruct *m); |
extern region *get_region_from_string(const char *name); | | extern region *get_region_from_string(const char *name); |
extern int region_is_child_of_region(region *child, region *r); | | extern int region_is_child_of_region(region *child, region *r); |
extern char *get_region_longname(region *r); | | extern const char *get_region_longname(region *r); |
extern char *get_region_msg(region *r); | | extern const char *get_region_msg(region *r); |
extern void init_regions(void); | | extern void init_regions(void); |
extern region *get_region_struct(void); | | extern region *get_region_struct(void); |
extern void parse_regions(FILE *fp); | | extern void parse_regions(FILE *fp); |
| | |
extern void transmute_materialname(object *op, object *change); | | extern void transmute_materialname(object *op, object *change); |
extern void set_materialname(object *op, int difficulty, materialtype_t *nmt); | | extern void set_materialname(object *op, int difficulty, materialtype_t *nmt); |
extern void strip_media_tag(char *message); | | extern void strip_media_tag(char *message); |
extern char* strrstr(const char* haystack, const char* needle); | | extern const char* strrstr(const char* haystack, const char* needle); |
extern void strip_endline(char* buf); | | extern void strip_endline(char* buf); |
/* loader.c */ | | /* loader.c */ |
extern int lex_load(object *op, int map_flags); | | extern int lex_load(object *op, int map_flags); |