summaryrefslogtreecommitdiffstats
path: root/hunt
Commit message (Collapse)AuthorAgeFilesLines
...
* remove stubbed-out functiondholland2014-03-293-53/+7
|
* Rip out the code that broadcasts talk requests to the localdholland2014-03-297-707/+7
| | | | | | | | | | | | | | | | | | | | | | hunt-players mailing list. In this day and age it doesn't even begin to work: even if you were to have such a mailing list locally, sendmail wouldn't expand it for you, the addresses you got back wouldn't be talk-requestable addresses, talk requests don't cross NAT or firewalls safely, talk doesn't support ipv6, and nobody runs talkd anyway. It doesn't make sense to try to replace it with some other kind of notify scheme either; there might still be a multiuser machine somewhere with enough simultaneous users that broadcasting something akin to talk requests locally might make sense, and where a nontrivial number of the users actually play hunt, but probably not, and if so those users are likely to be better off using wall(1) anyway. Nowadays games will be set up by looking for people in chat or by emailing or texting friends. Theoretically someone could set up an internet hunt metaserver for finding hunt games, but that would be something entirely different anyway and I doubt there's demand.
* Remove empty header file.dholland2014-03-296-50/+9
|
* Use setproctitle() instead of handrolled version.dholland2014-03-292-26/+7
|
* Make the code for issuing talk requests to find players actually build.dholland2014-03-296-45/+55
|
* don't declare own boolean typedholland2014-03-299-128/+120
|
* use random(), not a handrolled 16-bit generatordholland2014-03-291-12/+4
|
* Use getaddrinfo() instead of gethostbyname().dholland2014-03-291-7/+23
|
* typo in error messagedholland2014-03-291-3/+3
|
* constdholland2014-03-291-4/+4
|
* simplify silly logicdholland2014-03-291-14/+11
|
* If you are going to use memcpy instead of struct assignment, then atapb2014-03-281-3/+3
| | | | | least use sizeof(the correct variable). The use of memcmp to test two pointers for equality, one line earlier, is also weird but may be correct.
* fix unused variable warningschristos2013-10-191-7/+3
|
* Fix sendmail section (8 -> 1) in xrefs.njoly2013-07-091-4/+4
|
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-011-4/+4
|
* NULL does not need a castplunky2011-08-314-18/+17
|
* #if 0 some unused code.joerg2011-05-231-2/+7
|
* Don't use variables as format string.joerg2011-05-231-4/+4
|
* avoid unnecessary cast (hi wiz)dholland2011-01-051-5/+6
|
* Fix realloc error. Found by cppcheck.wiz2011-01-051-3/+7
|
* When using -lcurses, you also need -lterminfo.he2010-02-061-3/+3
| | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
* Userland now builds and uses terminfo instead of termcap.roy2010-02-031-2/+2
| | | OK: core@, jdc@
* u_int32_t -> uint32_tdholland2009-08-273-13/+13
|
* sprinkle static and prune some dead codedholland2009-08-128-87/+74
|
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-046-109/+20
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-045-346/+14
| | | | | 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.)
* Remove config for the return type of signal handlers, which is also adholland2009-07-046-37/+36
| | | long-dead issue.
* Remove references to config #defines for the thoroughly obsoletedholland2009-07-043-22/+9
| | | 4.2BSD syslog API.
* more whitespacedholland2009-07-041-3/+3
|
* Various minor fixes, mostly from OpenBSD.dholland2009-07-041-51/+83
|
* Notes on the protocol used by hunt, from OpenBSD.dholland2009-07-041-0/+272
|
* Whitespace.dholland2009-07-044-615/+615
|
* Whitespace.dholland2009-07-0417-1123/+1134
|
* Sigh, more of the same (missed two)dholland2009-07-041-3/+3
|
* __attribute__((__noreturn__)) -> __deaddholland2009-07-041-5/+5
|
* ANSIfy function declarations.dholland2009-07-0416-297/+152
|
* Remove two more bogus casts. These *do* create object diffs on amd64,dholland2009-07-041-4/+4
| | | for no clear reason, but it looks like the diffs are harmless.
* Remove bogus casts. Two object file diffs inspected and found to be harmless.dholland2009-07-043-20/+19
|
* Remove a pile of bogus casts. One object file diff, crosschecked anddholland2009-07-048-43/+43
| | | found harmless.
* sprintf -> snprintfdholland2009-06-287-43/+58
|
* Fix possible remote DoS of a running hunt game, and prevent a possibledholland2009-06-281-3/+9
| | | theoretical attack involving >= 1 billion ammo.
* Fix preamblejoerg2009-03-111-1/+2
|
* Fix markupjoerg2009-03-111-3/+4
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
| | | next curses call
* clean for WARNS=4dholland2008-01-289-64/+61
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-153-14/+14
|
* PR/18906: roskens at elfin dot net: misc. select() to poll() updates.elad2006-10-071-5/+5
| | | Adapted to -current by myself, thanks for the patch!
* change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg2006-05-093-11/+11
| | | socklen_t are different signness.
* Coverity CID 1443: Prevent static overrun.christos2006-03-191-4/+6
|
* add more "ifdef notdef" around unused sections - addresses Coverity CID 564abs2006-03-171-2/+6
|