version 1.94 | | version 1.95 |
---|
| | |
extern archetype *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 *create_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 int item_matched_string(object *pl, object *op, const char *name); | | |
extern void init_archetypes(void); | | extern void init_archetypes(void); |
extern void arch_info(object *op); | | extern void arch_info(object *op); |
extern void clear_archetable(void); | | extern void clear_archetable(void); |
| | |
extern signed long sum_weight(object *op); | | extern signed long sum_weight(object *op); |
extern object *object_get_env_recursive(object *op); | | extern object *object_get_env_recursive(object *op); |
extern object *is_player_inv(object *op); | | extern object *is_player_inv(object *op); |
extern void dump_object2(object *op); | | |
extern void dump_object(object *op); | | extern void dump_object(object *op); |
extern void dump_me(object *op, char *outstr); | | |
extern void dump_all_objects(void); | | extern void dump_all_objects(void); |
extern object *get_nearest_part(object *op, const object *pl); | | |
extern object *find_object(tag_t i); | | extern object *find_object(tag_t i); |
extern object *find_object_name(const char *str); | | extern object *find_object_name(const char *str); |
extern void free_all_object_data(void); | | extern void free_all_object_data(void); |
| | |
extern void reset_object(object *op); | | extern void reset_object(object *op); |
extern void clear_object(object *op); | | extern void clear_object(object *op); |
extern void copy_object(object *op2, object *op); | | extern void copy_object(object *op2, object *op); |
extern void expand_objects(void); | | |
extern object *get_object(void); | | extern object *get_object(void); |
extern void update_turn_face(object *op); | | extern void update_turn_face(object *op); |
extern void update_ob_speed(object *op); | | extern void update_ob_speed(object *op); |
extern void remove_from_active_list(object *op); | | extern void remove_from_active_list(object *op); |
extern void update_object(object *op, int action); | | extern void update_object(object *op, int action); |
extern void free_object(object *ob); | | extern void free_object(object *ob); |
extern void free_object2(object *ob, int free_inventory); | | |
extern int count_free(void); | | extern int count_free(void); |
extern int count_used(void); | | extern int count_used(void); |
extern int count_active(void); | | extern int count_active(void); |
| | |
extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); | | extern object *find_obj_by_type_subtype(const object *who, int type, int subtype); |
extern key_value *get_ob_key_link(const object *ob, const char *key); | | extern key_value *get_ob_key_link(const object *ob, const char *key); |
extern const char *get_ob_key_value(const object *op, const char *const key); | | extern const char *get_ob_key_value(const object *op, const char *const key); |
extern int set_ob_key_value_s(object *op, const char *canonical_key, const char *value, int add_key); | | |
extern int set_ob_key_value(object *op, const char *key, const char *value, int add_key); | | extern int set_ob_key_value(object *op, const char *key, const char *value, int add_key); |
| | extern object *find_best_weapon_used_match(object *pl, const char *params); |
| | extern int item_matched_string(object *pl, object *op, const char *name); |
/* path.c */ | | /* path.c */ |
extern char *path_combine(const char *src, const char *dst); | | extern char *path_combine(const char *src, const char *dst); |
extern void path_normalize(char *path); | | extern void path_normalize(char *path); |
| | |
extern void dump_monster_treasure(const char *name); | | extern void dump_monster_treasure(const char *name); |
extern void init_artifacts(void); | | extern void init_artifacts(void); |
extern void add_abilities(object *op, object *change); | | extern void add_abilities(object *op, object *change); |
extern void give_artifact_abilities(object *op, object *artifct); | | extern void give_artifact_abilities(object *op, object *artifact); |
extern void generate_artifact(object *op, int difficulty); | | extern void generate_artifact(object *op, int difficulty); |
extern void fix_flesh_item(object *item, object *donor); | | extern void fix_flesh_item(object *item, object *donor); |
extern int special_potion(object *op); | | extern int special_potion(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 yypop_buffer_state(void); | | extern void yy_load_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); |