summaryrefslogtreecommitdiff
path: root/games/worm/worm.c
AgeCommit message (Expand)Author
2015-08-17remove cpp abusedholland
2011-05-23ANSIfyjoerg
2009-08-12sprinkle staticdholland
2008-08-08if initscr() fails, exit with a message rather than crash in thedrochner
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2004-01-27Remove uses of __P.jsm
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2001-12-06Change deprecated curses function to new equivalent.blymn
2001-08-31Keep track of visible worm length. If nowhere is available for thejsm
2001-08-30Check for screen sizes that are too small. Fix off-by-one error injsm
2001-08-29Remove documented bug with long worm lengths, and improve handling ofjsm
2000-05-08Use setgid(), not setregid().mycroft
2000-01-09Use err(1, NULL) and warn(NULL) for `out of memory' error messages.jsm
1999-10-26support arrow keys.cgd
1999-09-12Security improvements for games (largely from or inspired by OpenBSD).jsm
1999-09-09Check for failure of malloc() and calloc() at various places in the games.jsm
1999-09-08Add `__noreturn__' and `__unused__' attributes where appropriate tojsm
1999-09-08Add use of `const' where appropriate to the games.jsm
1999-08-10Leave ^Z-handling to the system (curses? no idea, at least it works :-),hubertf
1999-08-08Print score after endwin() so it isn't deleted immediately afterward.hubertf
1999-07-28This patch makes worm(6) keep the cursor on the head of the worm.hubertf
1998-09-13mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf
1997-10-12WARNSifylukem
1995-04-29Remove incorrect (but unused) definition of baudrate().mycroft
1995-04-24Various changes to make games compile w/o warnings on the alpha:cgd
1995-04-22clean up import, fix up Idscgd
1993-12-03Restructure a switch to eliminate a compiler warning.mycroft
1993-08-10Compare baudrate() with 1200, not B1200.mycroft
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd