version 1.83 | | version 1.84 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.83 2005/10/03 15:47:31 cavesomething Exp $"; | | * "$Id: map.c,v 1.84 2005/10/04 01:00:04 cavesomething Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
if (m->difficulty) fprintf(fp,"difficulty %d\n", m->difficulty); | | if (m->difficulty) fprintf(fp,"difficulty %d\n", m->difficulty); |
if (m->region) fprintf(fp,"region %s\n", m->region->name); | | if (m->region) fprintf(fp,"region %s\n", m->region->name); |
if (m->shopgreed) { | | if (m->shopitems) { |
print_shop_string(m, shop); | | print_shop_string(m, shop); |
fprintf(fp,"shopitems %s\n", shop); | | fprintf(fp,"shopitems %s\n", shop); |
} | | } |
| | if (m->shopgreed) fprintf(fp,"shopgreed %f\n", m->shopgreed); |
if (m->shopmin) fprintf(fp,"shopgreed %d\n", m->shopmin); | | if (m->shopmin) fprintf(fp,"shopgreed %d\n", m->shopmin); |
if (m->shopmax) fprintf(fp,"shopgreed %d\n", m->shopmax); | | if (m->shopmax) fprintf(fp,"shopgreed %d\n", m->shopmax); |
if (m->shoprace) fprintf(fp,"shoprace %s\n", m->shoprace); | | if (m->shoprace) fprintf(fp,"shoprace %s\n", m->shoprace); |