summaryrefslogtreecommitdiff
path: root/games/atc
AgeCommit message (Expand)Author
2020-12-13fix unmarked/ignored descriptive mix up;Jason McIntyre
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-07-09have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediateMarc Espie
2017-07-07we're not shooting yacceptionMarc Espie
2017-01-20Nuke some excess whitespace.Kenneth R Westerback
2016-12-01Remove useless #ifndef in atc(6) and pom(6).Frederic Cambus
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
2016-08-27Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),Philip Guenther
2016-03-16Prefer fseek(3) over rewind(3) since the latter although it also calls fseekmestre
2016-03-07remove -u? from usage();Jason McIntyre
2016-03-07- General changes:mestre
2016-01-09ANSIfy grammar.y on atc(6), all other files already aremestre
2016-01-08add missing 'void'tb
2016-01-07Some basic code maintenance in games/tb
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre
2015-12-31Remove unused filemestre
2015-12-31Include only needed header files per each source filemestre
2015-12-26Set as __dead a few more functions, that don't return, on games/mestre
2015-12-15Cleanup: pwd.h is no longer needed.tb
2015-12-15Replace 'arc4random() % range' by 'arc4random_uniform(range)'.tb
2015-11-29adjust width list: Ds is unfortunate here;Jason McIntyre
2015-11-29Add pledge support and move score file to $HOME.tb
2015-11-25Remove operations that "touch" scorefiles at install time.Theo de Raadt
2015-11-24In 1995, all of the games were setuid games. At end of 1996, I took them allTheo de Raadt
2015-11-20Convert hand-rolled option parsing to getopt(3).tb
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok miller...Theo de Raadt
2015-02-18convert calloc/realloc pairs to reallocarrayTed Unangst
2014-12-09Do not memorialize cheaters in the high score file.Theo de Raadt
2014-12-08For now, these games still contain deterministic randomization (forTheo de Raadt
2014-11-30Even though not callable, "Ed" is a macro name, so for clarity,Ingo Schwarze
2014-11-16Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,Philip Guenther
2014-09-08obvious cases of missing .An;Ingo Schwarze
2014-07-13if not seeded explicitly, use arc4random instead. ok deraadtTed Unangst
2014-07-13long live BSD, SYSV is dead!Ted Unangst
2013-10-25start_time should be time_t, not int since it holds the reasult ofTodd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-01Don't assume there will be a newline after calling fgets.Ray Lai
2007-11-06fix format stringCharles Longeau
2007-09-14remove some warnings:Charles Longeau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-09-04Some more simple malloc(n * m) -> calloc(n, m) conversions.Hans-Joerg Hoexer
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-13when updating atc(6) to split the -f and -g flags in two optionsIgor Sobrado
2007-04-13let -f and -g be in different options even if the argumentIgor Sobrado
2007-04-02tidy up synopsis and usage(); from Igor SobradoJason McIntyre
2006-11-07make delayed turn commands not become immediate when there is aTheo de Raadt
2006-11-02Check for valid character before truncating string.Ray Lai
2006-06-30use .y and .l in SRCS, remove hand-crafted CLEANFILES since this isOtto Moerbeek
2006-03-31fix number conversion logic; spotted by pat@; ok tedu@ pat@Otto Moerbeek