version 1.30 | | version 1.31 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.30 2001/12/18 09:11:26 garbled Exp $"; | | * "$Id: map.c,v 1.31 2001/12/19 08:53:58 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
m->unique = atoi(value); | | m->unique = atoi(value); |
} else if (!strcmp(key,"outdoor")) { | | } else if (!strcmp(key,"outdoor")) { |
m->outdoor = atoi(value); | | m->outdoor = atoi(value); |
| | } else if (!strcmp(key, "temp")) { |
| | m->temp = atoi(value); |
| | } else if (!strcmp(key, "pressure")) { |
| | m->pressure = atoi(value); |
| | } else if (!strcmp(key, "humid")) { |
| | m->humid = atoi(value); |
| | } else if (!strcmp(key, "windspeed")) { |
| | m->windspeed = atoi(value); |
| | } else if (!strcmp(key, "winddir")) { |
| | m->winddir = atoi(value); |
| | } else if (!strcmp(key, "sky")) { |
| | m->sky = 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); |