summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2002-11-10SEE ALSO reordering; pjanzen ok.Federico G. Schwindt
2002-10-23Remove redefinition of NULL; pjanzen@ OKTodd C. Miller
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-08-09Get rid of remaining __P usage (except for imported code);Jason Peel
ok millert@, rogue ok pjanzen@
2002-08-09Only target in the playing field when using mouse.Paul Janzen
2002-08-09Fix an error in the CPU random fire routine that could cause a segfault.Paul Janzen
2002-08-09Bug fix in random placement code from Erik Sigra.Paul Janzen
2002-07-30Replace the "blows chunks" algorithm with pubeval, a public domain algorithmPaul Janzen
which plays an acceptable, if not optimal, game. pubeval author approves.
2002-07-30ansi wump, plus a more accurate commentPaul Janzen
2002-07-30Kill buffer overflow.Paul Janzen
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