summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2001-03-09resize a buffer for long usernames; ianm@cit.uws.edu.auPaul Janzen
2001-03-08whack exit(-#)Theo de Raadt
2001-03-08better synopsis linePaul Janzen
2001-02-18include <string.h>Paul Janzen
2001-02-18include <string.h>Paul Janzen
2001-02-18Convert to curses and tidy some. Generally based on NetBSD changes.Paul Janzen
2001-02-18rename variable raw->traw as to not conflict with raw()Eric Jackson
2001-02-18Get this not to segfault on startup on alpha.Paul Janzen
2001-02-17clrtoeol() is bad if there's stuff to the right you want to keep.Paul Janzen
2001-02-17display username when playing restored gamesPaul Janzen
2001-02-17long usernames, and some -Wall-agePaul Janzen
2001-02-17Handle long usernames betterPaul Janzen
2001-02-17Use err() rather than errx() immediately after alloc failure.Paul Janzen
2001-02-13Try to keep formatting pretty for long usernamesPaul Janzen
2001-02-13Quiet alpha warnings, principally with correct includesPaul Janzen
2001-02-13No need to know anything about ospeed.Paul Janzen
2001-02-04Long usernames. This really messes up the scoreboard printout, so changePaul Janzen
it from two columns to one column with leaders printed every third score to guide the eye across the vast whitespace that's left with the traditional 8-char usernames.
2001-02-04Be a little more careful with scanf() on the score filePaul Janzen
2001-02-04Remove -traditional-cpp and do some -Wall cleanups; from Chris K. YoungPaul Janzen
<cky@pobox.com> in PR 1652.
2001-02-04Tidy, avoid segfaults on unknown users, and deal with long usernamesPaul Janzen
2001-02-04Format for long usernamesPaul Janzen
2001-02-04Use strdup()Paul Janzen
2001-02-04Tidying: change a constant to a #define, stop logging hostnames with thePaul Janzen
score, use strlcpy(), and make it work with long usernames.
2001-01-28$OpenBSD$Niklas Hallqvist
2001-01-23Remove another useless machine/endian.h includeTodd C. Miller
2001-01-23Don't include machine/endian.h, closes PR 1642Todd C. Miller
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2001-01-08Remove description of removed code.Paul Janzen
2001-01-05correct incorrect correction; Paul Janzen <pjanzen@foatdi.harvard.edu>Todd T. Fries
2001-01-04spelling; $OpenBSD$Todd T. Fries
2001-01-04spellingTodd T. Fries
2001-01-04comment grammarTodd T. Fries
2001-01-04grammarTodd T. Fries
2001-01-04spellingTodd T. Fries
2000-12-21Eliminate tbl and groff warnings: ru@freebsd.Paul Janzen
2000-12-21grammar and accuracyPaul Janzen
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-09-26Improve handling of multiple commands on one line. Tidy fight parser.Paul Janzen
Handle "all" in one place (almost). Add AUXVERB category and OBJ_PERSON/ OBJ_NONOBJ flags. Most was discussed with jsm@netbsd.org, and some is from him.
2000-09-26No shell escapePaul Janzen
2000-09-24hyphenatePaul Janzen
2000-09-24numerous changes from jsm@netbsd.org:Paul Janzen
static where appropriate, add a few comments, format a bit better, and deal with WEIGHT/CUMBER being zero (and not less).
2000-09-23drop adjectives in parse(), since they're never used.Paul Janzen
tidy a little. fix love() a bit. From conversations with jsm@netbsd.org: Add objflags[] to deal with plurals and a/an usage. Commas don't mean AND if followed by a verb. Check for object presence before trying to lift or eat it.
2000-09-23die() if stdin disappears, rather than just exiting; jsm@netbsd.org.Paul Janzen
dump the end of the buffer if an input line was too long.
2000-09-23off by one; jsm@netbsd.orgPaul Janzen
2000-09-21formatting; from NetBSDPaul Janzen
2000-09-21Fix -W warnings and add room number comments; jsm@netbsd.orgPaul Janzen
2000-09-17Fewer segfaults ("take all and all", "wear wear"), better parsingPaul Janzen
(e.g. disambiguation of "drop body"). Also, use "a" or "an" correctly, don't overflow the words array, and don't kick items you're wearing.
2000-09-08bools should only be TRUE or FALSE. Negative numbers are right out.Paul Janzen
2000-08-20correct Bloom County quotePaul Janzen
2000-08-05Remove a little redundant and slightly wrong codePaul Janzen