Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | speed limit 80 | dholland | 2020-12-06 | 1 | -9/+24 |
| | |||||
* | Move UCB-licensed code from 4-clause to 3-clause licence. | agc | 2003-08-07 | 1 | -7/+3 |
| | | | Patches provided by Joel Baker in PR 22269, verified by myself. | ||||
* | Add new flags OBJ_PERSON and OBJ_NONOBJ to the objflags array. | jsm | 2000-09-25 | 1 | -10/+18 |
| | |||||
* | Add OBJ_AN flag to objflags so as to use "a" or "an" appropriately in | jsm | 2000-09-25 | 1 | -10/+10 |
| | | | | messages; avoids "a amulet", "a Elf". Define and use macros to use "a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD. | ||||
* | Make hash table static in parse.c. | jsm | 2000-09-24 | 1 | -4/+2 |
| | |||||
* | Use NULL instead of 0 (from OpenBSD). Also add or adjust comments. | jsm | 2000-09-24 | 1 | -18/+18 |
| | |||||
* | Use a lookup table to identify whether objects are plural or singular, | jsm | 2000-09-23 | 1 | -2/+13 |
| | | | | instead of testing the final character against 's' in each place. Avoids oddities about "pot of jewels" and "compass". | ||||
* | Various improvements to parsing in battlestar, mostly from OpenBSD. | jsm | 2000-09-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Patches from OpenBSD: add verbs "open"/"unlock" (essentially a no-op), | jsm | 2000-09-17 | 1 | -2/+3 |
| | | | | | and "verbose"/"brief" (in verbose mode, always show long room descriptions), and synonyms "papaya" for "papayas" and "coconut" for "coconuts". | ||||
* | Store copy of username with strdup rather than using a fixed length | jsm | 2000-09-09 | 1 | -3/+3 |
| | | | buffer. Also make initialization functions and arrays static. | ||||
* | Spelling and punctuation corrections or improvements from OpenBSD. | jsm | 2000-09-08 | 1 | -9/+9 |
| | |||||
* | Declare variables in extern.h as extern, and add non-extern | jsm | 1999-09-14 | 1 | -2/+38 |
| | | | declarations to globals.c. | ||||
* | From PR 7987 by Joseph Myers <jsm28@cam.ac.uk>: | hubertf | 1999-07-14 | 1 | -4/+4 |
| | | | | More battlestar(6) spelling and punctuation fixes for battlestar(6). These ones come from OpenBSD. | ||||
* | Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1999-02-10 | 1 | -7/+7 |
| | |||||
* | KNFify (with indent) | lukem | 1997-10-11 | 1 | -60/+60 |
| | |||||
* | WARNSify | lukem | 1997-10-10 | 1 | -2/+3 |
| | |||||
* | Sync to 4.4BSD-Lite2 | tls | 1997-01-07 | 1 | -4/+4 |
| | |||||
* | clean up import | cgd | 1995-03-21 | 1 | -4/+9 |
| | |||||
* | Add RCS identifiers. | mycroft | 1993-08-01 | 1 | -1/+2 |
| | |||||
* | initial import of 386bsd-0.1 sources | cgd | 1993-03-21 | 1 | -0/+219 |