… | |
… | |
30 | * The score structure is used when treating new high-scores |
30 | * The score structure is used when treating new high-scores |
31 | */ |
31 | */ |
32 | |
32 | |
33 | typedef struct scr |
33 | typedef struct scr |
34 | { |
34 | { |
35 | char name[BIG_NAME]; /* name */ |
35 | char name[64]; // name */ |
36 | char title[BIG_NAME]; /* Title */ |
36 | char title[64]; // Title */ |
37 | char killer[BIG_NAME]; /* name (+ title) or "quit" */ |
37 | char killer[64]; // name (+ title) or "quit" */ |
38 | sint64 exp; /* Experience */ |
38 | sint64 exp; // Experience */ |
39 | char maplevel[BIG_NAME]; /* Killed on what level */ |
39 | char maplevel[128]; // Killed on what level */ |
40 | int maxhp, maxsp, maxgrace; /* Max hp, sp, grace when killed */ |
40 | int maxhp, maxsp, maxgrace; // Max hp, sp, grace when killed */ |
41 | int position; /* Position in the highscore list */ |
41 | int position; // Position in the highscore list */ |
42 | } score; |
42 | } score; |
43 | |
43 | |
44 | /* |
44 | /* |
45 | * spool works mostly like strtok(char *, ":"), but it can also |
45 | * spool works mostly like strtok(char *, ":"), but it can also |
46 | * log a specified error message if something goes wrong. |
46 | * log a specified error message if something goes wrong. |