Changeset 9996ed5 in mainline for tetris/scores.h
- Timestamp:
- 2006-06-05T20:40:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e9073f2
- Parents:
- 0aa024b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tetris/scores.h
r0aa024b1 r9996ed5 40 40 */ 41 41 #include <sys/time.h> 42 #define MAXLOGNAME 1 042 #define MAXLOGNAME 16 43 43 struct highscore { 44 char hs_name[MAXLOGNAME ]; /* login name */44 char hs_name[MAXLOGNAME + 1]; /* login name */ 45 45 int hs_score; /* raw score */ 46 46 int hs_level; /* play level */ 47 time_t hs_time; /* time at game end */47 // time_t hs_time; /* time at game end */ 48 48 }; 49 49 50 #define MAXHISCORES 8051 #define MAXSCORES 9 /* maximum high score entries per person */52 #define EXPIRATION (5L * 365 * 24 * 60 * 60)50 #define MAXHISCORES 10 51 //#define MAXSCORES 9 /* maximum high score entries per person */ 52 //#define EXPIRATION (5L * 365 * 24 * 60 * 60) 53 53 54 54 void savescore(int); 55 55 void showscores(int); 56 void insertscore(int score, int level); 57 void initscores(void);
Note:
See TracChangeset
for help on using the changeset viewer.