From bb3d9b5a7d9f27925fc7284fcb2394b29406be8d Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 3 Jan 1999 02:00:17 +0000 Subject: Add previewing of next shape. Old (previous) behaviour can be restored by compiling with NO_PREVIEW defined. --- tetris/input.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'tetris/input.c') 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 @@ -136,20 +136,6 @@ tsleep() break; } -/* - * 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. */ -- cgit v1.2.3