summaryrefslogtreecommitdiff
path: root/games/tetris
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-20Remove unused variables; no binary change.Lawrence Teo
2019-05-18Unveil tetris.rob
2018-04-25Use a NUMKEYS macro instead of magic and use a more familiar idiomTheo Buehler
2017-08-13replace gettimeofday with monotonic gettime. from Scott ChelohaTed Unangst
2017-06-19No need for a conditional to choose between nroff and troff.Anthony J. Bentley
2017-04-16According to termcap(3), char PC, *BC, *UP need to be extern. Fixes anTheo Buehler
2016-08-27Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),Philip Guenther
2016-08-27Pull in <time.h> for time() and perhaps other functionsPhilip Guenther
2016-06-10Clean up gcc -Wshadow warnings: 'numnames' is public in <term.h>.Theo Buehler
2016-06-10When eliding a row, clear the invisible row zero, so that no columnsTheo Buehler
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre
2016-03-07- General changes:mestre
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre
2016-01-07Some basic code maintenance in games/tb
2016-01-04More cleanup and sorting on header sectionmestre
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre
2015-12-27remove unused variableCharles Longeau
2015-12-25Declare usage() functions as __dead void, if they don't return, on games sect...mestre
2015-12-04Tweak alignment of ENVIRONMENT and FILES.tb
2015-11-29Prefer $LOGNAME over $USER, since the latter is deprecated,tb
2015-11-26Fix copy-paste error in scorefile nametb
2015-11-26Add missing checks for getenv() and snprintf()tb
2015-11-25The scorefile is hidden.tb
2015-11-20pledge "stdio rpath wpath cpath tty"tb
2015-11-17remove setgid flag.Ted Unangst
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
2014-12-31simplify poll() conversion. from patrick keshishianTed Unangst
2014-12-07we do not use pcc on the vaxTheo de Raadt
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2014-11-05don't deref timeout if null. from theo buehler.Ted Unangst
2014-11-03select() to poll() conversionsTheo de Raadt
2014-09-08obvious cases of missing .An;Ingo Schwarze
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
2011-04-03Hide the cursor during game. From NetBSD.David Coppa
2010-07-20sub-function needs const, tooTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-08-10'coordiates' -> 'coordinates' from Dawe via tech@.Kenneth R Westerback
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
2007-05-31convert to new .Dd format;Jason McIntyre
2006-04-20Replace magic numbers with sizeof(array).Ray Lai
2006-04-20Clean up getopt stuff and use strtonum instead of atoi.Ray Lai
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2004-01-10bonus points for completing rows, like most variants.Ted Unangst
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-08string cleaning; ok pjanzenTheo de Raadt
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
2002-07-26give it some healthy dosage of vitamin constMichael Shalayeff