Difference for random_maps/rproto.h from version 1.3 to 1.4


version 1.3 version 1.4
Line 8
 
Line 8
 #ifdef __STDC__  #ifdef __STDC__
   
 extern mapstruct *generate_random_map ( char *InFileName, char *OutFileName );  extern mapstruct *generate_random_map ( char *InFileName, char *OutFileName );
 extern char **layoutgen ( void );  extern char **layoutgen (RMParms *RP );
 extern char **symmetrize_layout ( char **maze, int sym );  extern char **symmetrize_layout ( char **maze, int sym, RMParms *RP );
 extern char ** rotate_layout ( char **maze, int rotation );  extern char ** rotate_layout ( char **maze, int rotation,RMParms *RP );
 extern void roomify_layout ( char **maze );  extern void roomify_layout ( char **maze,RMParms *RP );
 extern int can_make_wall ( char **maze, int dx, int dy, int dir );  extern int can_make_wall ( char **maze, int dx, int dy, int dir,RMParms *RP );
 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, RMParms *RP);
 extern void write_map_parameters_to_string ( char *buf );  extern void write_map_parameters_to_string ( char *buf,RMParms *RP );
 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 );  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 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 );
Line 24
 
Line 50
 extern void draw_onion ( char **maze, float *xlocations, float *ylocations, int layers );  extern void draw_onion ( char **maze, float *xlocations, float *ylocations, int layers );
 extern void make_doors ( char **maze, float *xlocations, float *ylocations, int layers, int options );  extern void make_doors ( char **maze, float *xlocations, float *ylocations, int layers, int options );
 extern void bottom_right_centered_onion ( char **maze, int xsize, int ysize, int option, int layers );  extern void bottom_right_centered_onion ( char **maze, int xsize, int ysize, int option, int layers );
 extern char **maze_gen ( int xsize, int ysize, int option );  extern char **maze_gen ( int xsize, int ysize, int option,RMParms *RP );
 extern void make_wall_free_list ( int xsize, int ysize );  extern void make_wall_free_list ( int xsize, int ysize );
 extern void pop_wall_point ( int *x, int *y );  extern void pop_wall_point ( int *x, int *y );
 extern int find_free_point ( char **maze, int *x, int *y, int xc, int yc, int xsize, int ysize );  extern int find_free_point ( char **maze, int *x, int *y, int xc, int yc, int xsize, int ysize );
 extern void fill_maze_full ( char **maze, int x, int y, int xsize, int ysize );  extern void fill_maze_full ( char **maze, int x, int y, int xsize, int ysize );
 extern void fill_maze_sparse ( char **maze, int x, int y, int xsize, int ysize );  extern void fill_maze_sparse ( char **maze, int x, int y, int xsize, int ysize );
 extern int rmap_lex_read ( void );  extern int rmap_lex_read ( RMParms *RP );
 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,RMParms *RP );
 extern mapstruct *make_map_floor ( char **layout, char *floorstyle );  extern mapstruct *make_map_floor ( char **layout, char *floorstyle,RMParms *RP );
 extern int surround_flag ( char **layout, int i, int j );  extern int surround_flag ( char **layout, int i, int j ,RMParms *);
 extern int surround_flag2 ( char **layout, int i, int j );  extern int surround_flag2 ( char **layout, int i, int j, RMParms *);
 extern int surround_flag3 ( mapstruct *map, int i, int j );  extern int surround_flag3 ( mapstruct *map, int i, int j, RMParms * );
 extern int surround_flag4 ( mapstruct *map, int i, int j );  extern int surround_flag4 ( mapstruct *map, int i, int j, RMParms * );
 extern void make_map_walls ( mapstruct *map, char **layout, char *w_style );  extern void make_map_walls ( mapstruct *map, char **layout, char *w_style,RMParms *RP );
 extern object *pick_joined_wall ( object *the_wall, char **layout, int i, int j );  extern object *pick_joined_wall ( object *the_wall, char **layout, int i, int j,RMParms *RP );
 extern object * retrofit_joined_wall ( mapstruct *the_map, int i, int j, int insert_flag );  extern object * retrofit_joined_wall ( mapstruct *the_map, int i, int j, int insert_flag,RMParms *RP );
 extern void insert_multisquare_ob_in_map ( object *new_obj, mapstruct *map );  extern void insert_multisquare_ob_in_map ( object *new_obj, mapstruct *map );
 extern void place_monsters ( mapstruct *map, char *monsterstyle, int difficulty );  extern void place_monsters ( mapstruct *map, char *monsterstyle, int difficulty, RMParms *RP);
 extern void put_doors ( mapstruct *the_map, char **maze, char *doorstyle );  extern void put_doors ( mapstruct *the_map, char **maze, char *doorstyle, RMParms *RP);
 extern int obj_count_in_map ( mapstruct *map, int x, int y );  extern int obj_count_in_map ( mapstruct *map, int x, int y );
 extern void put_decor ( mapstruct *map, char **maze, char *decorstyle, int decor_option );  extern void put_decor ( mapstruct *map, char **maze, char *decorstyle, int decor_option , RMParms *RP);
 extern void place_exits ( mapstruct *map, char **maze, char *exitstyle, int orientation );  extern void place_exits ( mapstruct *map, char **maze, char *exitstyle, int orientation , RMParms *RP);
 extern int wall_blocked ( mapstruct *m, int x, int y );  extern int wall_blocked ( mapstruct *m, int x, int y );
 extern void place_treasure ( mapstruct *map, char **layout, char *treasure_style, int treasureoptions );  extern void place_treasure ( mapstruct *map, char **layout, char *treasure_style, int treasureoptions , RMParms *RP );
 extern object * place_chest ( int treasureoptions, int x, int y, mapstruct *map, mapstruct *style_map, int n_treasures );  extern object * place_chest ( int treasureoptions, int x, int y, mapstruct *map, mapstruct *style_map, int n_treasures,RMParms *RP );
 extern object *find_closest_monster ( mapstruct *map, int x, int y );  extern object *find_closest_monster ( mapstruct *map, int x, int y,RMParms *RP );
 extern void keyplace ( mapstruct *map, int x, int y, char *keycode, int door_flag, int n_keys );  extern void keyplace ( mapstruct *map, int x, int y, char *keycode, int door_flag, int n_keys,RMParms *RP );
 extern object *find_monster_in_room_recursive ( char **layout, mapstruct *map, int x, int y );  extern object *find_monster_in_room_recursive ( char **layout, mapstruct *map, int x, int y ,RMParms *RP);
 extern object *find_monster_in_room ( mapstruct *map, int x, int y );  extern object *find_monster_in_room ( mapstruct *map, int x, int y,RMParms *RP );
 extern void find_spot_in_room_recursive ( char **layout, int x, int y );  extern void find_spot_in_room_recursive ( char **layout, int x, int y,RMParms *RP );
 extern void find_spot_in_room ( mapstruct *map, int x, int y, int *kx, int *ky );  extern void find_spot_in_room ( mapstruct *map, int x, int y, int *kx, int *ky,RMParms *RP );
 extern void find_enclosed_spot ( mapstruct *map, int *cx, int *cy );  extern void find_enclosed_spot ( mapstruct *map, int *cx, int *cy,RMParms *RP );
 extern void remove_monsters ( int x, int y, mapstruct *map );  extern void remove_monsters ( int x, int y, mapstruct *map );
 extern object ** surround_by_doors ( mapstruct *map, int x, int y, int opts );  extern object ** surround_by_doors ( mapstruct *map, int x, int y, int opts );
 extern object *door_in_square ( mapstruct *map, int x, int y );  extern object *door_in_square ( mapstruct *map, int x, int y );
 extern void find_doors_in_room_recursive ( char **layout, mapstruct *map, int x, int y, object **doorlist, int *ndoors );  extern void find_doors_in_room_recursive ( char **layout, mapstruct *map, int x, int y, object **doorlist, int *ndoors ,RMParms *RP);
 extern object** find_doors_in_room ( mapstruct *map, int x, int y );  extern object** find_doors_in_room ( mapstruct *map, int x, int y, RMParms *RP );
 extern void lock_and_hide_doors ( object **doorlist, mapstruct *map, int opts );  extern void lock_and_hide_doors ( object **doorlist, mapstruct *map, int opts,RMParms *RP );
 extern void nuke_map_region ( mapstruct *map, int xstart, int ystart, int xsize, int ysize );  extern void nuke_map_region ( mapstruct *map, int xstart, int ystart, int xsize, int ysize );
 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_special_exit ( mapstruct * map, int hole_type,RMParms *RP );
 extern void place_specials_in_map ( mapstruct *map, char **layout );  extern void place_specials_in_map ( mapstruct *map, char **layout,RMParms *RP );
 extern int select_regular_files ( const struct dirent *the_entry );  extern int select_regular_files ( const struct dirent *the_entry );
 extern mapstruct *find_style ( char *dirname, char *stylename, int difficulty );  extern mapstruct *find_style ( char *dirname, char *stylename, int difficulty );
 extern object *pick_random_object ( mapstruct *style );  extern object *pick_random_object ( mapstruct *style );


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:57