Rev 1419 | Rev 1590 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1419 | Rev 1466 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | */ |
36 | */ |
37 | 37 | ||
38 | /* |
38 | /* |
39 | * Tetris scores. |
39 | * Tetris scores. |
40 | */ |
40 | */ |
- | 41 | #include <sys/time.h> |
|
- | 42 | #define MAXLOGNAME 10 |
|
41 | struct highscore { |
43 | struct highscore { |
42 | char hs_name[MAXLOGNAME]; /* login name */ |
44 | char hs_name[MAXLOGNAME]; /* login name */ |
43 | int hs_score; /* raw score */ |
45 | int hs_score; /* raw score */ |
44 | int hs_level; /* play level */ |
46 | int hs_level; /* play level */ |
45 | time_t hs_time; /* time at game end */ |
47 | time_t hs_time; /* time at game end */ |