version 1.68 | | version 1.69 |
---|
| | |
extern char *get_levelnumber(int i); | | extern char *get_levelnumber(int i); |
extern char *get_number(int i); | | extern char *get_number(int i); |
extern char *ring_desc(object *op); | | extern char *ring_desc(object *op); |
extern char *query_short_name(object *op); | | extern const char *query_short_name(object *op); |
extern char *query_name(object *op); | | extern char *query_name(object *op); |
extern char *query_base_name(object *op, int plural); | | extern const char *query_base_name(object *op, int plural); |
extern char *describe_item(object *op, object *owner); | | extern char *describe_item(object *op, object *owner); |
extern int is_magical(object *op); | | extern int is_magical(object *op); |
extern int need_identify(object *op); | | extern int need_identify(object *op); |
| | |
/* re-cmp.c */ | | /* re-cmp.c */ |
extern const char *re_cmp(const char *str, const char *regexp); | | extern const char *re_cmp(const char *str, const char *regexp); |
/* readable.c */ | | /* readable.c */ |
extern int nstrtok(char *buf1, char *buf2); | | extern int nstrtok(const char *buf1, const char *buf2); |
extern char *strtoktolin(char *buf1, char *buf2); | | extern char *strtoktolin(const char *buf1, const char *buf2); |
extern int book_overflow(const char *buf1, const char *buf2, int booksize); | | extern int book_overflow(const char *buf1, const char *buf2, int booksize); |
extern void init_readable(void); | | extern void init_readable(void); |
extern void change_book(object *book, int msgtype); | | extern void change_book(object *book, int msgtype); |
| | |
extern char *spellpath_msg(int level, int booksize); | | extern char *spellpath_msg(int level, int booksize); |
extern void make_formula_book(object *book, int level); | | extern void make_formula_book(object *book, int level); |
extern char *msgfile_msg(int level, int booksize); | | extern char *msgfile_msg(int level, int booksize); |
extern char *god_info_msg(int level, int booksize); | | extern const char *god_info_msg(int level, int booksize); |
extern void tailor_readable_ob(object *book, int msg_type); | | extern void tailor_readable_ob(object *book, int msg_type); |
extern void free_all_readable(void); | | extern void free_all_readable(void); |
extern void write_book_archive(void); | | extern void write_book_archive(void); |
| | |
extern void assign_region_parents(void); | | extern void assign_region_parents(void); |
/* shstr.c */ | | /* shstr.c */ |
extern void init_hash_table(void); | | extern void init_hash_table(void); |
extern char *add_string(const char *str); | | extern const char *add_string(const char *str); |
extern char *add_refcount(char *str); | | extern const char *add_refcount(const char *str); |
extern int query_refcount(const char *str); | | extern int query_refcount(const char *str); |
extern char *find_string(const char *str); | | extern const char *find_string(const char *str); |
extern void free_string(char *str); | | extern void free_string(const char *str); |
extern void ss_dump_statistics(void); | | extern void ss_dump_statistics(void); |
extern char *ss_dump_table(int what); | | extern const char *ss_dump_table(int what); |
extern int buf_overflow(const char *buf1, const char *buf2, int bufsize); | | extern int buf_overflow(const char *buf1, const char *buf2, int bufsize); |
/* time.c */ | | /* time.c */ |
extern void reset_sleep(void); | | extern void reset_sleep(void); |