… | |
… | |
133 | w_style) at '#' marks. */ |
133 | w_style) at '#' marks. */ |
134 | |
134 | |
135 | void |
135 | void |
136 | make_map_walls (maptile *map, char **layout, char *w_style, random_map_params *RP) |
136 | make_map_walls (maptile *map, char **layout, char *w_style, random_map_params *RP) |
137 | { |
137 | { |
138 | char styledirname[256]; |
138 | char styledirname[1024]; |
139 | char stylefilepath[256]; |
139 | char stylefilepath[1024]; |
140 | maptile *style_map = 0; |
140 | maptile *style_map = 0; |
141 | object *the_wall; |
141 | object *the_wall; |
142 | |
142 | |
143 | /* get the style map */ |
143 | /* get the style map */ |
144 | if (!strcmp (w_style, "none")) |
144 | if (!strcmp (w_style, "none")) |
… | |
… | |
193 | 2 = wall to right, |
193 | 2 = wall to right, |
194 | 4 = wall above |
194 | 4 = wall above |
195 | 8 = wall below */ |
195 | 8 = wall below */ |
196 | int surround_index = 0; |
196 | int surround_index = 0; |
197 | int l; |
197 | int l; |
198 | char wall_name[64]; |
198 | char wall_name[1024]; |
199 | archetype *wall_arch = 0; |
199 | archetype *wall_arch = 0; |
200 | |
200 | |
201 | strcpy (wall_name, the_wall->arch->name); |
201 | strcpy (wall_name, the_wall->arch->name); |
202 | |
202 | |
203 | /* conventionally, walls are named like this: |
203 | /* conventionally, walls are named like this: |