From f8df8c0281a2b93b58f947c4bc167c998f05e804 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 3 Jan 1999 17:13:51 +0000 Subject: only show preview if the -p option is given --- tetris/tetris.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tetris/tetris.h') 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)); -- cgit v1.2.3