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.2 by root, Tue Aug 29 08:01:36 2006 UTC vs.
Revision 1.3 by root, Sun Sep 3 09:00:09 2006 UTC

1/* 1/*
2 * static char *rcsid_floor_c = 2 * static char *rcsid_floor_c =
3 * "$Id: floor.C,v 1.2 2006/08/29 08:01:36 root Exp $"; 3 * "$Id: floor.C,v 1.3 2006/09/03 09:00:09 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
36mapstruct *make_map_floor(char **layout, char *floorstyle,RMParms *RP) { 36mapstruct *make_map_floor(char **layout, char *floorstyle,RMParms *RP) {
37 char styledirname[256]; 37 char styledirname[256];
38 char stylefilepath[256]; 38 char stylefilepath[256];
39 mapstruct *style_map=0; 39 mapstruct *style_map=0;
40 object *the_floor; 40 object *the_floor;
41 mapstruct *newMap =0; /* (mapstruct *) calloc(sizeof(mapstruct),1); */ 41 mapstruct *newMap =0;
42 42
43 /* allocate the map */ 43 /* allocate the map */
44 newMap = get_empty_map(RP->Xsize,RP->Ysize); 44 newMap = get_empty_map(RP->Xsize,RP->Ysize);
45 45
46 /* get the style map */ 46 /* get the style map */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines