History log of /netbsd/games/battlestar/words.c (Results 1 – 11 of 11)
Revision Date Author Comments
# e5aeb4ea 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.


# 5fd015d6 25-Sep-2000 jsm <jsm@NetBSD.org>

In cypher(), don't attempt to make sense of words other than VERBs or
KNIFE when a verb is required. Add AUXVERB for "make", "move",
"climb" (as in "make love", "climb up") and ignore AUXVERB as a v

In cypher(), don't attempt to make sense of words other than VERBs or
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>.

show more ...


# 1fc5d09e 21-Sep-2000 jsm <jsm@NetBSD.org>

Various improvements to parsing in battlestar, mostly from OpenBSD.

Define a constant WORDLEN. Always use this constant and NWORD where
appropriate.

Use NWORD - 1 in battlestar.c to avoid off-by-o

Various improvements to parsing in battlestar, mostly from OpenBSD.

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.

show more ...


# 31b523ee 17-Sep-2000 jsm <jsm@NetBSD.org>

Patches from OpenBSD: add verbs "open"/"unlock" (essentially a no-op),
and "verbose"/"brief" (in verbose mode, always show long room
descriptions), and synonyms "papaya" for "papayas" and "coconut" f

Patches from OpenBSD: add verbs "open"/"unlock" (essentially a no-op),
and "verbose"/"brief" (in verbose mode, always show long room
descriptions), and synonyms "papaya" for "papayas" and "coconut" for
"coconuts".

show more ...


# d7183960 09-Sep-2000 jsm <jsm@NetBSD.org>

Make spacing nicer and add explicit NULL initializers.


# 31c7a7be 11-Oct-1997 lukem <lukem@NetBSD.org>

KNFify (with indent)


# b6068ea0 10-Oct-1997 lukem <lukem@NetBSD.org>

WARNSify


# 34cd8f5b 07-Jan-1997 tls <tls@NetBSD.org>

Sync to 4.4BSD-Lite2


# 101657d1 21-Mar-1995 cgd <cgd@NetBSD.org>

clean up import


# 8542364e 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources