… | |
… | |
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); |
26 | extern void write_map_parameters_to_string (dynbuf_text &buf, random_map_params *RP); |
28 | /* room_gen_onion.c */ |
27 | /* room_gen_onion.c */ |
29 | extern void map_gen_onion (Layout maze, int option, int layers); |
28 | extern void map_gen_onion (Layout maze, int option, int layers); |
30 | /* room_gen_spiral.c */ |
29 | /* room_gen_spiral.c */ |
31 | extern void map_gen_spiral (Layout maze, int option); |
30 | extern void map_gen_spiral (Layout maze, int option); |
32 | extern void connect_spirals (int xsize, int ysize, int sym, char **layout); |
31 | extern void connect_spirals (int xsize, int ysize, int sym, char **layout); |
33 | /* maze_gen.c */ |
32 | /* maze_gen.c */ |
34 | extern void maze_gen (Layout maze, int option); |
33 | extern void maze_gen (Layout maze, int full); |
35 | /* wall.c */ |
34 | /* wall.c */ |
36 | extern int surround_flag (char **layout, int i, int j, random_map_params *RP); |
35 | extern int surround_flag (char **layout, int i, int j, random_map_params *RP); |
37 | extern int surround_flag2 (char **layout, int i, int j, random_map_params *RP); |
36 | extern int surround_flag2 (char **layout, int i, int j, random_map_params *RP); |
38 | extern int surround_flag3 (maptile *map, sint16 i, sint16 j, random_map_params *RP); |
37 | extern int surround_flag3 (maptile *map, sint16 i, sint16 j, random_map_params *RP); |
39 | extern void make_map_walls (maptile *map, char **layout, const char *w_style, const char *m_style, random_map_params *RP); |
38 | extern void make_map_walls (maptile *map, char **layout, const char *w_style, const char *m_style, random_map_params *RP); |
… | |
… | |
41 | /* monster.c */ |
40 | /* monster.c */ |
42 | extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP); |
41 | extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP); |
43 | /* door.c */ |
42 | /* door.c */ |
44 | extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP); |
43 | extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP); |
45 | /* decor.c */ |
44 | /* decor.c */ |
46 | extern void put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP); |
45 | extern void put_decor (maptile *map, char **maze, const char *decorstyle, int decor_option, random_map_params *RP); |
47 | /* exit.c */ |
46 | /* exit.c */ |
48 | extern void place_exits (maptile *map, char **maze, char *exitstyle, int orientation, random_map_params *RP); |
47 | 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); |
48 | extern void unblock_exits (maptile *map, char **maze, random_map_params *RP); |
50 | /* treasure.c */ |
49 | /* treasure.c */ |
51 | extern int wall_blocked (maptile *m, int x, int y); |
50 | 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); |
51 | extern void place_treasure (maptile *map, char **layout, const char *treasure_style, int treasureoptions, random_map_params *RP); |
53 | /* special.c */ |
52 | /* special.c */ |
54 | extern void place_specials_in_map (maptile *map, char **layout, random_map_params *RP); |
53 | extern void place_specials_in_map (maptile *map, char **layout, random_map_params *RP); |
55 | /* rogue_layout.c */ |
54 | /* rogue_layout.c */ |
56 | extern int surround_check (char **layout, int i, int j, int Xsize, int Ysize); |
55 | extern int surround_check (char **layout, int i, int j, int Xsize, int Ysize); |
57 | extern void roguelike_layout_gen (Layout maze, int options); |
56 | extern void roguelike_layout_gen (Layout maze, int options); |