summaryrefslogtreecommitdiffstats
path: root/robots/robots.h
Commit message (Collapse)AuthorAgeFilesLines
* sprinkle staticdholland2009-08-121-8/+1
|
* Assorted minor cleanups, no functional change:dholland2009-07-201-21/+10
| | | | | | | | | | - u_int* -> uint* - don't make private typedefs of system structures - use curses TRUE and FALSE only with curses booleans, otherwise true and false; - includes cleanup - group globals in extern.c by functionality Object file diffs inspected.
* Whitespace.dholland2009-07-201-75/+75
|
* ANSIfy. Use __dead. Object diffs checked.dholland2009-07-201-3/+3
|
* Remove uses of __P.jsm2004-01-271-25/+25
|
* Include <sys/endian.h>.jsm2004-01-271-1/+2
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Be more verbose about teleports, and fix a minor problem in autobot mode.christos2002-01-311-2/+3
|
* Fix uses of namespaces reserved by ISO C or POSIX.1.jsm1999-09-301-1/+2
|
* Fix -Wsign-compare warnings.jsm1999-09-181-2/+4
|
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-2/+3
| | | | | | | | | | | | | | | Games which run setgid from dm, but don't need to, should drop their privileges at startup. Games which have a scorefile should open it at startup, then drop all privileges leaving just the open writable file descriptor. If the game can invoke subprocesses, this should be made close-on-exec. Games with scorefiles should make sure they do not get a file descriptor < 3. (Otherwise, they could get confused and corrupt the scorefile when using stdin, stdout or stderr.) Some old setuid revokes from the days of setuid games change into gid revokes.
* Add use of `const' where appropriate to the games.jsm1999-09-081-5/+5
| | | | | | | | | This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* Add missing prototypeschristos1999-05-161-1/+2
|
* Add -A for automatic playing mode.christos1999-05-151-8/+10
| | | Make the score file MI
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-2/+2
|
* deprecate bzero, rindex, etc. use symbolic constants in open()lukem1997-10-121-1/+2
|
* WARNSifylukem1997-10-121-9/+39
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-1/+2
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up importcgd1995-04-221-11/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* Make CTRL() ANSI-compliant.mycroft1993-04-231-1/+1
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+110