Home | History | Annotate | Download | only in hunt
History log of /src/games/hunt/hunt/playit.c
RevisionDateAuthorComments
 1.25  30-Mar-2014  dholland Use the curses beep function instead of writing a beep to stdout.
 1.24  30-Mar-2014  dholland don't use the preprocessor to rename curses functions, just call them
 1.23  30-Mar-2014  dholland fix off-by-one
 1.22  30-Mar-2014  dholland Instead of #define STDIN 0, use STDIN_FILENO.
 1.21  30-Mar-2014  dholland Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting
64-bit machines.
 1.20  30-Mar-2014  dholland Naming reform for socket pieces, akin to what I did in huntd earlier.
(but not as comprehensive)
 1.19  30-Mar-2014  dholland When indexing an array with a char, cast it to unsigned char, not int,
to not only silence the compiler warning but also get the correct
behavior.
 1.18  29-Mar-2014  dholland Split hunt and huntd's includes, instead of incestuously sharing a pile
of external data and function declarations between the two programs.

Common constants and defines now go in hunt_common.h. Stuff that belongs
only to hunt is in hunt/hunt_private.h. Stuff that belongs only to huntd
is in huntd/hunt.h.

Copy some declarations that are used in both programs under the same
names (but are not actually the same objects) from huntd/hunt.h to
hunt/hunt_private.h. Move others that are only used in hunt. Remove
some entirely unused material, and tidy up standard includes.
 1.17  29-Mar-2014  dholland catch up to huntd changes.
XXX: this needs to stop promiscuously sharing .h files.
 1.16  27-Aug-2009  dholland branches: 1.16.6; 1.16.12;
u_int32_t -> uint32_t
 1.15  12-Aug-2009  dholland sprinkle static and prune some dead code
 1.14  04-Jul-2009  dholland Remove config options for 4.2BSD and 4.3BSD, and associated code. Highly
obsolete, and I doubt most of it still worked anyway.
 1.13  04-Jul-2009  dholland Remove the non-curses screen handling, since it relies on knowing
about various internals of SVR4 curses, old BSD curses, and/or other
unclean things. (Yes, the non-curses handling still used bits of
curses. Fie.)
 1.12  04-Jul-2009  dholland Whitespace.
 1.11  04-Jul-2009  dholland ANSIfy function declarations.
 1.10  04-Jul-2009  dholland Remove bogus casts. Two object file diffs inspected and found to be harmless.
 1.9  28-Jan-2008  dholland clean for WARNS=4
 1.8  27-Jan-2004  jsm branches: 1.8.22;
Remove uses of __P.
 1.7  11-Jun-2003  wiz Merge with v20030416.
 1.6  26-Feb-2003  jdc Make this work on sparc64 (don't use long and assume sizeof(long) = 4).
Tested against a LE32 system (arm).
 1.5  20-Sep-2002  mycroft select() -> poll()
 1.4  20-Oct-1997  lukem FD_ZERO select mask before FD_SET-ing it
 1.3  11-Oct-1997  lukem use err/warn instead of perror
 1.2  10-Oct-1997  lukem Yet Another Monster Commit:
- WARNSify
- getopt returns -1 not EOF
- select() uses an fd_set, not int/long; modify code to use FD_* et al
instead of direct bitwise operations
- in otto.c::look (renamed to ottolook() to prevent name clash), the
case WEST section had a 'goto cont_east', instead of 'goto cont_west'.
(picked up by WARNS=1, because cont_west was an unused label because
of this typo). probably meant that otto got lost in the maze :-/
- deprecate register, convert bcmp() -> memcmp()
 1.1  04-Oct-1997  mrg branches: 1.1.1;
Initial revision
 1.1.1.2  11-Jun-2003  wiz Import of hunt as of 2003-04-16 from ftp://ftp.cgl.ucsf.edu/pub/hunt.shar.Z,
with files moved to proper subdirs.
Changes since 19930717: BSD licensed, and minimal fixes.
 1.1.1.1  04-Oct-1997  mrg hunt version 1993-07-17
 1.8.22.1  23-Mar-2008  matt sync with HEAD
 1.16.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed