version 1.4 | | version 1.5 |
---|
| | |
* This file was automatically generated by version 1.7 of cextract. | | * This file was automatically generated by version 1.7 of cextract. |
* Manual editing not recommended. | | * Manual editing not recommended. |
* | | * |
* Created: Sun Mar 28 01:31:27 1999 | | * Created: Fri Aug 4 17:36:36 2000 |
*/ | | */ |
#ifndef __CEXTRACT__ | | #ifndef __CEXTRACT__ |
#ifdef __STDC__ | | #ifdef __STDC__ |
| | |
extern void change_book ( object *book, int msgtype ); | | extern void change_book ( object *book, int msgtype ); |
extern void change_luck ( object *op, int value ); | | extern void change_luck ( object *op, int value ); |
extern int change_map_light ( mapstruct *m, int change ); | | extern int change_map_light ( mapstruct *m, int change ); |
extern int operate_altar ( object *altar, object **sacrifice ); | | |
extern int check_altar_sacrifice ( object *altar, object *sacrifice ); | | extern int check_altar_sacrifice ( object *altar, object *sacrifice ); |
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 check_formulae ( void ); | | extern void check_formulae ( void ); |
| | |
extern object * check_inv_recursive ( object *op, object *trig ); | | extern object * check_inv_recursive ( object *op, object *trig ); |
extern int check_path ( char *name, int prepend_dir ); | | extern int check_path ( char *name, int prepend_dir ); |
extern void check_stat_bounds ( living *stats ); | | extern void check_stat_bounds ( living *stats ); |
extern int check_trigger ( object *op, object *sacrifice ); | | extern int check_trigger ( object *op, object *cause ); |
extern int check_walk_on ( object *op, object *originator ); | | extern int check_walk_on ( object *op, object *originator ); |
extern void check_wall ( object *op, int x, int y ); | | extern void check_wall ( object *op, int x, int y ); |
extern void clean_object ( object *op ); | | extern void clean_object ( object *op ); |
| | |
extern void close_and_delete ( FILE *fp, int compressed ); | | extern void close_and_delete ( FILE *fp, int compressed ); |
extern void copy_map ( mapstruct *m1, mapstruct *m2 ); | | extern void copy_map ( mapstruct *m1, mapstruct *m2 ); |
extern void copy_object ( object *op2, object *op ); | | extern void copy_object ( object *op2, object *op ); |
| | extern void copy_owner ( object *op, object *clone ); |
extern int count_active ( void ); | | extern int count_active ( void ); |
extern int count_free ( void ); | | extern int count_free ( void ); |
extern int count_used ( void ); | | extern int count_used ( void ); |
| | |
extern void dummy_function_ob_int ( object *ob, int i ); | | extern void dummy_function_ob_int ( object *ob, int i ); |
extern void dummy_function_player_int ( player *p, int j ); | | extern void dummy_function_player_int ( player *p, int j ); |
extern void dummy_function_txtnr ( char *txt, int nr ); | | extern void dummy_function_txtnr ( char *txt, int nr ); |
extern void dummy_move_apply_func (object *, object *, object * ); | | extern void dummy_move_apply_func ( object *ob, object *ob2, object *ob3 ); |
extern void dump_abilities ( void ); | | extern void dump_abilities ( void ); |
extern void dump_alchemy ( void ); | | extern void dump_alchemy ( void ); |
extern void dump_alchemy_costs ( void ); | | extern void dump_alchemy_costs ( void ); |
| | |
extern mapstruct *get_empty_map ( int sizex, int sizey ); | | extern mapstruct *get_empty_map ( int sizex, int sizey ); |
extern recipelist * get_formulalist ( int i ); | | extern recipelist * get_formulalist ( int i ); |
extern char *get_levelnumber ( int i ); | | extern char *get_levelnumber ( int i ); |
extern int was_destroyed (object *op, tag_t old_tag); | | |
extern mapstruct *get_linked_map ( char *path ); | | extern mapstruct *get_linked_map ( char *path ); |
extern int get_magic ( int diff ); | | extern int get_magic ( int diff ); |
extern object *get_nearest_part ( object *op, object *pl ); | | extern object *get_nearest_part ( object *op, object *pl ); |
| | |
extern object *ObjectCreateArch ( archetype * at ); | | extern object *ObjectCreateArch ( archetype * at ); |
extern object *ObjectCreateClone ( object *asrc ); | | extern object *ObjectCreateClone ( object *asrc ); |
extern FILE *open_and_uncompress ( char *name, int flag, int *compressed ); | | extern FILE *open_and_uncompress ( char *name, int flag, int *compressed ); |
| | extern int operate_altar ( object *altar, object **sacrifice ); |
extern void player_lvl_adj ( object *who, object *op ); | | extern void player_lvl_adj ( object *who, object *op ); |
extern object *pntr_to_god_obj ( godlink *godlnk ); | | extern object *pntr_to_god_obj ( godlink *godlnk ); |
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 void print_los ( object *op ); | | extern void print_los ( object *op ); |
extern void print_monsters ( void ); | | extern void print_monsters ( void ); |
extern void push_button ( object *op ); | | extern void push_button ( object *op ); |
extern char *query_base_name ( object *op ); | | extern char *query_base_name ( object *op, int plural ); |
extern char *query_name ( object *op ); | | extern char *query_name ( object *op ); |
extern int query_refcount ( const char *str ); | | extern int query_refcount ( const char *str ); |
extern char *query_short_name ( object *op ); | | extern char *query_short_name ( object *op ); |
| | |
extern long seconds ( void ); | | extern long seconds ( void ); |
extern void second_arch_pass ( FILE *fp ); | | extern void second_arch_pass ( FILE *fp ); |
extern void set_abs_magic ( object *op, int magic ); | | extern void set_abs_magic ( object *op, int magic ); |
extern void set_move_apply ( type_move_apply_func addr ); | | |
extern void set_attr_value ( living *stats, int attr, signed char value ); | | extern void set_attr_value ( living *stats, int attr, signed char value ); |
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 set_cheat ( object *op ); | | extern void set_cheat ( object *op ); |
| | |
extern void set_map_reset_time ( mapstruct *map ); | | extern void set_map_reset_time ( mapstruct *map ); |
extern void set_max_time ( long t ); | | extern void set_max_time ( long t ); |
extern void set_monster_check_apply ( type_func_ob_ob addr ); | | extern void set_monster_check_apply ( type_func_ob_ob addr ); |
| | extern void set_move_apply ( type_move_apply_func addr ); |
extern void set_move_creator ( type_func_ob addr ); | | extern void set_move_creator ( type_func_ob addr ); |
extern void set_move_teleporter ( type_func_ob addr ); | | |
extern void set_move_firewall ( type_func_ob addr ); | | extern void set_move_firewall ( type_func_ob addr ); |
| | extern void set_move_teleporter ( type_func_ob addr ); |
extern void set_owner ( object *op, object *owner ); | | extern void set_owner ( object *op, object *owner ); |
extern void copy_owner ( object *op, object *clone ); | | |
extern void set_process_active_maps ( type_func_void addr ); | | extern void set_process_active_maps ( type_func_void addr ); |
extern void set_remove_friendly_object ( type_func_ob addr ); | | extern void set_remove_friendly_object ( type_func_ob addr ); |
extern void set_ring_bonus ( object *op, int bonus ); | | extern void set_ring_bonus ( object *op, int bonus ); |
| | |
extern void use_trigger ( object *op ); | | extern void use_trigger ( object *op ); |
extern void verify_button_links ( mapstruct *map ); | | extern void verify_button_links ( mapstruct *map ); |
extern int wall ( mapstruct *m, int x, int y ); | | extern int wall ( mapstruct *m, int x, int y ); |
| | extern int was_destroyed ( object *op, tag_t old_tag ); |
extern void write_book_archive ( void ); | | extern void write_book_archive ( void ); |
extern int yyerror ( char *s ); | | extern int yyerror ( char *s ); |
extern void yyrestart ( FILE *input_file ); | | extern void yyrestart ( FILE *input_file ); |