… | |
… | |
20 | * |
20 | * |
21 | * The authors can be reached via e-mail to <support@deliantra.net> |
21 | * The authors can be reached via e-mail to <support@deliantra.net> |
22 | */ |
22 | */ |
23 | |
23 | |
24 | /* random_map.c */ |
24 | /* random_map.c */ |
25 | extern void dump_layout (Layout layout); |
|
|
26 | extern int make_wall (char **maze, int x, int y, int dir); |
25 | extern int make_wall (char **maze, int x, int y, int dir); |
27 | extern void write_map_parameters_to_string (char *buf, random_map_params *RP); |
|
|
28 | /* room_gen_onion.c */ |
26 | /* room_gen_onion.c */ |
29 | extern void map_gen_onion (Layout maze, int option, int layers); |
27 | extern void map_gen_onion (layout &maze, int option, int layers); |
30 | /* room_gen_spiral.c */ |
28 | /* room_gen_spiral.c */ |
31 | extern void map_gen_spiral (Layout maze, int option); |
29 | extern void map_gen_spiral (layout &maze, int option); |
32 | extern void connect_spirals (int xsize, int ysize, int sym, char **layout); |
|
|
33 | /* maze_gen.c */ |
30 | /* maze_gen.c */ |
34 | extern void maze_gen (Layout maze, int option); |
31 | extern void maze_gen (layout &maze, int full); |
35 | /* wall.c */ |
32 | /* wall.c */ |
36 | extern int surround_flag (char **layout, int i, int j, random_map_params *RP); |
33 | extern int surround_flag (const layout &maze, int i, int j); |
37 | extern int surround_flag2 (char **layout, int i, int j, random_map_params *RP); |
34 | extern int surround_flag2 (const layout &maze, int i, int j); |
38 | extern int surround_flag3 (maptile *map, sint16 i, sint16 j, random_map_params *RP); |
35 | extern int surround_flag3 (maptile *map, int i, int j); |
39 | extern void make_map_walls (maptile *map, char **layout, const char *w_style, const char *m_style, random_map_params *RP); |
36 | extern void make_map_walls (maptile *map, layout &maze, const char *w_style, const char *m_style, random_map_params *RP); |
40 | extern object *retrofit_joined_wall (maptile *the_map, int i, int j, int insert_flag, random_map_params *RP); |
37 | extern object *retrofit_joined_wall (maptile *the_map, int i, int j, int insert_flag, random_map_params *RP); |
41 | /* monster.c */ |
38 | /* monster.c */ |
42 | extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP); |
39 | extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP); |
43 | /* door.c */ |
40 | /* door.c */ |
44 | extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP); |
41 | extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP); |
45 | /* decor.c */ |
42 | /* decor.c */ |
46 | extern void put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP); |
43 | extern void put_decor (maptile *map, char **maze, const char *decorstyle, int decor_option, random_map_params *RP); |
47 | /* exit.c */ |
44 | /* exit.c */ |
48 | extern void place_exits (maptile *map, char **maze, char *exitstyle, int orientation, random_map_params *RP); |
45 | extern void place_exits (maptile *map, char **maze, const char *exitstyle, int orientation, random_map_params *RP); |
49 | extern void unblock_exits (maptile *map, char **maze, random_map_params *RP); |
46 | extern void unblock_exits (maptile *map, char **maze, random_map_params *RP); |
50 | /* treasure.c */ |
47 | /* treasure.c */ |
51 | extern int wall_blocked (maptile *m, int x, int y); |
48 | extern int wall_blocked (maptile *m, int x, int y); |
52 | extern void place_treasure (maptile *map, char **layout, char *treasure_style, int treasureoptions, random_map_params *RP); |
49 | extern void place_treasure (maptile *map, char **maze, const char *treasure_style, int treasureoptions, random_map_params *RP); |
53 | /* special.c */ |
50 | /* special.c */ |
54 | extern void place_specials_in_map (maptile *map, char **layout, random_map_params *RP); |
51 | extern void place_specials_in_map (maptile *map, char **maze, random_map_params *RP); |
55 | /* rogue_layout.c */ |
52 | /* rogue_layout.c */ |
56 | extern int surround_check (char **layout, int i, int j, int Xsize, int Ysize); |
53 | extern int surround_check (char **maze, int i, int j, int Xsize, int Ysize); |
57 | extern void roguelike_layout_gen (Layout maze, int options); |
54 | extern void roguelike_layout_gen (layout &maze, int options); |
58 | /* snake.c */ |
55 | /* snake.c */ |
59 | extern void make_snake_layout (Layout maze, int options); |
56 | extern void make_snake_layout (layout &maze, int options); |
60 | /* square_spiral.c */ |
57 | /* square_spiral.c */ |
61 | extern void make_square_spiral_layout (Layout maze, int options); |
58 | extern void make_square_spiral_layout (layout &maze, int options); |
62 | /* expand2x.c */ |
59 | /* expand2x.c */ |
63 | extern void expand2x (Layout maze); |
60 | extern void expand2x (layout &maze); |
64 | |
61 | |