History log of /openbsd-current/games/tetris/input.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_2_BASE
# 1.19 13-Aug-2017 tedu

replace gettimeofday with monotonic gettime. from Scott Cheloha
ok tb


Revision tags: OPENBSD_6_1_BASE
# 1.18 27-Aug-2016 guenther

Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),
and setitimer()

ok deraadt@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.17 10-Jan-2016 mestre

As per style(9), remove remaining lint-style comments from games/

OK tb@


# 1.16 04-Jan-2016 mestre

More cleanup and sorting on header section

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


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.15 31-Dec-2014 tedu

simplify poll() conversion. from patrick keshishian


# 1.14 05-Nov-2014 tedu

don't deref timeout if null. from theo buehler.


# 1.13 03-Nov-2014 deraadt

select() to poll() conversions
ok tedu (... other games maintainer absent)


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.12 13-Apr-2005 deraadt

use STD{IN,OUT,ERR}_FILENO


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.11 10-Jul-2004 deraadt

more ansi; khalek@linuxgamers.net


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.10 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.9 26-Jul-2002 mickey

put to the -Wall an unused variable


# 1.8 31-May-2002 pjanzen

de-register


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.7 27-Sep-2001 deraadt

missing header


# 1.6 05-Sep-2001 deraadt

use select() better


Revision tags: OPENBSD_2_9_BASE
# 1.5 04-Feb-2001 pjanzen

Long usernames. This really messes up the scoreboard printout, so change
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.


Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 22-Mar-1999 pjanzen

Many fixes, most either from or based on NetBSD changes:
get rid of unused function
improve output format
allow previewing of next piece
randomize initial rotation angle of falling blocks.


Revision tags: OPENBSD_2_4_BASE
# 1.3 24-Sep-1998 pjanzen

NetBSD changes and a few obvious fixes


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.2 17-Feb-1996 niklas

From netbsd:
Removed "extern int errno"; Added #include <errno.h> if not already present.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision