Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow for the bathing goddess in ravage(). From OpenBSD. | jsm | 2000-09-23 | 1 | -4/+8 | |
| | ||||||
* | Use a lookup table to identify whether objects are plural or singular, | jsm | 2000-09-23 | 5 | -26/+41 | |
| | | | | instead of testing the final character against 's' in each place. Avoids oddities about "pot of jewels" and "compass". | |||||
* | Use ${COPY} instead of -c for ${INSTALL} commands. | simonb | 2000-09-23 | 1 | -3/+3 | |
| | ||||||
* | Correct descriptions of "marked" vs. "ignored" -- they were swapped. | jhawk | 2000-09-23 | 1 | -4/+5 | |
| | ||||||
* | Don't say "Kicked." of an object not present; give sensible messages. | jsm | 2000-09-22 | 1 | -3/+7 | |
| | | | From OpenBSD. | |||||
* | Check for an object being taken not being there before checking for | jsm | 2000-09-22 | 1 | -5/+5 | |
| | | | | whether it is too heavy or too bulky; gives a better message for "take viper" with the viper not present. | |||||
* | Give appropriate messages (rather than saying nothing) if an verb is | jsm | 2000-09-22 | 1 | -2/+48 | |
| | | | used with "all" and nothing relevant is present. From OpenBSD. | |||||
* | Remove all adjectives in parse(), since they are nowhere used. Fixes | jsm | 2000-09-22 | 6 | -28/+33 | |
| | | | | crash on "carry old all" shown up by fuzz testing. Patch from Paul Janzen <pjanzen@foatdi.harvard.edu>. | |||||
* | Give an appropriate error on "kill all" rather than a crash or | jsm | 2000-09-22 | 1 | -3/+4 | |
| | | | nonsense message. From OpenBSD. | |||||
* | Various improvements to parsing in battlestar, mostly from OpenBSD. | jsm | 2000-09-21 | 7 | -24/+99 | |
| | | | | | | | | | | | | | | | | | | | | Define a constant WORDLEN. Always use this constant and NWORD where appropriate. Use NWORD - 1 in battlestar.c to avoid off-by-one error. Increment wordnumber after the INVEN verb to allow it to be followed by a comma and other actions. Avoid overflowing elements of the words array if input words are too long. Parse "," as AND except when followed by a verb, to allow such constructions as "take foo, bar, and baz". Trim AND AND which may occur from the ", and" in such a list. Avoid crashes from EVERYTHING in the wrong place by moving it to the start of OBJECT AND EVERYTHING and NOUNS AND EVERYTHING sequences, and trimming EVERYTHING AND EVERYTHING. | |||||
* | Don't try to wear anything that isn't OBJECT or NOUNS. Don't try to | jsm | 2000-09-21 | 1 | -3/+6 | |
| | | | | | | wear DOOR or anything without a short description. Fixes crashes on "wear knfo" (bug reported by Peter Maydell <pmaydell@chiark.greenend.org.uk>), "wear wear", "wear kick", "wear door" and "wear goddess". Partly from OpenBSD. | |||||
* | If no hand-to-hand weapons are available, try using the laser to kill | jsm | 2000-09-21 | 1 | -5/+31 | |
| | | | in murder(). From OpenBSD. | |||||
* | die() on EOF; based on OpenBSD. | jsm | 2000-09-21 | 1 | -2/+4 | |
| | ||||||
* | From OpenBSD: in kiss(), "take" the bathing goddess if required, and | jsm | 2000-09-21 | 1 | -30/+39 | |
| | | | give a better error message if the person to kiss is not present. | |||||
* | Add missing initialisers (avoid gcc -W warnings) and comments giving | jsm | 2000-09-18 | 2 | -556/+1106 | |
| | | | room numbers. | |||||
* | Clean up formatting; partly from OpenBSD. | jsm | 2000-09-17 | 7 | -240/+209 | |
| | ||||||
* | Patches from OpenBSD: add verbs "open"/"unlock" (essentially a no-op), | jsm | 2000-09-17 | 6 | -12/+85 | |
| | | | | | and "verbose"/"brief" (in verbose mode, always show long room descriptions), and synonyms "papaya" for "papayas" and "coconut" for "coconuts". | |||||
* | Based on OpenBSD: spelling, punctuation, grammar and line length | jsm | 2000-09-10 | 3 | -27/+32 | |
| | | | | adjustments, and support for '=' in room descriptions meaning a literal '-'. | |||||
* | Wording, punctuation and line length improvements. Also adjust test | jsm | 2000-09-10 | 7 | -26/+26 | |
| | | | | for killing nonsensical things to fix crash with "kill door". From OpenBSD. | |||||
* | Make spacing nicer and add explicit NULL initializers. | jsm | 2000-09-09 | 1 | -167/+167 | |
| | ||||||
* | Store copy of username with strdup rather than using a fixed length | jsm | 2000-09-09 | 3 | -19/+23 | |
| | | | buffer. Also make initialization functions and arrays static. | |||||
* | Put prototypes in alphabetical order. | jsm | 2000-09-09 | 1 | -7/+7 | |
| | ||||||
* | Spelling and punctuation corrections or improvements from OpenBSD. | jsm | 2000-09-08 | 6 | -28/+28 | |
| | ||||||
* | Make code clearer; add a macro ROOMDESC for the number of times a room | jsm | 2000-09-08 | 3 | -10/+17 | |
| | | | | should be visited for the short description only to be used, and don't increment beenthere[position] beyond this value. From OpenBSD. | |||||
* | Manpage improvements based on OpenBSD. | jsm | 2000-09-08 | 1 | -7/+27 | |
| | ||||||
* | If we install limerick-o.dat, we should also install limerick-o to make it | abs | 2000-08-17 | 1 | -3/+3 | |
| | | | usable. | |||||
* | Split netbsd fortunes into offensive and non offensive. | abs | 2000-08-17 | 4 | -56/+69 | |
| | | | Split could be considered somewhat arbitrary. | |||||
* | NetBSD: A pmap for every occasion | abs | 2000-08-17 | 1 | -0/+3 | |
| | ||||||
* | Corrected quote. It was totally missing its (well-known) equivalent of | mason | 2000-08-12 | 1 | -2/+3 | |
| | | | a punch line. | |||||
* | Use a local implementation of htonl() called h2nl(). htonl() is not | simonb | 2000-07-31 | 1 | -6/+26 | |
| | | | | | available in all cross-compile environments. Patches from Chris Demetriou. | |||||
* | Add 3 from me. | ad | 2000-07-31 | 1 | -0/+9 | |
| | ||||||
* | Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros for host programs - | simonb | 2000-07-31 | 1 | -11/+11 | |
| | | | | | use portable ANSI constructs instead. Patches from Chris Demetriou. | |||||
* | Use a local implementation of htonl() called h2nl(). htonl() is not | simonb | 2000-07-31 | 1 | -7/+22 | |
| | | | | | available in all cross-compile environments. Patches from Chris Demetriou. | |||||
* | Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros or <err.h> err | simonb | 2000-07-31 | 1 | -12/+11 | |
| | | | | | function for host programs - use portable ANSI constructs instead. Patches from Chris Demetriou. | |||||
* | Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros or <err.h> err/warnx | simonb | 2000-07-31 | 1 | -14/+13 | |
| | | | | | functions for host programs - use portable ANSI constructs instead. Patches from Chris Demetriou. | |||||
* | Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros or <err.h> err/errx | simonb | 2000-07-31 | 1 | -15/+20 | |
| | | | | | functions for host programs - use portable ANSI constructs instead. Patches from Chris Demetriou. | |||||
* | Rename move() to moveplayer() to avoid clashing with libcurses. | mycroft | 2000-07-23 | 4 | -20/+20 | |
| | ||||||
* | printf() pedant - do not pass variable alone, use %s. | itojun | 2000-07-10 | 4 | -14/+14 | |
| | | | idea from openbsd. after looking at freebsd commit msgs from kris@freebsd. | |||||
* | remove extra period in SEE ALL section | msaitoh | 2000-07-05 | 1 | -2/+2 | |
| | ||||||
* | After weeding out duplicate, modify entry to be mathematically | mjl | 2000-07-03 | 1 | -2/+2 | |
| | | | | correct at least. (Yes, both were wrong. People can't integrate nowadays anymore :) | |||||
* | Remove duplicate (and incorrect) entry. From Anton Berezin | mjl | 2000-07-03 | 1 | -12/+0 | |
| | | | <tobez@tobez.org> in FreeBSD PR/19670 | |||||
* | More include additions for exit, abs, strcmp, etc. | matt | 2000-07-03 | 20 | -39/+60 | |
| | ||||||
* | Offered horse brutality to a previously incorrect RHPS quote. | mason | 2000-06-30 | 1 | -2/+2 | |
| | ||||||
* | Make this produce local objects with .lo suffix. | matt | 2000-06-20 | 1 | -8/+8 | |
| | ||||||
* | NetBSD: Ports to * boards. | scw | 2000-06-14 | 1 | -0/+3 | |
| | ||||||
* | Don't make /var/games/sail here. | mycroft | 2000-06-11 | 1 | -8/+1 | |
| | ||||||
* | Remove one of mine that really wasn't very good, and add: | jwise | 2000-06-07 | 1 | -3/+2 | |
| | | | NetBSD: abandon all hype, oh ye who enter here. | |||||
* | Fix core dump. | blymn | 2000-05-24 | 1 | -2/+2 | |
| | ||||||
* | Fix coredump on start. | blymn | 2000-05-24 | 1 | -3/+3 | |
| | ||||||
* | Converted games to use the new termcap interface. | blymn | 2000-05-22 | 4 | -32/+70 | |
| |