… | |
… | |
59 | extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP); |
59 | extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP); |
60 | /* door.c */ |
60 | /* door.c */ |
61 | extern int surround_check2 (char **layout, int i, int j, int Xsize, int Ysize); |
61 | extern int surround_check2 (char **layout, int i, int j, int Xsize, int Ysize); |
62 | extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP); |
62 | extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP); |
63 | /* decor.c */ |
63 | /* decor.c */ |
64 | extern int obj_count_in_map (maptile *map, int x, int y); |
|
|
65 | extern void put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP); |
64 | extern void put_decor (maptile *map, char **maze, char *decorstyle, int decor_option, random_map_params *RP); |
66 | /* exit.c */ |
65 | /* exit.c */ |
67 | extern void find_in_layout (int mode, char target, int *fx, int *fy, char **layout, random_map_params *RP); |
66 | extern void find_in_layout (int mode, char target, int *fx, int *fy, char **layout, random_map_params *RP); |
68 | extern void place_exits (maptile *map, char **maze, char *exitstyle, int orientation, random_map_params *RP); |
67 | extern void place_exits (maptile *map, char **maze, char *exitstyle, int orientation, random_map_params *RP); |
69 | extern void unblock_exits (maptile *map, char **maze, random_map_params *RP); |
68 | extern void unblock_exits (maptile *map, char **maze, random_map_params *RP); |
… | |
… | |
83 | extern object *door_in_square (maptile *map, int x, int y); |
82 | extern object *door_in_square (maptile *map, int x, int y); |
84 | extern void find_doors_in_room_recursive (char **layout, maptile *map, int x, int y, object **doorlist, int *ndoors, random_map_params *RP); |
83 | extern void find_doors_in_room_recursive (char **layout, maptile *map, int x, int y, object **doorlist, int *ndoors, random_map_params *RP); |
85 | extern object **find_doors_in_room (maptile *map, int x, int y, random_map_params *RP); |
84 | extern object **find_doors_in_room (maptile *map, int x, int y, random_map_params *RP); |
86 | extern void lock_and_hide_doors (object **doorlist, maptile *map, int opts, random_map_params *RP); |
85 | extern void lock_and_hide_doors (object **doorlist, maptile *map, int opts, random_map_params *RP); |
87 | /* special.c */ |
86 | /* special.c */ |
88 | extern void nuke_map_region (maptile *map, int xstart, int ystart, int xsize, int ysize); |
|
|
89 | extern void include_map_in_map (maptile *dest_map, maptile *in_map, int x, int y); |
|
|
90 | extern int find_spot_for_submap (maptile *map, char **layout, int *ix, int *iy, int xsize, int ysize); |
|
|
91 | extern void place_fountain_with_specials (maptile *map); |
|
|
92 | extern void place_special_exit (maptile *map, int hole_type, random_map_params *RP); |
|
|
93 | extern void place_specials_in_map (maptile *map, char **layout, random_map_params *RP); |
87 | extern void place_specials_in_map (maptile *map, char **layout, random_map_params *RP); |
94 | /* style.c */ |
|
|
95 | extern int load_dir (const char *dir, char ***namelist, int skip_dirs); |
|
|
96 | extern maptile *load_style_map (char *style_name); |
|
|
97 | extern maptile *find_style (const char *dirname, const char *stylename, int difficulty); |
|
|
98 | extern object *pick_random_object (maptile *style); |
|
|
99 | extern void free_style_maps (void); |
|
|
100 | /* rogue_layout.c */ |
88 | /* rogue_layout.c */ |
101 | extern int surround_check (char **layout, int i, int j, int Xsize, int Ysize); |
89 | extern int surround_check (char **layout, int i, int j, int Xsize, int Ysize); |
102 | extern void roguelike_layout_gen (Layout maze, int options); |
90 | extern void roguelike_layout_gen (Layout maze, int options); |
103 | /* snake.c */ |
91 | /* snake.c */ |
104 | extern void make_snake_layout (Layout maze, int options); |
92 | extern void make_snake_layout (Layout maze, int options); |