summaryrefslogtreecommitdiffstats
path: root/games/tetris
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-5/+5
2019-05-20Remove unused variables; no binary change.lteo1-3/+3
2019-05-18Unveil tetris.rob3-14/+27
2018-04-25Use a NUMKEYS macro instead of magic and use a more familiar idiomtb1-6/+7
2017-08-13replace gettimeofday with monotonic gettime. from Scott Chelohatedu4-59/+45
2017-06-19No need for a conditional to choose between nroff and troff.bentley1-4/+3
2017-04-16According to termcap(3), char PC, *BC, *UP need to be extern. Fixes antb1-2/+2
2016-08-27Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),guenther1-1/+2
2016-08-27Pull in <time.h> for time() and perhaps other functionsguenther1-1/+2
2016-06-10Clean up gcc -Wshadow warnings: 'numnames' is public in <term.h>.tb2-8/+7
2016-06-10When eliding a row, clear the invisible row zero, so that no columnstb1-1/+2
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre1-2/+3
2016-03-07- General changes:mestre1-2/+3
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre1-2/+1
2016-01-07Some basic code maintenance in games/tb1-3/+3
2016-01-04More cleanup and sorting on header sectionmestre5-22/+12
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre1-5/+4
2015-12-27remove unused variablechl1-2/+2
2015-12-25Declare usage() functions as __dead void, if they don't return, on games section.mestre1-2/+2
2015-12-04Tweak alignment of ENVIRONMENT and FILES.tb1-4/+4
2015-11-29Prefer $LOGNAME over $USER, since the latter is deprecated,tb2-6/+14
2015-11-26Fix copy-paste error in scorefile nametb1-2/+2
2015-11-26Add missing checks for getenv() and snprintf()tb1-6/+12
2015-11-25The scorefile is hidden.tb1-4/+4
2015-11-20pledge "stdio rpath wpath cpath tty"tb3-12/+9
2015-11-17remove setgid flag.tedu3-81/+16
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.sobrado1-3/+3
2014-12-31simplify poll() conversion. from patrick keshishiantedu1-8/+6
2014-12-07we do not use pcc on the vaxderaadt1-5/+1
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,guenther3-11/+12
2014-11-05don't deref timeout if null. from theo buehler.tedu1-6/+7
2014-11-03select() to poll() conversionsderaadt1-10/+6
2014-09-08obvious cases of missing .An;schwarze1-6/+12
2013-08-29replace srandomdev()+random() with the arc4random*() familynaddy1-4/+3
2011-04-03Hide the cursor during game. From NetBSD.dcoppa1-2/+10
2010-07-20sub-function needs const, tooderaadt1-3/+3
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-7/+1
2008-08-10'coordiates' -> 'coordinates' from Dawe via tech@.krw1-2/+2
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'ssobrado1-2/+2
2007-05-31convert to new .Dd format;jmc1-2/+2
2006-04-20Replace magic numbers with sizeof(array).ray2-5/+5
2006-04-20Clean up getopt stuff and use strtonum instead of atoi.ray1-6/+6
2005-04-13use STD{IN,OUT,ERR}_FILENOderaadt1-3/+3
2004-07-10more ansi; khalek@linuxgamers.netderaadt5-57/+33
2004-01-10bonus points for completing rows, like most variants.tedu2-2/+22
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert11-66/+22
2003-04-08string cleaning; ok pjanzenderaadt1-2/+2
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenderaadt2-4/+4
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert1-2/+2
2002-07-26give it some healthy dosage of vitamin constmickey4-21/+21