9 extern int make_wall(
char **maze,
int x,
int y,
int dir);
12 extern void write_parameters_to_string(
char *buf,
int xsize_n,
int ysize_n,
const char *wallstyle_n,
const char *floorstyle_n,
const char *monsterstyle_n,
const char *treasurestyle_n,
const char *layoutstyle_n,
const char *decorstyle_n,
const char *doorstyle_n,
const char *exitstyle_n,
const char *final_map_n,
const char *exit_on_final_map_n,
const 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,
float difficulty_increase);
14 extern char **
map_gen_onion(
int xsize,
int ysize,
int option,
int layers);
15 extern void centered_onion(
char **maze,
int xsize,
int ysize,
int option,
int layers);
17 extern void draw_onion(
char **maze,
float *xlocations,
float *ylocations,
int layers);
18 extern void make_doors(
char **maze,
float *xlocations,
float *ylocations,
int layers,
int options);
22 extern void connect_spirals(
int xsize,
int ysize,
int sym,
char **layout);
24 extern char **
maze_gen(
int xsize,
int ysize,
int option);
39 extern int surround_check2(
char **layout,
int i,
int j,
int Xsize,
int Ysize);
70 extern int load_dir(
const char *dir,
char ***namelist,
int skip_dirs);
76 extern int surround_check(
char **layout,
int i,
int j,
int Xsize,
int Ysize);
84 extern char **
expand2x(
char **layout,
int xsize,
int ysize);
char ** roguelike_layout_gen(int xsize, int ysize, int options)
void draw_onion(char **maze, float *xlocations, float *ylocations, int layers)
mapstruct * generate_random_map(const char *OutFileName, RMParms *RP, char **use_layout)
mapstruct * make_map_floor(char **layout, char *floorstyle, RMParms *RP)
void remove_monsters(int x, int y, mapstruct *map)
void place_fountain_with_specials(mapstruct *map)
static struct Command_Line_Options options[]
void place_treasure(mapstruct *map, char **layout, char *treasure_style, int treasureoptions, RMParms *RP)
void find_top_left_corner(char **maze, int *cx, int *cy)
void unblock_exits(mapstruct *map, char **maze, RMParms *RP)
void doorify_layout(char **maze, RMParms *RP)
void dump_layout(char **layout, RMParms *RP)
char ** symmetrize_layout(char **maze, int sym, RMParms *RP)
char ** make_snake_layout(int xsize, int ysize)
void place_monsters(mapstruct *map, char *monsterstyle, int difficulty, RMParms *RP)
mapstruct * load_style_map(char *style_name)
int surround_flag4(mapstruct *map, int i, int j, RMParms *RP)
void make_map_walls(mapstruct *map, char **layout, char *w_style, RMParms *RP)
int find_spot_for_submap(mapstruct *map, char **layout, int *ix, int *iy, int xsize, int ysize)
char ** maze_gen(int xsize, int ysize, int option)
object * pick_random_object(mapstruct *style)
void bottom_right_centered_onion(char **maze, int xsize, int ysize, int option, int layers)
void find_enclosed_spot(mapstruct *map, int *cx, int *cy, RMParms *RP)
object * find_monster_in_room_recursive(char **layout, mapstruct *map, int x, int y, RMParms *RP)
char ** make_square_spiral_layout(int xsize, int ysize)
void include_map_in_map(mapstruct *dest_map, mapstruct *in_map, int x, int y)
void connect_spirals(int xsize, int ysize, int sym, char **layout)
object ** find_doors_in_room(mapstruct *map, int x, int y, RMParms *RP)
int surround_flag3(mapstruct *map, int i, int j, RMParms *RP)
void put_doors(mapstruct *the_map, char **maze, const char *doorstyle, RMParms *RP)
void write_parameters_to_string(char *buf, int xsize_n, int ysize_n, const char *wallstyle_n, const char *floorstyle_n, const char *monsterstyle_n, const char *treasurestyle_n, const char *layoutstyle_n, const char *decorstyle_n, const char *doorstyle_n, const char *exitstyle_n, const char *final_map_n, const char *exit_on_final_map_n, const 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, float difficulty_increase)
int load_dir(const char *dir, char ***namelist, int skip_dirs)
object * place_chest(int treasureoptions, int x, int y, mapstruct *map, mapstruct *style_map, int n_treasures, RMParms *RP)
int surround_flag2(char **layout, int i, int j, RMParms *RP)
void insert_multisquare_ob_in_map(object *new_obj, mapstruct *map)
object * retrofit_joined_wall(mapstruct *the_map, int i, int j, int insert_flag, RMParms *RP)
void place_exits(mapstruct *map, char **maze, char *exitstyle, int orientation, RMParms *RP)
void place_special_exit(mapstruct *map, int hole_type, RMParms *RP)
char ** rotate_layout(char **maze, int rotation, RMParms *RP)
char ** map_gen_spiral(int xsize, int ysize, int option)
void find_in_layout(int mode, char target, int *fx, int *fy, char **layout, RMParms *RP)
void make_doors(char **maze, float *xlocations, float *ylocations, int layers, int options)
void write_map_parameters_to_string(RMParms *RP, char *buf, int size)
int keyplace(mapstruct *map, int x, int y, char *keycode, int door_flag, int n_keys, RMParms *RP)
int obj_count_in_map(mapstruct *map, int x, int y)
char ** expand2x(char **layout, int xsize, int ysize)
char ** map_gen_onion(int xsize, int ysize, int option, int layers)
int wall_blocked(mapstruct *m, int x, int y)
void put_decor(mapstruct *map, char **maze, char *decorstyle, int decor_option, RMParms *RP)
object * find_monster_in_room(mapstruct *map, int x, int y, RMParms *RP)
char ** layoutgen(RMParms *RP)
void centered_onion(char **maze, int xsize, int ysize, int option, int layers)
int surround_check(char **layout, int i, int j, int Xsize, int Ysize)
object * find_closest_monster(mapstruct *map, int x, int y, RMParms *RP)
object * pick_joined_wall(object *the_wall, char **layout, int i, int j, RMParms *RP)
void lock_and_hide_doors(object **doorlist, mapstruct *map, int opts, RMParms *RP)
int find_spot_in_room(mapstruct *map, int x, int y, int *kx, int *ky, RMParms *RP)
void free_style_maps(void)
void place_specials_in_map(mapstruct *map, char **layout, RMParms *RP)
void find_doors_in_room_recursive(char **layout, mapstruct *map, int x, int y, object **doorlist, int *ndoors, RMParms *RP)
mapstruct * find_style(const char *dirname, const char *stylename, int difficulty)
void bottom_centered_onion(char **maze, int xsize, int ysize, int option, int layers)
int surround_flag(char **layout, int i, int j, RMParms *RP)
void roomify_layout(char **maze, RMParms *RP)
void nuke_map_region(mapstruct *map, int xstart, int ystart, int xsize, int ysize)
int surround_check2(char **layout, int i, int j, int Xsize, int Ysize)
int make_wall(char **maze, int x, int y, int dir)
int can_make_wall(char **maze, int dx, int dy, int dir, RMParms *RP)