summaryrefslogtreecommitdiff
path: root/games/battlestar
AgeCommit message (Collapse)Author
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2005-05-01use setresgid() to drop privs, it is simply a better and less ambiguous API;Damien Miller
ok deraadt@ and millert@ a while ago, more to come
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2004-02-03ourtime should match prototype in extern.h 'change globals.h' deraad@Dale Rahn
2003-09-26check strdup for error. based on report from Jared Yanovich. ok deraadt@Ted Unangst
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-19NetBSD check to make sure not to deref -1.Paul Janzen
2003-04-23some typos, and clarification of game rules;Jason McIntyre
help, suggestions and ok pjanzen@
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
good enough for games but we should at least use a decent seed. pjanzen@ OK
2002-05-31crmode -> cbreakPaul Janzen
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.Paul Janzen
2002-05-23The troll strikes.. The troll strikes.. The dungeon master ↵Theo de Raadt
dies.distrib/sets/lists
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-17section consistency: AUTHOR -> AUTHORS, even if only one listed;Paul Janzen
mpech@prosoft.org.lv
2001-08-18FormattingPaul Janzen
2001-06-06reorder sections, minor tidying; mpech@prosoft.org.lvPaul Janzen
2001-02-04Format for long usernamesPaul Janzen
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-07-24Rename move() to moveplayer() to avoid clashing with curses;Paul Janzen
from mycroft@netbsd.org
2000-07-03Finding bugs in battlestar is like shooting fish in a barrel.Paul Janzen
Don't overflow beenthere[]. Add "verbose" option. Fix spelling (including embedded hyphens in descriptions) and grammar. "Kill" will now use the laser if you have no cutting implements. Formatting. You can do more things to the bathing goddess. A little less guess-the-word. Occasionally better error messages, particularly with "all" when nothing applies. "kick door" no longer segfaults. Nor does "kill door". More bugs remain...
1999-09-25Merge 4.4BSD-Lite2 and NetBSD, including improved save file handling ofPaul Janzen
jsm28@cam.ac.uk. Rename setbit() family of macros so as not to conflict with <sys/param.h>.
1999-07-31spellingPaul Janzen
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1998-12-15Always provide an argument to .Nm in SYNOPSIS sectionPaul Janzen
1998-09-13NetBSD merge, numerous patches from jsm28@cam.ac.uk, spelling fixes, andPaul Janzen
correct gid revoke.
1998-07-24-lcurses, not termcap/termlibTodd C. Miller
1997-12-16Fix annoying warnings.Angelos D. Keromytis
1997-09-21$OpenBSD$Theo de Raadt
1997-09-01Don't try to write to a NULL file pointer whne updating high score listTodd C. Miller
(happens if scores file is not writable).
1997-09-01Remove trailing spaces on lines, use sane pathname sizes, andTodd C. Miller
use warn instead of perror.
1997-08-24various linux-based patches; from linux people; sent by jsm@octomino.demon.co.ukTheo de Raadt
1997-07-23tabifykstailey
1997-06-30tagkstailey
1997-06-30fix highscorekstailey
1997-01-27Fallout from signal.h's inclusion of sys/time.h...Todd C. Miller
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1996-10-27Don't make size assumptions wrt $HOMETodd C. Miller
1996-06-16ncurses: ERR -> NULLJason Downs
1996-06-02Always use -ltermlib when linking with -lcursesThorsten Lockert
Depend on LIBTERMCAP and LIBTERMLIB as appropriate
1995-10-18initial import of NetBSD treeTheo de Raadt