| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| |
|
|
|
|
| |
messages; avoids "a amulet", "a Elf". Define and use macros to use
"a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD.
|
| |
|
| |
|
|
|
|
| |
instead of testing the final character against 's' in each place.
Avoids oddities about "pot of jewels" and "compass".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
and "verbose"/"brief" (in verbose mode, always show long room
descriptions), and synonyms "papaya" for "papayas" and "coconut" for
"coconuts".
|
|
|
| |
buffer. Also make initialization functions and arrays static.
|
| |
|
|
|
| |
declarations to globals.c.
|
|
|
|
| |
More battlestar(6) spelling and punctuation fixes for battlestar(6).
These ones come from OpenBSD.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|