summaryrefslogtreecommitdiffstats
path: root/games/tetris/screen.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-3/+3
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* According to termcap(3), char PC, *BC, *UP need to be extern. Fixes antb2017-04-161-2/+2
| | | | | | ld(1) error found by mestre a while ago. fix suggested and ok naddy
* Clean up gcc -Wshadow warnings: 'numnames' is public in <term.h>.tb2016-06-101-2/+1
| | | | | | | 'i' shadows the local loop indexing variable of scr_update(), so no need to rename it. No binary change on amd64. ok millert
* More cleanup and sorting on header sectionmestre2016-01-041-2/+1
| | | | | 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
* we do not use pcc on the vaxderaadt2014-12-071-5/+1
|
* Hide the cursor during game. From NetBSD.dcoppa2011-04-031-2/+10
| | | | OK nicm@
* Replace magic numbers with sizeof(array).ray2006-04-201-2/+2
| | | | OK jaredy@
* more ansi; khalek@linuxgamers.netderaadt2004-07-101-17/+11
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* give it some healthy dosage of vitamin constmickey2002-07-261-3/+3
|
* add classic mode, closer to the way tetris felt a couple decades ago; pjanzen@ okmickey2002-07-261-4/+6
|
* de-registerpjanzen2002-05-311-8/+8
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-5/+5
|
* Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts.millert2001-09-041-5/+1
|
* No need to know anything about ospeed.pjanzen2001-02-131-3/+1
|
* Many fixes, most either from or based on NetBSD changes:pjanzen1999-03-221-5/+44
| | | | | | | get rid of unused function improve output format allow previewing of next piece randomize initial rotation angle of falling blocks.
* Fix a display bug that popped up in the termcap/curses switchover.pjanzen1999-01-081-2/+2
|
* NetBSD changes and a few obvious fixespjanzen1998-09-241-37/+31
|
* initial import of NetBSD treederaadt1995-10-181-0/+474