diff options
| author | hubertf <hubertf@NetBSD.org> | 1999-01-03 02:00:17 +0000 |
|---|---|---|
| committer | hubertf <hubertf@NetBSD.org> | 1999-01-03 02:00:17 +0000 |
| commit | bb3d9b5a7d9f27925fc7284fcb2394b29406be8d (patch) | |
| tree | b098b9b517a645916326699d028008cd33c73a61 /tetris/tetris.h | |
| parent | 88ddc247b226dce915bba2681778e7926086e59a (diff) | |
| download | bsdgames-darwin-bb3d9b5a7d9f27925fc7284fcb2394b29406be8d.tar.gz bsdgames-darwin-bb3d9b5a7d9f27925fc7284fcb2394b29406be8d.zip | |
Add previewing of next shape. Old (previous) behaviour can be
restored by compiling with NO_PREVIEW defined.
Diffstat (limited to 'tetris/tetris.h')
| -rw-r--r-- | tetris/tetris.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tetris/tetris.h b/tetris/tetris.h index 0aa41056..13d4b40b 100644 --- a/tetris/tetris.h +++ b/tetris/tetris.h @@ -1,4 +1,4 @@ -/* $NetBSD: tetris.h,v 1.3 1998/09/13 15:27:30 hubertf Exp $ */ +/* $NetBSD: tetris.h,v 1.4 1999/01/03 02:00:18 hubertf Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -132,6 +132,9 @@ struct shape { extern struct shape shapes[]; #define randshape() (&shapes[random() % 7]) +extern struct shape *curshape; +extern struct shape *nextshape; + /* * Shapes fall at a rate faster than once per second. * |
