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.5 by root, Thu Sep 14 22:34:02 2006 UTC vs.
Revision 1.6 by root, Sat Sep 16 22:24:12 2006 UTC

26#include <random_map.h> 26#include <random_map.h>
27#include <rproto.h> 27#include <rproto.h>
28 28
29/* make a map and layout the floor. */ 29/* make a map and layout the floor. */
30 30
31mapstruct * 31maptile *
32make_map_floor (char **layout, char *floorstyle, RMParms * RP) 32make_map_floor (char **layout, char *floorstyle, RMParms * RP)
33{ 33{
34 char styledirname[256]; 34 char styledirname[256];
35 char stylefilepath[256]; 35 char stylefilepath[256];
36 mapstruct *style_map = 0; 36 maptile *style_map = 0;
37 object *the_floor; 37 object *the_floor;
38 mapstruct *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 = get_empty_map (RP->Xsize, RP->Ysize);
42 42
43 /* get the style map */ 43 /* get the style map */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines