Home | History | Annotate | Download | only in tetris
History log of /src/games/tetris/screen.c
RevisionDateAuthorComments
 1.34  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.33  20-Mar-2017  christos elide compiler stupidity.
 1.32  03-Mar-2016  nat branches: 1.32.2; 1.32.4;
Center game board on screen. OK from christos@.
 1.31  06-Nov-2015  christos PR/50411: Rin Okuyama: fix two bugs:
- clear blocks in the 0 row, otherwise the pile up forever.
- black (white) blocks are not shown as "next shape":
 1.30  07-Jul-2015  nat Fixes color scheme white on black and black on white.

This commit was approved by christos@
 1.29  13-Jul-2014  pgoyette branches: 1.29.2;
Provide an option to restore traditional black-and-white mode.
 1.28  11-Jun-2014  christos Add a little color. In order to minimize logic differences, keep 0 as the
empty board value, and since 7 is white, turn white into black (0) when
painting.
 1.27  03-Oct-2011  roy branches: 1.27.8; 1.27.18;
Use tiparm instead of vtparm.
 1.26  03-Feb-2010  roy Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@
 1.25  19-Dec-2009  ahoka Hide the cursor during the game.
 1.24  12-Aug-2009  dholland sprinkle static
 1.23  25-May-2009  dholland ANSIfy function declarations.

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.)
 1.22  28-Jan-2008  dholland Build with WARNS=4. (All fixes are cosmetic, except that it's definitely
bad karma to shadow a local variable with another of the same name in a
nested block...)
 1.21  15-Dec-2007  perry convert __attribute__s to applicable cdefs.h macros
 1.20  15-Dec-2007  perry include sys/cdefs.h so that __attribute__ can be fixed later
 1.19  27-Jan-2004  jsm branches: 1.19.22;
Remove uses of __P.
 1.18  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.17  02-Jun-2002  wiz de-register
 1.16  02-Nov-2001  christos Update to the new t_agetstr() API.
 1.15  24-May-2000  blymn Fix core dump.
 1.14  22-May-2000  blymn Converted games to use the new termcap interface.
 1.13  04-Oct-1999  lukem update after change to return value of tputs() third argument
 1.12  08-Sep-1999  jsm branches: 1.12.2;
Add `__noreturn__' and `__unused__' attributes where appropriate to
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).
 1.11  08-Sep-1999  jsm Add use of `const' where appropriate to 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).

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.
 1.10  14-Aug-1999  tron Adapt to change of "termcap.h".
 1.9  03-Jan-1999  hubertf only show preview if the -p option is given
 1.8  03-Jan-1999  hubertf Add previewing of next shape. Old (previous) behaviour can be
restored by compiling with NO_PREVIEW defined.
 1.7  10-Aug-1998  perry bzero->memset
 1.6  14-Oct-1997  lukem use <termcap.h>
 1.5  12-Oct-1997  lukem minor WARNSify
 1.4  29-Apr-1995  mycroft Fix usages of ospeed.
 1.3  28-Apr-1995  mycroft Use POSIX signal and tty semantics.
 1.2  22-Apr-1995  cgd NetBSD RCS Ids
 1.1  06-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  06-May-1994  cgd ascii tetris!
 1.12.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.19.22.2  23-Mar-2008  matt sync with HEAD
 1.19.22.1  09-Jan-2008  matt sync with HEAD
 1.27.18.1  10-Aug-2014  tls Rebase.
 1.27.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.2.1  17-Jul-2015  snj Pull up following revision(s) (requested by nat in ticket #873):
games/tetris/screen.c: revision 1.30
Fixes color scheme white on black and black on white.
This commit was approved by christos@
 1.32.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.32.2.1  26-Apr-2017  pgoyette Sync with HEAD

RSS XML Feed