… | |
… | |
26 | #define LIBPROTO_H_ |
26 | #define LIBPROTO_H_ |
27 | |
27 | |
28 | /* anim.c */ |
28 | /* anim.c */ |
29 | void free_all_anim (); |
29 | void free_all_anim (); |
30 | void init_anim (); |
30 | void init_anim (); |
31 | int find_animation (const char *name); |
|
|
32 | void animate_object (object *op, int dir); |
31 | void animate_object (object *op, int dir); |
33 | /* arch.c */ |
32 | /* arch.c */ |
34 | archetype *find_archetype_by_object_name (const char *name); |
33 | archetype *find_archetype_by_object_name (const char *name); |
35 | archetype *find_archetype_by_object_type_name (int type, const char *name); |
34 | archetype *find_archetype_by_object_type_name (int type, const char *name); |
36 | object *get_archetype_by_skill_name (const char *skill, int type); |
35 | object *get_archetype_by_skill_name (const char *skill, int type); |
… | |
… | |
113 | void free_objectlinkpt (oblinkpt *obp); |
112 | void free_objectlinkpt (oblinkpt *obp); |
114 | /* living.c */ |
113 | /* living.c */ |
115 | void change_attr_value (living *stats, int attr, sint8 value); |
114 | void change_attr_value (living *stats, int attr, sint8 value); |
116 | void check_stat_bounds (living *stats); |
115 | void check_stat_bounds (living *stats); |
117 | int change_abil (object *op, object *tmp); |
116 | int change_abil (object *op, object *tmp); |
118 | int allowed_class (const object *op); |
|
|
119 | void set_dragon_name (object *pl, const object *abil, const object *skin); |
117 | void set_dragon_name (object *pl, const object *abil, const object *skin); |
120 | object *give_skill_by_name (object *op, const char *skill_name); |
118 | object *give_skill_by_name (object *op, const char *skill_name); |
121 | void player_lvl_adj (object *who, object *op); |
119 | void player_lvl_adj (object *who, object *op); |
122 | sint64 level_exp (int level, double expmul); |
120 | sint64 level_exp (int level, double expmul); |
123 | void calc_perm_exp (object *op); |
121 | void calc_perm_exp (object *op); |