summaryrefslogtreecommitdiffstats
path: root/trek/setup.c
Commit message (Collapse)AuthorAgeFilesLines
* Use random() instead of rand(), so we get something like randomdholland2009-05-251-3/+3
| | | | | | | | | numbers out. This changes the "tournament codes"; that is, the same code will give you a different game now from what it used to. (This is because the codes are basically random seeds.) I really really doubt anyone cares about this, especially since the tournament feature appears to be undocumented.
* KNF: brace and comment placement. Object files identical.dholland2009-05-241-31/+18
|
* ANSIfy function declarations. No object file diffs except for two functionsdholland2009-05-241-3/+3
| | | | whose K&R declaration didn't fully match the prototype (char vs. int) and the diff of the disassembly of those looks plausible.
* Avoid hardcoded "too large" constant that caused FPE on the vax.christos2009-03-311-3/+4
| | | XXX: Should pullup to 5.0
* PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpcchristos2008-11-141-3/+6
| | | | On systems where char is unsigned the number of black holes can end up being very large (instead of negative).
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* More include additions for exit, abs, strcmp, etc.matt2000-07-031-2/+3
|
* const poisoninghubertf1999-07-211-5/+5
| | | Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
* Warnsify and remove local implementations of libc functions.christos1997-10-121-21/+27
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-4/+4
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up import, NetBSD RCS IDs, etc.cgd1995-04-221-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+303