History log of /netbsd/games/hunt/hunt/playit.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 6db346a2 30-Mar-2014 dholland <dholland@NetBSD.org>

Use the curses beep function instead of writing a beep to stdout.


# 8a10ca78 30-Mar-2014 dholland <dholland@NetBSD.org>

don't use the preprocessor to rename curses functions, just call them


# 3316770a 30-Mar-2014 dholland <dholland@NetBSD.org>

fix off-by-one


# 978477fc 30-Mar-2014 dholland <dholland@NetBSD.org>

Instead of #define STDIN 0, use STDIN_FILENO.


# a4a1b9dc 30-Mar-2014 dholland <dholland@NetBSD.org>

Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting
64-bit machines.


# ca5d861d 30-Mar-2014 dholland <dholland@NetBSD.org>

Naming reform for socket pieces, akin to what I did in huntd earlier.
(but not as comprehensive)


# 50b357cc 30-Mar-2014 dholland <dholland@NetBSD.org>

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.


# 09d8e77c 29-Mar-2014 dholland <dholland@NetBSD.org>

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. Stu

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.

show more ...


# 276cb4dd 29-Mar-2014 dholland <dholland@NetBSD.org>

catch up to huntd changes.
XXX: this needs to stop promiscuously sharing .h files.


# 9ac5061b 27-Aug-2009 dholland <dholland@NetBSD.org>

u_int32_t -> uint32_t


# 75b3905d 12-Aug-2009 dholland <dholland@NetBSD.org>

sprinkle static and prune some dead code


# 81eafd78 04-Jul-2009 dholland <dholland@NetBSD.org>

Remove config options for 4.2BSD and 4.3BSD, and associated code. Highly
obsolete, and I doubt most of it still worked anyway.


# 57ba7791 04-Jul-2009 dholland <dholland@NetBSD.org>

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

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.)

show more ...


# cb89af2b 04-Jul-2009 dholland <dholland@NetBSD.org>

Whitespace.


# fbca3d8c 04-Jul-2009 dholland <dholland@NetBSD.org>

ANSIfy function declarations.


# 07f4ebf0 04-Jul-2009 dholland <dholland@NetBSD.org>

Remove bogus casts. Two object file diffs inspected and found to be harmless.


# 733dc966 28-Jan-2008 dholland <dholland@NetBSD.org>

clean for WARNS=4


# cb5fd834 27-Jan-2004 jsm <jsm@NetBSD.org>

Remove uses of __P.


# 11967175 11-Jun-2003 wiz <wiz@NetBSD.org>

Merge with v20030416.


# e5c039ad 26-Feb-2003 jdc <jdc@NetBSD.org>

Make this work on sparc64 (don't use long and assume sizeof(long) = 4).
Tested against a LE32 system (arm).


# e92308f2 20-Sep-2002 mycroft <mycroft@NetBSD.org>

select() -> poll()


# 3b2e6e24 20-Oct-1997 lukem <lukem@NetBSD.org>

FD_ZERO select mask before FD_SET-ing it


# ff943cc8 11-Oct-1997 lukem <lukem@NetBSD.org>

use err/warn instead of perror


# 544a5e33 10-Oct-1997 lukem <lukem@NetBSD.org>

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 (ren

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()

show more ...


# 4052d13d 04-Oct-1997 mrg <mrg@NetBSD.org>

hunt version 1993-07-17