summaryrefslogtreecommitdiffstats
path: root/battlestar/com2.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename com#.c to command#.c to avoid conflicts with those file basenamestv2001-10-191-353/+0
| | | on certain Microsoft host OS's.
* don't deref -1.christos2001-06-021-3/+3
|
* In cypher(), don't attempt to make sense of words other than VERBs orjsm2000-09-251-2/+4
| | | | | | | | 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 OBJ_AN flag to objflags so as to use "a" or "an" appropriately injsm2000-09-251-7/+8
| | | | messages; avoids "a amulet", "a Elf". Define and use macros to use "a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD.
* Fix logic error in use of n and wordnumber in murder() when usingjsm2000-09-251-7/+7
| | | laser. From OpenBSD.
* Add explicit no-ops to empty loops following the NetBSD style guide.jsm2000-09-241-3/+4
|
* Correct spelling "dont" to "don't". From OpenBSD.jsm2000-09-241-3/+3
|
* Allow for the bathing goddess in ravage(). From OpenBSD.jsm2000-09-231-4/+8
|
* Use a lookup table to identify whether objects are plural or singular,jsm2000-09-231-6/+4
| | | | instead of testing the final character against 's' in each place. Avoids oddities about "pot of jewels" and "compass".
* Remove all adjectives in parse(), since they are nowhere used. Fixesjsm2000-09-221-8/+6
| | | | 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 orjsm2000-09-221-3/+4
| | | nonsense message. From OpenBSD.
* Don't try to wear anything that isn't OBJECT or NOUNS. Don't try tojsm2000-09-211-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 killjsm2000-09-211-5/+31
| | | in murder(). From OpenBSD.
* Clean up formatting; partly from OpenBSD.jsm2000-09-171-16/+12
|
* Wording, punctuation and line length improvements. Also adjust testjsm2000-09-101-4/+4
| | | | for killing nonsensical things to fix crash with "kill door". From OpenBSD.
* From PR 7987 by Joseph Myers <jsm28@cam.ac.uk>:hubertf1999-07-141-3/+3
| | | | More battlestar(6) spelling and punctuation fixes for battlestar(6). These ones come from OpenBSD.
* Propperly note place-change, as reported in PR 6008 by Joseph Samuel Myershubertf1998-08-241-2/+3
| | | <jsm28@cam.ac.uk>
* KNFify (with indent)lukem1997-10-111-192/+197
|
* WARNSifylukem1997-10-101-16/+31
|
* Sync to 4.4BSD-Lite2tls1997-01-071-4/+4
|
* clean up importcgd1995-03-211-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+296