ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/wall.C
(Generate patch)

Comparing deliantra/server/random_maps/wall.C (file contents):
Revision 1.13 by root, Sun Dec 31 19:02:24 2006 UTC vs.
Revision 1.14 by root, Sun Dec 31 20:46:17 2006 UTC

133 w_style) at '#' marks. */ 133 w_style) at '#' marks. */
134 134
135void 135void
136make_map_walls (maptile *map, char **layout, char *w_style, random_map_params *RP) 136make_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:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines