version 1.91 | | version 1.92 |
---|
| | |
/* arch.c */ | | /* arch.c */ |
extern archetype *find_archetype_by_object_name(const char *name); | | extern archetype *find_archetype_by_object_name(const char *name); |
extern archetype *find_archetype_by_object_type_name(int type, const char *name); | | extern archetype *find_archetype_by_object_type_name(int type, const char *name); |
extern object *get_archetype_by_skill_name(const char *skill, int type); | | extern archetype *get_archetype_by_skill_name(const char *skill, int type); |
extern archetype *get_archetype_by_type_subtype(int type, int subtype); | | extern archetype *get_archetype_by_type_subtype(int type, int subtype); |
extern object *get_archetype_by_object_name(const char *name); | | extern object *create_archetype_by_object_name(const char *name); |
extern object *find_best_weapon_used_match(object *pl, const char *params); | | extern object *find_best_weapon_used_match(object *pl, const char *params); |
extern int item_matched_string(object *pl, object *op, const char *name); | | extern int item_matched_string(object *pl, object *op, const char *name); |
extern void init_archetypes(void); | | extern void init_archetypes(void); |
| | |
extern void dump_all_archetypes(void); | | extern void dump_all_archetypes(void); |
extern void free_all_archs(void); | | extern void free_all_archs(void); |
extern archetype *get_archetype_struct(void); | | extern archetype *get_archetype_struct(void); |
extern void first_arch_pass(FILE *fp); | | |
extern void second_arch_pass(FILE *fp); | | |
extern void check_generators(void); | | extern void check_generators(void); |
extern void load_archetypes(void); | | |
extern object *arch_to_object(archetype *at); | | extern object *arch_to_object(archetype *at); |
extern object *create_singularity(const char *name); | | extern object *create_singularity(const char *name); |
extern object *get_archetype(const char *name); | | extern object *create_archetype(const char *name); |
extern unsigned long hasharch(const char *str, int tablesize); | | extern unsigned long hasharch(const char *str, int tablesize); |
extern archetype *find_archetype(const char *name); | | extern archetype *find_archetype(const char *name); |
extern archetype *type_to_archetype(int type); | | extern archetype *type_to_archetype(int type); |
extern object *clone_arch(int type); | | |
extern object *object_create_arch(archetype *at); | | extern object *object_create_arch(archetype *at); |
/* button.c */ | | /* button.c */ |
extern void push_button(object *op); | | extern void push_button(object *op); |
| | |
/* loader.c */ | | /* loader.c */ |
extern int lex_load(object *op, int map_flags); | | extern int lex_load(object *op, int map_flags); |
extern void yyrestart(FILE *input_file); | | extern void yyrestart(FILE *input_file); |
extern void yy_load_buffer_state(void); | | extern void yypop_buffer_state(void); |
| | extern int yyget_lineno(void); |
| | extern FILE *yyget_in(void); |
| | extern FILE *yyget_out(void); |
| | extern int yyget_leng(void); |
| | extern char *yyget_text(void); |
| | extern void yyset_lineno(int line_number); |
| | extern void yyset_in(FILE *in_str); |
| | extern void yyset_out(FILE *out_str); |
| | extern int yyget_debug(void); |
| | extern void yyset_debug(int bdebug); |
| | extern int yylex_destroy(void); |
| | extern void yyfree(void *ptr); |
extern int yyerror(char *s); | | extern int yyerror(char *s); |
extern int load_object(FILE *fp, object *op, int bufstate, int map_flags); | | extern int load_object(FILE *fp, object *op, int bufstate, int map_flags); |
extern int set_variable(object *op, char *buf); | | extern int set_variable(object *op, char *buf); |