summaryrefslogtreecommitdiffstats
path: root/rogue
Commit message (Collapse)AuthorAgeFilesLines
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0726-178/+74
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Rename a large chunk of the make(1) variables which refer to alukem2003-07-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo Document all of these in bsd.README. This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
* Drop a trailing dot. From jmc@openbsd.wiz2003-04-261-2/+2
|
* The Double-Semi-Colon Police.simonb2003-01-201-3/+3
|
* Add ${MACROS} to ${ROFF} usage to make output readablepooka2003-01-051-2/+2
| | | from jbernard@mines.edu in misc/19685
* - use correctly bounded strings when reloading a saved game. in particular,mrg2002-10-014-27/+32
| | | | | | | do not let the save game file "string length" exceed the amount of space supplied. as noted by <stanojr@iserver.sk> on bugtraq. - minor KNF. tested by simonb.
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-11/+8
|
* New sentences begin on new lines.wiz2002-09-261-7/+10
| | | Patch from Richard Elz, slightly improved by yours truly.
* Make "rogue" build with "WARNS=2". The necessary patches were suppliedtron2002-07-074-16/+17
| | | by David A. Holland in PR bin/17498.
* Change deprecated curses call to new equivalent.blymn2001-12-061-3/+3
|
* Fix pasto. From FreeBSD.wiz2001-08-091-2/+2
|
* Fix for FreeBSD/13278, from FreeBSD:wiz2001-08-091-3/+3
| | | | | | | When a game ends that makes the top 10, the function insert_score in score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file.
* remove duplicate declschristos2001-02-051-5/+1
|
* printf() pedant - do not pass variable alone, use %s.itojun2000-07-101-3/+3
| | | idea from openbsd. after looking at freebsd commit msgs from kris@freebsd.
* More include additions for exit, abs, strcmp, etc.matt2000-07-031-2/+3
|
* Fix doubled 'the'.soren2000-03-131-2/+2
|
* Fix -Wsign-compare warnings.jsm1999-09-181-4/+4
|
* Fix buffer overrun in rogue.jsm1999-09-131-6/+14
|
* Remove rogue's old and bit-rotten cut-down version of curses.jsm1999-09-134-835/+8
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-124-11/+30
| | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes.
* Check for failure of malloc() and calloc() at various places in the games.jsm1999-09-091-2/+6
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-8/+8
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world.abs1999-04-051-2/+2
|
* constify, per PR 6148hubertf1998-11-1020-176/+181
|
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-6/+6
|
* fix prototype, per PR#5867hubertf1998-09-111-2/+3
|
* fix prototypes, per PR#5867hubertf1998-09-112-4/+8
|
* fix prototype of mon_sees(), per PR#5867hubertf1998-09-111-2/+3
|
* const poisoning.mycroft1998-07-273-8/+9
|
* As per PR bin/5806 by Joseph Myers <jsm28@cam.ac.uk>/lash@tellabs.com:hubertf1998-07-212-7/+20
| | | | - Init Random by time, not by pid - Fix lossage with fire-spitting, monster-killing dragons
* Simply include -lcurses instead of -lcurses -ltermcapjtc1998-02-181-3/+3
|
* Remove -lcompat; not neededchristos1998-02-041-3/+3
|
* install games that need it setgid.mrg1997-11-201-1/+2
|
* use CPPFLAGS instead of CFLAGSlukem1997-10-221-2/+2
|
* Better fix for the previous.mycroft1997-10-151-10/+8
|
* make gcc happy on Sparcis1997-10-151-2/+4
|
* WARNSify (not an insignificant task...)lukem1997-10-1225-602/+1139
|
* Use bsd.subdir.mk as appropriate.mycroft1997-10-111-2/+3
|
* NULL => 0 (Arne Juul; PR#3629)pk1997-05-171-4/+4
|
* Sync to 4.4BSD-Lite2tls1997-01-071-2/+3
|
* Use POSIX tty semantics.mycroft1995-04-282-103/+12
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-242-8/+6
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* don't forget to install the docs.cgd1995-04-221-1/+5
|
* clean up import, NetBSD RCS Idscgd1995-04-2230-134/+250
|
* src/games/rogue from Litecgd1995-04-222-0/+845
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* don't -g by defaultcgd1994-04-011-2/+2
|
* new curses updatecgd1993-11-103-15/+17
|
* Use `r+' rather than `a+' when opening score file.mycroft1993-09-231-2/+2
|
* Rewrite special character handling.mycroft1993-08-101-12/+13
|