version 1.108 | | version 1.109 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.108 2006/05/30 07:16:23 mwedel Exp $"; | | * "$Id: map.c,v 1.109 2006/06/05 06:28:56 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2001-2003 Mark Wedel & Crossfire Development Team | | Copyright (C) 2006 Mark Wedel & Crossfire Development Team |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
fprintf(fp,"shopitems %s\n", shop); | | fprintf(fp,"shopitems %s\n", shop); |
} | | } |
if (m->shopgreed) fprintf(fp,"shopgreed %f\n", m->shopgreed); | | if (m->shopgreed) fprintf(fp,"shopgreed %f\n", m->shopgreed); |
#ifndef WIN32 | | if (m->shopmin) fprintf(fp,"shopmin %" FMT64U "\n", m->shopmin); |
if (m->shopmin) fprintf(fp,"shopmin %llu\n", m->shopmin); | | if (m->shopmax) fprintf(fp,"shopmax %" FMT64U "\n", m->shopmax); |
if (m->shopmax) fprintf(fp,"shopmax %llu\n", m->shopmax); | | |
#else | | |
if (m->shopmin) fprintf(fp,"shopmin %I64u\n", m->shopmin); | | |
if (m->shopmax) fprintf(fp,"shopmax %I64u\n", m->shopmax); | | |
#endif | | |
if (m->shoprace) fprintf(fp,"shoprace %s\n", m->shoprace); | | if (m->shoprace) fprintf(fp,"shoprace %s\n", m->shoprace); |
if (m->darkness) fprintf(fp,"darkness %d\n", m->darkness); | | if (m->darkness) fprintf(fp,"darkness %d\n", m->darkness); |
if (m->width) fprintf(fp,"width %d\n", m->width); | | if (m->width) fprintf(fp,"width %d\n", m->width); |