summaryrefslogtreecommitdiffstats
path: root/tetris/screen.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-6/+6
|
* Get all the games compiling for iOSCameron Katri2021-02-221-0/+2
|
* elide compiler stupidity.christos2017-03-201-11/+13
|
* Center game board on screen. OK from christos@.nat2016-03-031-2/+3
|
* PR/50411: Rin Okuyama: fix two bugs:christos2015-11-061-2/+2
| | | | - clear blocks in the 0 row, otherwise the pile up forever. - black (white) blocks are not shown as "next shape":
* Fixes color scheme white on black and black on white.nat2015-07-071-3/+8
| | | This commit was approved by christos@
* Provide an option to restore traditional black-and-white mode.pgoyette2014-07-131-1/+3
|
* Add a little color. In order to minimize logic differences, keep 0 as thechristos2014-06-111-1/+21
| | | | empty board value, and since 7 is white, turn white into black (0) when painting.
* Use tiparm instead of vtparm.roy2011-10-031-2/+2
|
* Userland now builds and uses terminfo instead of termcap.roy2010-02-031-142/+36
| | | OK: core@, jdc@
* Hide the cursor during the game.ahoka2009-12-191-2/+10
|
* sprinkle staticdholland2009-08-121-4/+4
|
* ANSIfy function declarations.dholland2009-05-251-17/+11
| | | | | Some object file diffs, but they are harmless. (Mostly they seem to come from internal counters in gcc... and in one case the order of two instructions was harmlessly swapped, which is odd and annoying.)
* Build with WARNS=4. (All fixes are cosmetic, except that it's definitelydholland2008-01-281-27/+27
| | | | bad karma to shadow a local variable with another of the same name in a nested block...)
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-2/+2
|
* include sys/cdefs.h so that __attribute__ can be fixed laterperry2007-12-151-1/+2
|
* Remove uses of __P.jsm2004-01-271-5/+5
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* de-registerwiz2002-06-021-8/+8
|
* Update to the new t_agetstr() API.christos2001-11-021-6/+3
|
* Fix core dump.blymn2000-05-241-2/+2
|
* Converted games to use the new termcap interface.blymn2000-05-221-10/+18
|
* update after change to return value of tputs() third argumentlukem1999-10-041-3/+3
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-2/+2
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* Add use of `const' where appropriate to the games.jsm1999-09-081-3/+3
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* Adapt to change of "termcap.h".tron1999-08-141-2/+2
|
* only show preview if the -p option is givenhubertf1999-01-031-4/+2
|
* Add previewing of next shape. Old (previous) behaviour can behubertf1999-01-031-4/+42
| | | restored by compiling with NO_PREVIEW defined.
* bzero->memsetperry1998-08-101-2/+2
|
* use <termcap.h>lukem1997-10-141-13/+4
|
* minor WARNSifylukem1997-10-121-26/+29
|
* Fix usages of ospeed.mycroft1995-04-291-2/+2
|
* Use POSIX signal and tty semantics.mycroft1995-04-281-31/+49
|
* NetBSD RCS Idscgd1995-04-221-0/+2
|
* ascii tetris!cgd1994-05-061-0/+454