summaryrefslogtreecommitdiffstats
path: root/games/worms
AgeCommit message (Collapse)AuthorFilesLines
2018-08-06Drop "rpath" from pledge(2) after ncurses initialization.mestre1-1/+5
Discussed with and OK tb@ OK cheloha@ on previous version
2016-03-05KNF: wrap three overly long lines. No binary change.tb1-4/+7
2016-03-04- Convert atoi(3) to strtonum(3)mestre1-10/+11
- Replace hardcoded program string by getprogname(3) - Remove '?' from getopt(3)'s switch default case (but still keep 'h') OK tb@ after his suggestions
2016-02-27Untangle a mess of nested ternary operators.tb1-2/+25
ok mestre@
2016-01-07Some basic code maintenance in games/tb1-3/+3
- in main() replace exit with return - drop some /* NOTREACHED */ lint comments along the way. - make more use of standard CFLAGS, esp. -Wimplicit-function-declaration - add and sort some headers when needed - add straightforward pledges to some programs used at compile time discussed with and ok mestre@
2016-01-04More cleanup and sorting on header sectionmestre1-4/+1
OK tb@ and he also pointed out that for consistency with rest of the tree we should include termios.h instead of sys/ttydefaults.h, where applicable
2015-11-21pledge the wyrmsderaadt1-1/+4
2015-02-18don't cast function arguments; use reallocarray in one placetedu1-6/+6
2013-08-29replace srandomdev()+random() with the arc4random*() familynaddy1-3/+2
tweaks and ok millert@, ok deraadt@
2012-05-27make both -d options format the same, and zap that annoying full stopjmc1-2/+3
2012-05-27Use an en-dash for 20-200, escape - used as arithmetic symbol.sthen1-4/+4
Same as jmc's tweaks for rain(6).
2011-04-25Fix "-d delay" option and convert to use strtonum()millert1-8/+13
OK martynas@ a while ago.
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt1-6/+6
2007-05-31convert to new .Dd format;jmc1-2/+2
2004-11-29ansi. ok deraadt@jsg1-8/+5
2004-01-12sort options; add args to options description;jmc1-11/+11
2004-01-08Adjust delay based on terminal speed; ok tedu@millert2-4/+15
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert2-13/+5
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert1-3/+3
good enough for games but we should at least use a decent seed. pjanzen@ OK
2002-05-31de-registerpjanzen1-3/+3
2002-05-31No dm -> no need to revoke setegid.pjanzen1-6/+2
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-4/+4
2001-08-18Formattingpjanzen1-3/+5
2000-01-25use only non-deprecated curses (i.e., no termcap) and tidy a little; mostlypjanzen1-178/+60
from jsm@netbsd.org
1999-10-29srandom() for variety.pjanzen1-2/+4
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.aaron1-1/+2
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-03-21-lcurses, not termcap/termlibpjanzen1-3/+3
1999-03-20Add some .El 's at the end of lists. From NetBSDpjanzen1-1/+2
1998-12-15Always provide an argument to .Nm in SYNOPSIS sectionpjanzen1-2/+2
1998-11-29Don't capitalize game names at the beginning of sentences.pjanzen1-3/+6
1998-08-19tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalpjanzen2-9/+7
initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
1998-03-12OpenBSD ID (changed from NetBSD)pjanzen2-3/+3
1998-02-26cleanup efforts care of pjanzen@foatdi.harvard.eduderaadt1-3/+3
1998-02-22repairs from pjanzen@foatdi.harvard.eduderaadt1-0/+4
1998-02-14further fixes from pjanzen@foatdi.harvard.eduderaadt1-11/+22
1997-09-21$OpenBSD$deraadt1-2/+1
1997-07-23tabifykstailey1-9/+9
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!millert1-1/+1
1996-12-22proper gid revokederaadt1-0/+2
1996-12-19setgid games, not setuid games. closes a neat set of holesderaadt1-0/+2
1996-06-02Always use -ltermlib when linking with -lcursestholo1-2/+2
Depend on LIBTERMCAP and LIBTERMLIB as appropriate
1995-10-18initial import of NetBSD treederaadt3-0/+529