summaryrefslogtreecommitdiffstats
path: root/games/atc
AgeCommit message (Expand)AuthorFilesLines
2020-12-13fix unmarked/ignored descriptive mix up;jmc1-5/+5
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-3/+3
2017-07-09have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediateespie1-2/+2
2017-07-07we're not shooting yacceptionespie1-2/+1
2017-01-20Nuke some excess whitespace.krw1-4/+4
2016-12-01Remove useless #ifndef in atc(6) and pom(6).fcambus1-5/+1
2016-09-11Callers of time(3) should #include <time.h>.tb2-2/+4
2016-08-27Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),guenther1-1/+2
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre1-3/+5
2016-03-07remove -u? from usage();jmc1-2/+2
2016-03-07- General changes:mestre2-12/+6
2016-01-09ANSIfy grammar.y on atc(6), all other files already aremestre1-15/+8
2016-01-08add missing 'void'tb2-4/+4
2016-01-07Some basic code maintenance in games/tb1-3/+3
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre1-2/+1
2015-12-31Remove unused filemestre1-0/+0
2015-12-31Include only needed header files per each source filemestre11-88/+65
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre1-3/+3
2015-12-15Cleanup: pwd.h is no longer needed.tb1-2/+1
2015-12-15Replace 'arc4random() % range' by 'arc4random_uniform(range)'.tb1-5/+14
2015-11-29adjust width list: Ds is unfortunate here;jmc1-2/+2
2015-11-29Add pledge support and move score file to $HOME.tb4-33/+40
2015-11-25Remove operations that "touch" scorefiles at install time.deraadt1-7/+1
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allderaadt1-2/+1
2015-11-20Convert hand-rolled option parsing to getopt(3).tb1-46/+37
2015-11-04replace setbuf with setvbuf, from Frederic Nowaktedu1-2/+2
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok millert krwderaadt1-2/+2
2015-02-18convert calloc/realloc pairs to reallocarraytedu1-29/+13
2014-12-09Do not memorialize cheaters in the high score file.deraadt4-8/+9
2014-12-08For now, these games still contain deterministic randomization (forderaadt1-2/+2
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,schwarze1-3/+3
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,guenther2-5/+4
2014-09-08obvious cases of missing .An;schwarze1-3/+7
2014-07-13if not seeded explicitly, use arc4random instead. ok deraadttedu3-10/+26
2014-07-13long live BSD, SYSV is dead!tedu4-73/+6
2013-10-25start_time should be time_t, not int since it holds the reasult ofmillert2-4/+8
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt9-87/+9
2009-06-01Don't assume there will be a newline after calling fgets.ray1-3/+4
2007-11-06fix format stringchl1-3/+3
2007-09-14remove some warnings:chl1-5/+3
2007-09-11use strcspn to properly overwrite '\n' in fgets returned buffergilles1-6/+5
2007-09-04Some more simple malloc(n * m) -> calloc(n, m) conversions.hshoexer1-10/+10
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-04-13when updating atc(6) to split the -f and -g flags in two optionssobrado1-4/+4
2007-04-13let -f and -g be in different options even if the argumentsobrado1-2/+3
2007-04-02tidy up synopsis and usage(); from Igor Sobradojmc2-10/+11
2006-11-07make delayed turn commands not become immediate when there is aderaadt1-6/+14
2006-11-02Check for valid character before truncating string.ray1-6/+13
2006-06-30use .y and .l in SRCS, remove hand-crafted CLEANFILES since this isotto1-3/+2
2006-03-31fix number conversion logic; spotted by pat@; ok tedu@ pat@otto1-6/+6