version 1.86 | | version 1.87 |
---|
| | |
/* A lexical scanner generated by flex*/ | | /* A lexical scanner generated by flex*/ |
| | |
/* Scanner skeleton version: | | /* Scanner skeleton version: |
* $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.86 2006/05/30 07:16:23 mwedel Exp $ | | * $Header: /cvsroot/crossfire/crossfire/common/loader.c,v 1.87 2006/06/05 06:28:56 mwedel Exp $ |
*/ | | */ |
| | |
#define FLEX_SCANNER | | #define FLEX_SCANNER |
| | |
#line 2 "loader.l" | | #line 2 "loader.l" |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.c,v 1.86 2006/05/30 07:16:23 mwedel Exp $"; | | * "$Id: loader.c,v 1.87 2006/06/05 06:28:56 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2002 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 |
| | |
FAST_SAVE_LONG(fastbuf,"maxgrace ",op->stats.maxgrace,9); | | FAST_SAVE_LONG(fastbuf,"maxgrace ",op->stats.maxgrace,9); |
| | |
if(op->stats.exp!=op2->stats.exp) { | | if(op->stats.exp!=op2->stats.exp) { |
#ifndef WIN32 | | sprintf(buf2,"%" FMT64 , op->stats.exp); |
sprintf(buf2,"%lld", op->stats.exp); | | |
#else | | |
sprintf(buf2,"%I64d", op->stats.exp); | | |
#endif | | |
ADD_STRINGLINE_ENTRY(fastbuf,"exp ", buf2, 4); | | ADD_STRINGLINE_ENTRY(fastbuf,"exp ", buf2, 4); |
} | | } |
| | |
if(op->perm_exp!=op2->perm_exp) { | | if(op->perm_exp!=op2->perm_exp) { |
#ifndef WIN32 | | sprintf(buf2,"%" FMT64 , op->perm_exp); |
sprintf(buf2,"%lld", op->perm_exp); | | |
#else | | |
sprintf(buf2,"%I64d", op->perm_exp); | | |
#endif | | |
ADD_STRINGLINE_ENTRY(fastbuf,"perm_exp ", buf2, 9); | | ADD_STRINGLINE_ENTRY(fastbuf,"perm_exp ", buf2, 9); |
} | | } |
| | |