version 1.58 | | version 1.59 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.58 2003/09/13 04:12:17 mwedel Exp $"; | | * "$Id: map.c,v 1.59 2004/01/20 14:52:52 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
m->winddir = atoi(value); | | m->winddir = atoi(value); |
} else if (!strcmp(key, "sky")) { | | } else if (!strcmp(key, "sky")) { |
m->sky = atoi(value); | | m->sky = atoi(value); |
| | } else if (!strcmp(key, "nosmooth")) { |
| | m->nosmooth = atoi(value); |
} | | } |
else if (!strncmp(key,"tile_path_", 10)) { | | else if (!strncmp(key,"tile_path_", 10)) { |
int tile=atoi(key+10); | | int tile=atoi(key+10); |
| | |
if (m->windspeed) fprintf(fp, "windspeed %d\n", m->windspeed); | | if (m->windspeed) fprintf(fp, "windspeed %d\n", m->windspeed); |
if (m->winddir) fprintf(fp, "winddir %d\n", m->winddir); | | if (m->winddir) fprintf(fp, "winddir %d\n", m->winddir); |
if (m->sky) fprintf(fp, "sky %d\n", m->sky); | | if (m->sky) fprintf(fp, "sky %d\n", m->sky); |
| | if (m->nosmooth) fprintf(fp, "nosmooth %d\n", m->nosmooth); |
| | |
/* Save any tiling information, except on overlays */ | | /* Save any tiling information, except on overlays */ |
if (flag != 2) | | if (flag != 2) |