Home | History | Annotate | Download | only in adventure
History log of /src/games/adventure/wizard.c
RevisionDateAuthorComments
 1.17  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.16  12-Oct-2012  dholland fix previous, thanks asau@
 1.15  12-Oct-2012  dholland Pass -Wstrict-overflow.
 1.14  25-Aug-2009  dholland branches: 1.14.6; 1.14.12;
Whn ths cd ws wrttn, thr ws bt shrtg nd vwls wr xtrml xpnsv. Nowadays,
however, we have an ample vowel budget, and bit shortages are a thing
of the past (even in a down economy) so spend a bit to improve
readability.
 1.13  12-Aug-2009  dholland sprinkle static
 1.12  01-Jul-2005  jmc KNF and WARNS=3
 1.11  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.
 1.10  16-Jul-1999  hubertf 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>
 1.9  10-Feb-1999  hubertf The game adventure(6) handles EOF on standard input rather
ungracefully. The patch, derived from OpenBSD, improves this
handling.

Sent in in PR 6556 by Joseph Myers <jsm28@cam.ac.uk>.
 1.8  24-Aug-1998  hubertf Kill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>.
 1.7  24-Jul-1998  hubertf Consider leap years, as per PR 5830 by Joseph Myers <jsm28@cam.ac.uk>
 1.6  11-Oct-1997  lukem KNFify
 1.5  10-Oct-1997  lukem deprecate register, fixup .Nm usage
 1.4  11-Aug-1997  christos PR/3964: Eric Fischer: Remove dependencies to traditional cpp...
While I was there add WARNS?= too.
 1.3  24-Apr-1995  cgd Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
 1.2  21-Mar-1995  cgd clean up RCS ids
 1.1  21-Oct-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  21-Oct-1994  jtc adventure(6), from 44lite
 1.14.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.14.6.1  30-Oct-2012  yamt sync with head

RSS XML Feed