diff options
Diffstat (limited to 'FICS/makerank.c')
-rw-r--r-- | FICS/makerank.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/FICS/makerank.c b/FICS/makerank.c index dc6ba7f..4bdba63 100644 --- a/FICS/makerank.c +++ b/FICS/makerank.c @@ -5,26 +5,16 @@ #include <string.h> #include "config.h" +#include "makerank.h" #define COMPUTER_FILE DEFAULT_LISTS "/computer" #define MAX_LOGIN_NAME 21 -char *rnames[] = {"std", "blitz", "wild", "lightning"}; - -typedef struct _ratings { - int rating; - int num; -} ratings; - -typedef struct _Entry { - char name[MAX_LOGIN_NAME]; - ratings r[4]; - int computer; -} ENTRY; - ENTRY **list; ENTRY **sortme; +char *rnames[] = {"std", "blitz", "wild", "lightning"}; + static int GetPlayerInfo(char *fileName, ENTRY *e) { |