version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_hiscore_c = | | * static char *rcsid_hiscore_c = |
* "$Id: hiscore.c,v 1.13 2005/09/04 16:58:12 akirschbaum Exp $"; | | * "$Id: hiscore.c,v 1.14 2005/09/25 09:47:23 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
void display_high_score(object *op,int max, const char *match) { | | void display_high_score(object *op,int max, const char *match) { |
| | const size_t maxchar = 80; |
FILE *fp; | | FILE *fp; |
char buf[MAX_BUF],*scorebuf, *bp, *cp; | | char buf[MAX_BUF],*scorebuf, *bp, *cp; |
int i=0,j=0,maxchar=80,comp; | | int i=0,j=0,comp; |
score *sc; | | score *sc; |
| | |
sprintf(buf,"%s/%s",settings.localdir,HIGHSCORE); | | sprintf(buf,"%s/%s",settings.localdir,HIGHSCORE); |