summaryrefslogtreecommitdiff
path: root/games/tetris/input.c
AgeCommit message (Collapse)Author
2017-08-13replace gettimeofday with monotonic gettime. from Scott ChelohaTed Unangst
ok tb
2016-08-27Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),Philip Guenther
and setitimer() ok deraadt@
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre
OK tb@
2016-01-04More cleanup and sorting on header sectionmestre
OK tb@ and he also pointed out that for consistency with rest of the tree we should include termios.h instead of sys/ttydefaults.h, where applicable
2014-12-31simplify poll() conversion. from patrick keshishianTed Unangst
2014-11-05don't deref timeout if null. from theo buehler.Ted Unangst
2014-11-03select() to poll() conversionsTheo de Raadt
ok tedu (... other games maintainer absent)
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-26put to the -Wall an unused variableMichael Shalayeff
2002-05-31de-registerPaul Janzen
2001-09-27missing headerTheo de Raadt
2001-09-05use select() betterTheo de Raadt
2001-02-04Long usernames. This really messes up the scoreboard printout, so changePaul Janzen
it from two columns to one column with leaders printed every third score to guide the eye across the vast whitespace that's left with the traditional 8-char usernames.
1999-03-22Many fixes, most either from or based on NetBSD changes:Paul Janzen
get rid of unused function improve output format allow previewing of next piece randomize initial rotation angle of falling blocks.
1998-09-24NetBSD changes and a few obvious fixesPaul Janzen
1996-02-17From netbsd:Niklas Hallqvist
Removed "extern int errno"; Added #include <errno.h> if not already present.
1995-10-18initial import of NetBSD treeTheo de Raadt