diff options
author | hubertf <hubertf@NetBSD.org> | 1999-01-03 17:13:51 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-01-03 17:13:51 +0000 |
commit | f8df8c0281a2b93b58f947c4bc167c998f05e804 (patch) | |
tree | eea579958c7b97230bca854b4bc469209318c125 /tetris/tetris.h | |
parent | 69a9330f3a35ba66a49fad4835b5188fe59f2bbf (diff) | |
download | bsdgames-darwin-f8df8c0281a2b93b58f947c4bc167c998f05e804.tar.gz bsdgames-darwin-f8df8c0281a2b93b58f947c4bc167c998f05e804.tar.zst bsdgames-darwin-f8df8c0281a2b93b58f947c4bc167c998f05e804.zip |
only show preview if the -p option is given
Diffstat (limited to 'tetris/tetris.h')
-rw-r--r-- | tetris/tetris.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tetris/tetris.h b/tetris/tetris.h index 13d4b40b..d3aebd2c 100644 --- a/tetris/tetris.h +++ b/tetris/tetris.h @@ -1,4 +1,4 @@ -/* $NetBSD: tetris.h,v 1.4 1999/01/03 02:00:18 hubertf Exp $ */ +/* $NetBSD: tetris.h,v 1.5 1999/01/03 17:13:51 hubertf Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -132,8 +132,8 @@ struct shape { extern struct shape shapes[]; #define randshape() (&shapes[random() % 7]) -extern struct shape *curshape; -extern struct shape *nextshape; +struct shape *curshape; +struct shape *nextshape; /* * Shapes fall at a rate faster than once per second. @@ -168,6 +168,7 @@ long fallrate; /* less than 1 million; smaller => faster */ int score; /* the obvious thing */ char key_msg[100]; +int showpreview; int fits_in __P((struct shape *, int)); void place __P((struct shape *, int, int)); |