summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2003-04-27strcpy -> strlcpyThierry Deval
2003-04-25string cleanup; ok millertTheo de Raadt
2003-04-25comment repairTheo de Raadt
2003-04-25strings... ok tedu@, millert@Thierry Deval
2003-04-25strings... ok henning@, millert@, tedu@Thierry Deval
2003-04-23some typos, and clarification of game rules;Jason McIntyre
help, suggestions and ok pjanzen@
2003-04-10more POSIX chownTodd C. Miller
2003-04-10more POSIX chown; Leandro CostaTodd C. Miller
2003-04-08Use POSIX chown semantics (user:group); noted by Leandro CostaTodd C. Miller
2003-04-08string cleaning; ok pjanzenTheo de Raadt
2003-04-08Change remaining strcpy -> strlcpy; noticed by TheoTodd C. Miller
2003-04-07Change wd1 and wd2 from pointers to arrays. This removes the needTodd C. Miller
for getin() to have static buffers and allows us to do "sizeof wd1". Also fix saved game path. It was removing the first 2 chars of the filename due to a bug. tdeval@ OK
2003-04-07strlcpy -- ok tedu@, deraadt@, millert@Thierry Deval
2003-04-07Make copy() take an extra suffix argument so we don't need to catTodd C. Miller
it on later. tdeval@ OK
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
already, but he may have later changes to make still.
2003-03-17knock these games out, i hope the licenses are fixedTheo de Raadt
2003-03-16hack is freeCamiel Dobbelaar
Thanks to Andries Brouwer, Jay Fenlason and the folks at CWI for their efforts. http://www.cwi.nl/~aeb/games/hack/hack.html ok deraadt@
2003-03-11OK, this is a strange case. At least some parts of this software isTheo de Raadt
copyrighted, and then marked "Copying for Profit is Prohibited", but the author has passed away. A number of people have tried to make some sort of effort at trying to contact his estate, and have failed. Therefore, lacking the ability to correct this copyright, we must delete it. I would bet strongly that this is not what the author would have intended, but until we can get this resolved, this is the action we must take.
2003-03-11double words and spelling fixesDavid Krause
ok pjanzen@
2003-03-06broken .Xr's;Jason McIntyre
typos, rather than dead references ok deraadt@
2003-01-17Typos, two from Michael Knudsen <e at molioner.dk>Camiel Dobbelaar
ok pjanzen
2002-12-16support ppt decoding w/ lots of help from pjanzen@Michael Shalayeff
2002-12-09fix va_end; openbsd@davidkrause.comTheo de Raadt
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-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