version 1.52 | | version 1.53 |
---|
| | |
extern void free_objectlink(objectlink *ol); | | extern void free_objectlink(objectlink *ol); |
extern void free_objectlinkpt(oblinkpt *obp); | | extern void free_objectlinkpt(oblinkpt *obp); |
/* living.c */ | | /* living.c */ |
extern void set_attr_value(living *stats, int attr, signed char value); | | extern void set_attr_value(living *stats, int attr, sint8 value); |
extern void change_attr_value(living *stats, int attr, signed char value); | | extern void change_attr_value(living *stats, int attr, sint8 value); |
extern signed char get_attr_value(living *stats, int attr); | | extern sint8 get_attr_value(living *stats, int attr); |
extern void check_stat_bounds(living *stats); | | extern void check_stat_bounds(living *stats); |
extern int change_abil(object *op, object *tmp); | | extern int change_abil(object *op, object *tmp); |
extern void drain_stat(object *op); | | extern void drain_stat(object *op); |
| | |
extern void dump_all_maps(void); | | extern void dump_all_maps(void); |
extern int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny); | | extern int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny); |
extern int blocked_link(object *ob, int x, int y); | | extern int blocked_link(object *ob, int x, int y); |
extern int arch_blocked(archetype *at, mapstruct *m, int x, int y); | | extern int arch_blocked(archetype *at, mapstruct *m, sint16 x, sint16 y); |
extern void fix_container(object *container); | | extern void fix_container(object *container); |
extern void load_objects(mapstruct *m, FILE *fp, int mapflags); | | extern void load_objects(mapstruct *m, FILE *fp, int mapflags); |
extern void save_objects(mapstruct *m, FILE *fp, FILE *fp2, int flag); | | extern void save_objects(mapstruct *m, FILE *fp, FILE *fp2, int flag); |