summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avoid C sequence point issues warned about by development version of gcc.cgd2001-01-162-7/+7
|
* The capital of Mordor is _not_ Minas Morgul.jwise2001-01-121-1/+1
|
* - openlog "huntd" instead of "HUNT"lukem2001-01-093-16/+21
| | | | | - consistently log non-critical errors at LOG_WARNING not LOG_ERR - consistently use positive numbers for exit() and _exit() - one warning was using printf() instead of syslog()
* convert to using .WAITlukem2001-01-092-9/+4
|
* use more standard %ll_ in favour of %q_lukem2001-01-041-3/+4
|
* need string.h for prototype (checked with alpha)itojun2001-01-043-6/+9
|
* Normalize signature of ship handling functions -- struct ship * from andjwise2001-01-048-54/+54
| | | struct ship * to are now always the first two args.
* Various stylistic nits.jwise2001-01-048-36/+40
|
* Use License templates from localsrc for license on new files.jwise2001-01-042-4/+18
|
* Break out curses display-related globals into a new header file, so thatjwise2001-01-0410-32/+73
| | | <curses.h> doesn't have to be included all over the place.
* More rationalization of include files:jwise2001-01-0421-46/+100
| | | | | | | | a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places). The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
* Rationalize inclusion of header files: cut down on `include everythingjwise2001-01-0416-67/+61
| | | | everywhere' a little (more to go), and as per KNF, local includes after system includes.
* Second half of static-ization of local funcs.jwise2001-01-0412-42/+104
|
* G/C undocumented and unimplemented `-D' (debug) option.jwise2001-01-043-11/+6
|
* First half of static-ization of local funcs.jwise2001-01-049-40/+69
|
* De-`register'jwise2001-01-041-5/+5
|
* Fix getopt usage (again) in case where user does not choose a scenario onjwise2001-01-011-2/+5
| | | the command line.
* Missed commit -- ANSIfy in preparation for further work.jwise2001-01-011-27/+27
|
* Fix getopt() usage.jwise2001-01-011-3/+3
|
* ANSIfy in preparation for further work.jwise2001-01-0121-481/+328
|
* ${PRINTOBJDIR}ifysommerfeld2000-12-303-12/+11
|
* Another one that really belongs here...mycroft2000-12-171-0/+4
|
* Compress the other entries vertically.mycroft2000-12-171-31/+19
|
* Reformat one entry for vertical space.mycroft2000-12-171-34/+19
|
* Yes, it's about damn time fortune(6) got some new material.mycroft2000-12-171-0/+92
|
* CNN, BSD declare Bush winner.tsarna2000-12-141-1/+4
|
* Fix warning.jwise2000-11-301-3/+3
|
* Use random() instead of rand(), and seed from time(3) instead of from getpid().jwise2000-11-302-5/+5
|
* Change the macro to roll a six-sided die from die() to dieroll() (forjwise2000-11-308-33/+32
| | | obvious reasons of convention).
* ANSIfy in preparation for changes.jwise2000-11-301-99/+99
|
* Use getopt(3) for flag processing.jwise2000-11-301-5/+11
|
* Fix style nit.jwise2000-11-301-3/+3
|
* ANSIfy in preparation for other changes.jwise2000-11-301-6/+4
|
* Just print basename in usage string.soren2000-11-211-2/+2
|
* remove unnecessary command name after .Nmlukem2000-11-075-17/+17
|
* use lowercase with .Nm to match actual command namelukem2000-11-071-2/+2
|
* fix a bug in the call to srandom(): xor time() with getpid(), don't add them!mrg2000-10-311-3/+3
| | | | now fortune(6) run in an unending loop does not appear to show the same fortunes over and over and over.
* NetBSD will put hair on a UNIX admin's chesthubertf2000-10-091-0/+3
| | | -- Jason R. Fink
* Removed duplicate entry. Fixes FreeBSD PR/21629.mjl2000-09-291-3/+0
|
* In cypher(), don't attempt to make sense of words other than VERBs orjsm2000-09-255-12/+31
| | | | | | | | KNIFE when a verb is required. Add AUXVERB for "make", "move", "climb" (as in "make love", "climb up") and ignore AUXVERB as a verb, going on to the next word, instead of treating these words as adjectives. When creating new verbs from "put on", "put down", "take off", mark them as type VERB. Mostly from Paul Janzen <pjanzen@foatdi.harvard.edu>.
* Add new flags OBJ_PERSON and OBJ_NONOBJ to the objflags array.jsm2000-09-252-12/+29
|
* Add OBJ_AN flag to objflags so as to use "a" or "an" appropriately injsm2000-09-254-30/+38
| | | | messages; avoids "a amulet", "a Elf". Define and use macros to use "a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD.
* Remove excess blank lines. From OpenBSD.jsm2000-09-251-14/+2
|
* Fix loving already loved goddess; avoid fallthrough after lovingjsm2000-09-251-3/+10
| | | goddess; give error on "love amulet". From OpenBSD.
* Use defined constant FINAL instead of hardcoded 275. From OpenBSD.jsm2000-09-251-3/+3
|
* Fix logic error in use of n and wordnumber in murder() when usingjsm2000-09-251-7/+7
| | | laser. From OpenBSD.
* Discard any part of a line of input that goes beyond our buffer ratherjsm2000-09-241-2/+8
| | | than treating it as our next line of input. From OpenBSD.
* Give less cryptic messages than "-1%" when WEIGHT or CUMBER are zero.jsm2000-09-241-5/+17
|
* Add explicit no-ops to empty loops following the NetBSD style guide.jsm2000-09-244-14/+20
|
* Make hash table static in parse.c.jsm2000-09-243-11/+11
|