version 1.61 | | version 1.62 |
---|
| | |
extern int find_animation(char *name); | | extern int find_animation(char *name); |
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(const char *name); |
extern object *get_archetype_by_skill_name(char *skill, int type); | | extern object *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(char *name); | | extern object *get_archetype_by_object_name(const char *name); |
extern object *find_best_weapon_used_match(object *pl, char *params); | | extern object *find_best_weapon_used_match(object *pl, const char *params); |
extern int item_matched_string(object *pl, object *op, 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 arch_info(object *op); | | extern void arch_info(object *op); |
extern void clear_archetable(void); | | extern void clear_archetable(void); |
| | |
extern void check_generators(void); | | extern void check_generators(void); |
extern void load_archetypes(void); | | extern void load_archetypes(void); |
extern object *arch_to_object(archetype *at); | | extern object *arch_to_object(archetype *at); |
extern object *create_singularity(char *name); | | extern object *create_singularity(const char *name); |
extern object *get_archetype(char *name); | | extern object *get_archetype(const char *name); |
extern unsigned long hasharch(char *str, int tablesize); | | extern unsigned long hasharch(const char *str, int tablesize); |
extern archetype *find_archetype(char *name); | | extern archetype *find_archetype(const char *name); |
extern void add_arch(archetype *at); | | extern void add_arch(archetype *at); |
extern archetype *type_to_archetype(int type); | | extern archetype *type_to_archetype(int type); |
extern object *clone_arch(int type); | | extern object *clone_arch(int type); |
| | |
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 object *give_skill_by_name(object *op, const 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 sint64 check_exp_loss(object *op, sint64 exp); | | extern sint64 check_exp_loss(object *op, sint64 exp); |
extern sint64 check_exp_adjust(object *op, sint64 exp); | | extern sint64 check_exp_adjust(object *op, sint64 exp); |
extern void change_exp(object *op, sint64 exp, char *skill_name, int flag); | | extern void change_exp(object *op, sint64 exp, const 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 void LOG(LogLevel logLevel, char *format, ...); | | extern void LOG(LogLevel logLevel, const char *format, ...); |
/* los.c */ | | /* los.c */ |
extern void set_block(int x, int y, int bx, int by); | | extern void set_block(int x, int y, int bx, int by); |
extern void init_block(void); | | extern void init_block(void); |