Difference for server/hiscore.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_hiscore_c =   * static char *rcsid_hiscore_c =
  *   "$Id: hiscore.c,v 1.9 2003/03/08 05:35:32 mwedel Exp $";   *   "$Id: hiscore.c,v 1.10 2004/03/26 21:59:28 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 99
 
Line 99
   
 static char *put_score(score *sc) {  static char *put_score(score *sc) {
   static char buf[MAX_BUF];    static char buf[MAX_BUF];
   #ifndef WIN32
   sprintf(buf,"%s:%s:%lld:%s:%s:%d:%d:%d",sc->name,sc->title,sc->exp,sc->killer,sc->maplevel,    sprintf(buf,"%s:%s:%lld:%s:%s:%d:%d:%d",sc->name,sc->title,sc->exp,sc->killer,sc->maplevel,
           sc->maxhp,sc->maxsp,sc->maxgrace);            sc->maxhp,sc->maxsp,sc->maxgrace);
   #else
     sprintf(buf,"%s:%s:%I64d:%s:%s:%d:%d:%d",sc->name,sc->title,sc->exp,sc->killer,sc->maplevel,
             sc->maxhp,sc->maxsp,sc->maxgrace);
   #endif
   return buf;    return buf;
 }  }
   
Line 128
 
Line 133
   
   if ((cp = spool(NULL, "score")) == NULL)    if ((cp = spool(NULL, "score")) == NULL)
     return NULL;      return NULL;
   #ifndef WIN32
   sscanf(cp,"%lld",&sc.exp);    sscanf(cp,"%lld",&sc.exp);
   #else
     sscanf(cp,"%I64d",&sc.exp);
   #endif
   
   if ((cp = spool(NULL, "killer")) == NULL)    if ((cp = spool(NULL, "killer")) == NULL)
     return NULL;      return NULL;


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:33