Subversion Repositories HelenOS

Rev

Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 4377
Line 43... Line 43...
43
 
43
 
44
/*
44
/*
45
 * Tetris scores.
45
 * Tetris scores.
46
 */
46
 */
47
#include <sys/time.h>
47
#include <sys/time.h>
-
 
48
#include <string.h>
-
 
49
 
48
#define MAXLOGNAME 16
50
#define MAXLOGNAME 16
49
struct highscore {
51
struct highscore {
50
    char    hs_name[MAXLOGNAME + 1];    /* login name */
52
    char    hs_name[STR_BOUNDS(MAXLOGNAME) + 1];    /* login name */
51
    int hs_score;   /* raw score */
53
    int hs_score;   /* raw score */
52
    int hs_level;   /* play level */
54
    int hs_level;   /* play level */
53
//  time_t  hs_time;    /* time at game end */
55
//  time_t  hs_time;    /* time at game end */
54
};
56
};
55
 
57