version 1.46 | | version 1.47 |
---|
| | |
extern void animate_object(object *op, int dir); | | extern void animate_object(object *op, int dir); |
/* arch.c */ | | /* arch.c */ |
extern archetype *find_archetype_by_object_name(char *name); | | extern archetype *find_archetype_by_object_name(char *name); |
| | extern object *get_archetype_by_skill_name(char *skill, int type); |
| | extern archetype *get_archetype_by_type_subtype(int type, int subtype); |
extern object *get_archetype_by_object_name(char *name); | | extern object *get_archetype_by_object_name(char *name); |
extern object *find_best_weapon_used_match(object *pl, char *params); | | extern object *find_best_weapon_used_match(object *pl, char *params); |
extern int item_matched_string(object *pl, object *op, char *name); | | extern int item_matched_string(object *pl, object *op, char *name); |
| | |
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); |
extern int look_up_spell_name(char *spname); | | |
extern void identify(object *op); | | extern void identify(object *op); |
/* links.c */ | | /* links.c */ |
extern objectlink *get_objectlink(void); | | extern objectlink *get_objectlink(void); |
| | |
extern int allowed_class(object *op); | | extern int allowed_class(object *op); |
extern void set_dragon_name(object *pl, object *abil, object *skin); | | extern void set_dragon_name(object *pl, object *abil, object *skin); |
extern void dragon_level_gain(object *who); | | extern void dragon_level_gain(object *who); |
| | extern object *give_skill_by_name(object *op, char *skill_name); |
extern void player_lvl_adj(object *who, object *op); | | extern void player_lvl_adj(object *who, object *op); |
extern sint64 level_exp(int level, double expmul); | | extern sint64 level_exp(int level, double expmul); |
extern void calc_perm_exp(object *op); | | extern void calc_perm_exp(object *op); |
extern int check_exp_loss(object *op, int exp); | | extern int check_exp_loss(object *op, int exp); |
extern int check_exp_add(object *op, int exp); | | |
extern int check_exp_adjust(object *op, int exp); | | extern int check_exp_adjust(object *op, int exp); |
extern void add_exp(object *op, int exp); | | extern void change_exp(object *op, int exp, char *skill_name, int flag); |
extern void apply_death_exp_penalty(object *op); | | extern void apply_death_exp_penalty(object *op); |
extern int did_make_save(object *op, int level, int bonus); | | extern int did_make_save(object *op, int level, int bonus); |
/* logger.c */ | | /* logger.c */ |
| | |
extern object *present_arch(archetype *at, mapstruct *m, int x, int y); | | extern object *present_arch(archetype *at, mapstruct *m, int x, int y); |
extern object *present(unsigned char type, mapstruct *m, int x, int y); | | extern object *present(unsigned char type, mapstruct *m, int x, int y); |
extern object *present_in_ob(unsigned char type, object *op); | | extern object *present_in_ob(unsigned char type, object *op); |
| | extern object *present_in_ob_by_name(int type, char *str, object *op); |
extern object *present_arch_in_ob(archetype *at, object *op); | | extern object *present_arch_in_ob(archetype *at, object *op); |
extern void flag_inv(object*op, int flag); | | extern void flag_inv(object*op, int flag); |
extern void unflag_inv(object*op, int flag); | | extern void unflag_inv(object*op, int flag); |
| | |
extern int find_dir_2(int x, int y); | | extern int find_dir_2(int x, int y); |
extern int absdir(int d); | | extern int absdir(int d); |
extern int dirdiff(int dir1, int dir2); | | extern int dirdiff(int dir1, int dir2); |
| | extern int can_see_monsterP(mapstruct *m, int x, int y, int dir); |
extern int can_pick(object *who, object *item); | | extern int can_pick(object *who, object *item); |
extern object *ObjectCreateClone(object *asrc); | | extern object *ObjectCreateClone(object *asrc); |
extern int was_destroyed(object *op, tag_t old_tag); | | extern int was_destroyed(object *op, tag_t old_tag); |
extern object *load_object_str(char *obstr); | | extern object *load_object_str(char *obstr); |
| | extern object *find_obj_by_type_subtype(object *who, int type, int subtype); |
/* porting.c */ | | /* porting.c */ |
extern char *tempnam_local(char *dir, char *pfx); | | extern char *tempnam_local(char *dir, char *pfx); |
extern void remove_directory(const char *path); | | extern void remove_directory(const char *path); |