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

Comparing deliantra/server/random_maps/floor.C (file contents):
Revision 1.6 by root, Sat Sep 16 22:24:12 2006 UTC vs.
Revision 1.7 by root, Sat Dec 30 10:16:11 2006 UTC

36 maptile *style_map = 0; 36 maptile *style_map = 0;
37 object *the_floor; 37 object *the_floor;
38 maptile *newMap = 0; 38 maptile *newMap = 0;
39 39
40 /* allocate the map */ 40 /* allocate the map */
41 newMap = get_empty_map (RP->Xsize, RP->Ysize); 41 newMap = new maptile (RP->Xsize, RP->Ysize);
42 42
43 /* get the style map */ 43 /* get the style map */
44 sprintf (styledirname, "%s", "/styles/floorstyles"); 44 sprintf (styledirname, "%s", "/styles/floorstyles");
45 sprintf (stylefilepath, "%s/%s", styledirname, floorstyle); 45 sprintf (stylefilepath, "%s/%s", styledirname, floorstyle);
46 style_map = find_style (styledirname, floorstyle, -1); 46 style_map = find_style (styledirname, floorstyle, -1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines