NetBSD/games
hubertf adf74b1e92 This patch cleans up the handling of the variable `saved' in
adventure(6).  The handling of this variable is somewhat confusing,
since it is used for two different purposes (controlling the time
required before a saved game can be restored, and controlling various
aspects of dwarf behaviour); in fact, it is also declared twice in
hdr.h.  Except possibly when saving a game fails, these uses can never
interfere; when used for controlling dwarf behaviour, we always have
saved == -1.  This can be better understood with reference to the
original PDP-10 FORTRAN source (URL in patch, since hdr.h references
the comments of the FORTRAN as still relevant to this version) of
which the C version is a direct translation: the wrong value for
`saved' meant that someone was cheating and had bypassed normal
initialisation.  Saving was done by halting and telling the user to
save their core image, so the question of carrying on after saving
failed to open the output file did not arise.

This patch separates the uses of `saved' into uses of two separate
variables.

Closes PR 8005 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-16 01:38:20 +00:00
..
adventure This patch cleans up the handling of the variable `saved' in 1999-07-16 01:38:20 +00:00
arithmetic More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
atc man page rewritten into -mandoc by dholland@eecs.harvard.edu; from PR7861 1999-06-27 04:35:42 +00:00
backgammon Fix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk> 1999-07-14 22:46:21 +00:00
banner constify (PR#6151, once more by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-14 09:30:57 +00:00
battlestar From PR 7987 by Joseph Myers <jsm28@cam.ac.uk>: 1999-07-14 17:42:13 +00:00
bcd document morse's decode option -d 1999-01-03 17:12:28 +00:00
boggle From PR 7988 by Joseph Myers <jsm28@cam.ac.uk>: use the symbolic 1999-07-14 17:23:53 +00:00
caesar mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
canfield Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
countmail More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
cribbage convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
dm Const poisoning. 1999-07-14 22:52:07 +00:00
factor mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
fish This patch makes fish(6) honour PAGER for viewing the instructions. 1999-07-14 17:30:21 +00:00
fortune More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
gomoku More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
hack Fix Y2K buffer overflow (from OpenBSD). 1999-04-25 19:08:34 +00:00
hangman fix main() prototype, as per PR#5867 1998-09-11 13:42:03 +00:00
hunt Don't frob the interals of a WINDOW*, use the mvinch() macro. 1999-04-18 03:29:01 +00:00
larn Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
mille defined(attron) does not mean there is a <term.h> 1999-03-29 05:12:39 +00:00
monop convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
morse convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
number fix bug w/ negative numbers, mark non-returning functions (PR#6142+6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:24:57 +00:00
phantasia Remove obsolete header file. Fixes PR bin/6700 by Joseph S. Myers. 1999-01-02 15:47:55 +00:00
pig mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
pom be more precise for PI, as per PR5867 1998-09-11 14:07:04 +00:00
ppt convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
primes convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
quiz convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
rain Remove -lcompat; not needed. 1998-02-04 10:21:12 +00:00
random More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
robots Fixi uninit vars warnings. 1999-05-16 00:15:46 +00:00
rogue s/SETUIDGAME/SETGIDGAME/ - catch up with the rest of the world. 1999-04-05 08:04:48 +00:00
sail initscr() returns a pointer, compare return value with NULL and not 1999-04-18 03:30:12 +00:00
snake convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
tetris Newline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205 1999-03-22 06:12:23 +00:00
trek change: 1999-04-06 04:54:19 +00:00
wargames convert from NOxxx= to MKxxx=no. 1999-02-13 02:54:17 +00:00
worm mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>) 1998-09-13 15:27:25 +00:00
worms Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
wump This patch fixes a -Wcast-qual warning in wump(6). 1999-07-14 22:49:27 +00:00
Makefile hunt isn't "Missing:" anymore ;-) 1997-10-10 09:39:04 +00:00
Makefile.inc install games that need it setgid. 1997-11-20 00:12:30 +00:00