summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2002-07-28Tidy the code, follow the rules more closely (and document where we diverge),Paul Janzen
and make save files work. The last stops a number of segfaults.
2002-07-26give it some healthy dosage of vitamin constMichael Shalayeff
2002-07-26put to the -Wall an unused variableMichael Shalayeff
2002-07-26The elusive original author of this program and man page surfaced long enoughPaul Janzen
to state the following, when asked about licensing issues: "It's ok to put any copyright as long as it stays in the public domain. ... Since I did not write it to make any profit or fame in the first place, I guess its use is not limited by any license. Of course I would not object to my name being mentioned." Then he disappeared again. So I've put on a current copyright to him, and labelled the code explicitly as public domain.
2002-07-26add classic mode, closer to the way tetris felt a couple decades ago; ↵Michael Shalayeff
pjanzen@ ok
2002-07-26\a rather than embedded ^GPaul Janzen
2002-07-26Theo pointed out a vsnprintf() whose return value was being usedPaul Janzen
inappropriately.
2002-07-26A few better buffer sizes (from Ian McWilliam, long ago); functions localPaul Janzen
to save.c are no longer in rogue.h; use write() to save files rather than fwrite() since this can end up being called in a signal handler (it's still not clean though).
2002-07-26indentPaul Janzen
2002-07-26We're in curses, so use getch() rather than getchar().Paul Janzen
2002-07-18- string handling patch from David Holland, minimally modified. HighlightsPaul Janzen
are fewer magic constants, sprintf->snprintf, and better scorefile handling. Also, won't hang if forking a subshell fails. - a few needless functions have been trimmed, and a few extra defaults have been added to a few switches, just in case.
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-11no more err(3) newlines in games; ok pjanzen@Jason Peel
2002-05-31de-autoPaul Janzen
2002-05-31crmode -> cbreakPaul Janzen
2002-05-31de-registerPaul Janzen
2002-05-31No dm -> games with high score files etc. must explicitly be setgid games.Paul Janzen
2002-05-31No dm -> no need to revoke setegid.Paul Janzen
2002-05-24fix name, ok deraadtPeter Stromberg
2002-05-23The troll strikes.. The troll strikes.. The dungeon master ↵Theo de Raadt
dies.distrib/sets/lists
2002-05-11Add missing libraries to bsd.prog.mk (mostly kerberosV)Marc Espie
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@
2002-05-06do not install a SIGSEGV handlerTodd C. Miller
2002-04-20machine/limits.h is not userland. Use limits.hMarc Espie
ok millert@
2002-04-02sync with reality; Sam Smith <S@mSmith.net>Paul Janzen
2002-02-25fix buffer overflow in scanf; found by pjanzenPeter Valchev
2002-02-25handle EOF gracefully; ok pjanzenPeter Valchev
2002-02-24getchar fixes; ok pjanzenPeter Valchev
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-18more signed char issuesTheo de Raadt
2002-02-18someone should read compiler messages on the powerpcTheo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16abs() is defined by ANSI C -- don't use a macro for itTodd C. Miller
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.
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
2002-01-07To disable a SIGCHLD signal handler use SIG_DFL, *not* SIG_IGNTodd C. Miller
which now has a different meaning.
2002-01-04Don't longjmp(..., 0)Artur Grabowski
2001-11-19mark signal race, fix half of itTheo de Raadt
2001-11-18move racey shit out of signal handlerTheo de Raadt
2001-11-17move gunk out of signal handlers, now safeTheo de Raadt
2001-11-17Always update the piles before checking score.Paul Janzen
2001-11-17fixes based on ones suggested by mpech@prosoft.org.lvPaul Janzen
2001-11-17fixes from mpech@prosoft.org.lvPaul Janzen
2001-11-17section consistency: AUTHOR -> AUTHORS, even if only one listed;Paul Janzen
mpech@prosoft.org.lv
2001-10-24typo; ericyu@mail2000.com.twTheo de Raadt
2001-09-27missing headerTheo de Raadt
2001-09-20duplicate removal; Seth King <sethking@yahoo.com>Paul Janzen
2001-09-19isplayer -> is_player gets out of <ctype.h> namespace; jsm28@cam.ac.ukPaul Janzen
2001-09-19mdocify and clean upPaul Janzen
2001-09-19occured->occurred; from NetBSD via Mike Pechkin <mpech@prosoft.org.lv>.Paul Janzen
One of these was even in a string that got printed out.