summaryrefslogtreecommitdiffstats
path: root/games/worms (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Drop "rpath" from pledge(2) after ncurses initialization.mestre2018-08-061-1/+5
| | | | | Discussed with and OK tb@ OK cheloha@ on previous version
* KNF: wrap three overly long lines. No binary change.tb2016-03-051-4/+7
|
* - Convert atoi(3) to strtonum(3)mestre2016-03-041-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
* Untangle a mess of nested ternary operators.tb2016-02-271-2/+25
| | | | ok mestre@
* Some basic code maintenance in games/tb2016-01-071-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@
* More cleanup and sorting on header sectionmestre2016-01-041-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
* pledge the wyrmsderaadt2015-11-211-1/+4
|
* don't cast function arguments; use reallocarray in one placetedu2015-02-181-6/+6
|
* replace srandomdev()+random() with the arc4random*() familynaddy2013-08-291-3/+2
| | | | tweaks and ok millert@, ok deraadt@
* make both -d options format the same, and zap that annoying full stopjmc2012-05-271-2/+3
|
* Use an en-dash for 20-200, escape - used as arithmetic symbol.sthen2012-05-271-4/+4
| | | | Same as jmc's tweaks for rain(6).
* Fix "-d delay" option and convert to use strtonum()millert2011-04-251-8/+13
| | | | OK martynas@ a while ago.
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-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
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-6/+6
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* ansi. ok deraadt@jsg2004-11-291-8/+5
|
* sort options; add args to options description;jmc2004-01-121-11/+11
|
* Adjust delay based on terminal speed; ok tedu@millert2004-01-082-4/+15
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-032-13/+5
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert2002-12-061-3/+3
| | | | | good enough for games but we should at least use a decent seed. pjanzen@ OK
* de-registerpjanzen2002-05-311-3/+3
|
* No dm -> no need to revoke setegid.pjanzen2002-05-311-6/+2
|
* Part 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.millert2002-02-161-4/+4
|
* Formattingpjanzen2001-08-181-3/+5
|
* use only non-deprecated curses (i.e., no termcap) and tidy a little; mostlypjanzen2000-01-251-178/+60
| | | | from jsm@netbsd.org
* srandom() for variety.pjanzen1999-10-291-2/+4
|
* The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.aaron1999-07-071-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.
* -lcurses, not termcap/termlibpjanzen1999-03-211-3/+3
|
* Add some .El 's at the end of lists. From NetBSDpjanzen1999-03-201-1/+2
|
* Always provide an argument to .Nm in SYNOPSIS sectionpjanzen1998-12-151-2/+2
|
* Don't capitalize game names at the beginning of sentences.pjanzen1998-11-291-3/+6
|
* tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalpjanzen1998-08-192-9/+7
| | | | | initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
* OpenBSD ID (changed from NetBSD)pjanzen1998-03-122-3/+3
|
* cleanup efforts care of pjanzen@foatdi.harvard.eduderaadt1998-02-261-3/+3
|
* repairs from pjanzen@foatdi.harvard.eduderaadt1998-02-221-0/+4
|
* further fixes from pjanzen@foatdi.harvard.eduderaadt1998-02-141-11/+22
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* tabifykstailey1997-07-231-9/+9
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-1/+1
|
* proper gid revokederaadt1996-12-221-0/+2
|
* setgid games, not setuid games. closes a neat set of holesderaadt1996-12-191-0/+2
|
* Always use -ltermlib when linking with -lcursestholo1996-06-021-2/+2
| | | | Depend on LIBTERMCAP and LIBTERMLIB as appropriate
* initial import of NetBSD treederaadt1995-10-183-0/+529