summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/playit.c
Commit message (Collapse)AuthorAgeFilesLines
* Get all the games compiling for iOSCameron Katri2021-02-221-0/+1
|
* Use the curses beep function instead of writing a beep to stdout.dholland2014-03-301-3/+3
|
* don't use the preprocessor to rename curses functions, just call themdholland2014-03-301-23/+20
|
* fix off-by-onedholland2014-03-301-3/+3
|
* Instead of #define STDIN 0, use STDIN_FILENO.dholland2014-03-301-6/+5
|
* Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.dholland2014-03-301-4/+8
| | | | Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines.
* Naming reform for socket pieces, akin to what I did in huntd earlier.dholland2014-03-301-10/+10
| | | (but not as comprehensive)
* When indexing an array with a char, cast it to unsigned char, not int,dholland2014-03-301-3/+3
| | | | to not only silence the compiler warning but also get the correct behavior.
* Split hunt and huntd's includes, instead of incestuously sharing a piledholland2014-03-291-3/+6
| | | | | | | | | | | | 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.
* catch up to huntd changes.dholland2014-03-291-8/+9
| | | XXX: this needs to stop promiscuously sharing .h files.
* u_int32_t -> uint32_tdholland2009-08-271-6/+6
|
* sprinkle static and prune some dead codedholland2009-08-121-3/+4
|
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-041-28/+4
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-041-190/+4
| | | | | 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.)
* Whitespace.dholland2009-07-041-173/+173
|
* ANSIfy function declarations.dholland2009-07-041-15/+12
|
* Remove bogus casts. Two object file diffs inspected and found to be harmless.dholland2009-07-041-4/+4
|
* clean for WARNS=4dholland2008-01-281-4/+4
|
* Remove uses of __P.jsm2004-01-271-4/+4
|
* Merge with v20030416.wiz2003-06-111-5/+30
|
* Make this work on sparc64 (don't use long and assume sizeof(long) = 4).jdc2003-02-261-4/+4
| | | Tested against a LE32 system (arm).
* select() -> poll()mycroft2002-09-201-14/+12
|
* FD_ZERO select mask before FD_SET-ing itlukem1997-10-201-2/+3
|
* use err/warn instead of perrorlukem1997-10-111-6/+5
|
* Yet Another Monster Commit:lukem1997-10-101-32/+43
| | | | | | | | | | | - 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()
* hunt version 1993-07-17mrg1997-10-041-0/+628