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/input.c | |
| 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/input.c')
| -rw-r--r-- | tetris/input.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/tetris/input.c b/tetris/input.c index 26772cda..b21ad834 100644 --- a/tetris/input.c +++ b/tetris/input.c @@ -1,4 +1,4 @@ -/* $NetBSD: input.c,v 1.3 1996/02/06 22:47:33 jtc Exp $ */ +/* $NetBSD: input.c,v 1.4 1999/01/03 02:00:17 hubertf Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -137,20 +137,6 @@ tsleep() } /* - * Eat up any input (used at end of game). - */ -void -eat_input() -{ - struct timeval tv; - char c; - - do { - tv.tv_sec = tv.tv_usec = 0; - } while (rwait(&tv) && read(0, &c, 1) == 1); -} - -/* * getchar with timeout. */ int |
