version 1.30 | | version 1.31 |
---|
| | |
/* exp.c */ | | /* exp.c */ |
extern int new_exp(object *ob); | | extern int new_exp(object *ob); |
extern int has_ability(object *ob); | | extern int has_ability(object *ob); |
| | extern void init_experience(void); |
| | extern void dump_experience(void); |
/* friend.c */ | | /* friend.c */ |
extern void add_friendly_object(object *op); | | extern void add_friendly_object(object *op); |
extern void remove_friendly_object(object *op); | | extern void remove_friendly_object(object *op); |
| | |
extern int adjust_exp(object *op, int exp); | | extern int adjust_exp(object *op, int exp); |
extern int check_dm_add_exp_to_obj(object *exp_ob, int i); | | extern int check_dm_add_exp_to_obj(object *exp_ob, int i); |
extern void apply_death_exp_penalty(object *op); | | extern void apply_death_exp_penalty(object *op); |
/* loader.c */ | | |
extern int lex_load(object *op, int map_flags); | | |
extern void yyrestart(FILE *input_file); | | |
extern void yy_load_buffer_state(void); | | |
extern int yyerror(char *s); | | |
extern int load_object(FILE *fp, object *op, int bufstate, int map_flags); | | |
extern int set_variable(object *op, char *buf); | | |
extern void save_double(char *buf, char *name, double v); | | |
extern void init_vars(void); | | |
extern char *get_ob_diff(object *op, object *op2); | | |
extern void save_object(FILE *fp, object *op, int flag); | | |
/* logger.c */ | | /* logger.c */ |
extern void LOG(LogLevel logLevel, char *format, ...); | | extern void LOG(LogLevel logLevel, char *format, ...); |
/* los.c */ | | /* los.c */ |
| | |
extern int die_roll(int num, int size, object *op, int goodbad); | | extern int die_roll(int num, int size, object *op, int goodbad); |
extern int rndm(int min, int max); | | extern int rndm(int min, int max); |
extern void decay_objects(mapstruct *m); | | extern void decay_objects(mapstruct *m); |
| | /* loader.c */ |
| | extern int lex_load(object *op, int map_flags); |
| | extern void yyrestart(FILE *input_file); |
| | extern void yy_load_buffer_state(void); |
| | extern int yyerror(char *s); |
| | extern int load_object(FILE *fp, object *op, int bufstate, int map_flags); |
| | extern int set_variable(object *op, char *buf); |
| | extern void save_double(char *buf, char *name, double v); |
| | extern void init_vars(void); |
| | extern char *get_ob_diff(object *op, object *op2); |
| | extern void save_object(FILE *fp, object *op, int flag); |