diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-02-04 02:15:29 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-02-04 02:15:29 +0000 |
commit | 42df3673ec79a02f2eabe4da012bf880b0134df3 (patch) | |
tree | 58f18ebe53e6f5b5a701b84834e79c69f4e17596 /games/atc/def.h | |
parent | 2c77bdd3c30c4e2793dacc2c5be32d4d251d75d3 (diff) |
Tidying: change a constant to a #define, stop logging hostnames with the
score, use strlcpy(), and make it work with long usernames.
Diffstat (limited to 'games/atc/def.h')
-rw-r--r-- | games/atc/def.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/games/atc/def.h b/games/atc/def.h index b0a2baac0c4..409008d0606 100644 --- a/games/atc/def.h +++ b/games/atc/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.3 1999/03/22 05:36:57 pjanzen Exp $ */ +/* $OpenBSD: def.h,v 1.4 2001/02/04 02:15:28 pjanzen Exp $ */ /* $NetBSD: def.h,v 1.3 1995/03/21 15:03:47 cgd Exp $ */ /*- @@ -83,3 +83,12 @@ #define INPUT_LINES 3 #define PLANE_COLS 20 + + +/* + * NUM_SCORES - Number of scores that are kept track of. + * Keep this greater than 0. + * 4 lines are printed above the score, one below + your prompt, so + * to prevent scrolling: 6 + NUM_SCORES <= 24 (lines on an average terminal). + */ +#define NUM_SCORES 18 |