version 1.2 | | version 1.3 |
---|
| | |
* 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: Mon Mar 15 11:05:54 1999 | | * Created: Mon Nov 27 22:13:27 2000 |
*/ | | */ |
#ifndef __CEXTRACT__ | | #ifndef __CEXTRACT__ |
#ifdef __STDC__ | | #ifdef __STDC__ |
| | |
extern int make_wall ( char **maze, int x, int y, int dir ); | | extern int make_wall ( char **maze, int x, int y, int dir ); |
extern void doorify_layout ( char **maze ); | | extern void doorify_layout ( char **maze ); |
extern void write_map_parameters_to_string ( char *buf ); | | extern void write_map_parameters_to_string ( char *buf ); |
| | extern void write_parameters_to_string ( char *buf, int xsize_n, int ysize_n, char *wallstyle_n, char *floorstyle_n, char *monsterstyle_n, char *treasurestyle_n, char *layoutstyle_n, char *decorstyle_n, char *doorstyle_n, char *exitstyle_n, char *final_map_n, char *this_map_n, int layoutoptions1_n, int layoutoptions2_n, int layoutoptions3_n, int symmetry_n, int dungeon_depth_n, int dungeon_level_n, int difficulty_n, int difficulty_given_n, int decoroptions_n, int orientation_n, int origin_x_n, int origin_y_n, int random_seed_n, int treasureoptions_n ); |
| | extern void copy_object_with_inv ( object *src_ob, object *dest_ob ); |
extern char **map_gen_onion ( int xsize, int ysize, int option, int layers ); | | extern char **map_gen_onion ( int xsize, int ysize, int option, int layers ); |
extern void centered_onion ( char **maze, int xsize, int ysize, int option, int layers ); | | extern void centered_onion ( char **maze, int xsize, int ysize, int option, int layers ); |
extern void bottom_centered_onion ( char **maze, int xsize, int ysize, int option, int layers ); | | extern void bottom_centered_onion ( char **maze, int xsize, int ysize, int option, int layers ); |
| | |
extern void rmaprestart ( FILE *input_file ); | | extern void rmaprestart ( FILE *input_file ); |
extern void rmap_load_buffer_state ( void ); | | extern void rmap_load_buffer_state ( void ); |
extern int load_parameters ( FILE *fp, int bufstate ); | | extern int load_parameters ( FILE *fp, int bufstate ); |
extern int select_regular_files ( struct dirent *the_entry ); | | |
extern mapstruct *find_style ( char *dirname, char *stylename, int difficulty ); | | |
extern object *pick_random_object ( mapstruct *style ); | | |
extern mapstruct *make_map_floor ( char **layout, char *floorstyle ); | | extern mapstruct *make_map_floor ( char **layout, char *floorstyle ); |
extern int surround_flag ( char **layout, int i, int j ); | | extern int surround_flag ( char **layout, int i, int j ); |
extern int surround_flag2 ( char **layout, int i, int j ); | | extern int surround_flag2 ( char **layout, int i, int j ); |
| | |
extern void include_map_in_map ( mapstruct *dest_map, mapstruct *in_map, int x, int y ); | | extern void include_map_in_map ( mapstruct *dest_map, mapstruct *in_map, int x, int y ); |
extern int find_spot_for_submap ( mapstruct *map, char **layout, int *ix, int *iy, int xsize, int ysize ); | | extern int find_spot_for_submap ( mapstruct *map, char **layout, int *ix, int *iy, int xsize, int ysize ); |
extern void place_fountain_with_specials ( mapstruct *map ); | | extern void place_fountain_with_specials ( mapstruct *map ); |
| | extern void place_special_exit ( mapstruct * map, int hole_type ); |
extern void place_specials_in_map ( mapstruct *map, char **layout ); | | extern void place_specials_in_map ( mapstruct *map, char **layout ); |
extern void write_parameters_to_string(char *buf, | | extern int select_regular_files ( const struct dirent *the_entry ); |
int xsize_n, | | extern mapstruct *find_style ( char *dirname, char *stylename, int difficulty ); |
int ysize_n, | | extern object *pick_random_object ( mapstruct *style ); |
char *wallstyle_n, | | |
char *floorstyle_n, | | |
char *monsterstyle_n, | | |
| | |
char *treasurestyle_n, | | |
char *layoutstyle_n, | | |
char *decorstyle_n, | | |
char *doorstyle_n, | | |
char *exitstyle_n, | | |
char *final_map_n, | | |
char *this_map_n, | | |
| | |
int layoutoptions1_n, | | |
int layoutoptions2_n, | | |
int layoutopitons3_n, | | |
int symmetry_n, | | |
int dungeon_depth_n, | | |
int dungeon_level_n, | | |
| | |
int difficulty_n, | | |
int difficulty_given_n, | | |
int decoroptions_n, | | |
int orientation_n, | | |
int origin_x_n, | | |
int origin_y_n, | | |
int random_seed_n, | | |
int treasureoptions_n | | |
) ; | | |
void copy_object_with_inv(object *src, object *dest); | | |
| | |
#endif /* __STDC__ */ | | #endif /* __STDC__ */ |
#endif /* __CEXTRACT__ */ | | #endif /* __CEXTRACT__ */ |