/*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek and Darren F. Provine. * * %sccs.include.redist.c% * * @(#)scores.h 8.1 (Berkeley) 05/31/93 */ /* * Tetris scores. */ struct highscore { char hs_name[20]; /* login name */ int hs_score; /* raw score */ int hs_level; /* play level */ time_t hs_time; /* time at game end */ }; #define MAXHISCORES 80 #define MAXSCORES 9 /* maximum high score entries per person */ #define EXPIRATION (5L * 365 * 24 * 60 * 60) void savescore __P((int)); void showscores __P((int));