History log of /src/games/trek/setup.c |
Revision | | Date | Author | Comments |
1.13 |
| 25-May-2009 |
dholland | Use random() instead of rand(), so we get something like random 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.
|
1.12 |
| 24-May-2009 |
dholland | KNF: brace and comment placement. Object files identical.
|
1.11 |
| 24-May-2009 |
dholland | ANSIfy function declarations. No object file diffs except for two functions whose K&R declaration didn't fully match the prototype (char vs. int) and the diff of the disassembly of those looks plausible.
|
1.10 |
| 31-Mar-2009 |
christos | Avoid hardcoded "too large" constant that caused FPE on the vax. XXX: Should pullup to 5.0
|
1.9 |
| 14-Nov-2008 |
christos | branches: 1.9.2; PR/39923: Valery Ushakov: trek(6) can spin, consuming 100% CPU on powerpc On systems where char is unsigned the number of black holes can end up being very large (instead of negative).
|
1.8 |
| 07-Aug-2003 |
agc | branches: 1.8.38; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
1.7 |
| 03-Jul-2000 |
matt | More include additions for exit, abs, strcmp, etc.
|
1.6 |
| 21-Jul-1999 |
hubertf | const poisoning
Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
|
1.5 |
| 12-Oct-1997 |
christos | Warnsify and remove local implementations of libc functions.
|
1.4 |
| 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
1.3 |
| 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs, etc.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 22-Apr-1995 |
cgd | src/games/trek from Lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.8.38.1 |
| 01-Apr-2009 |
snj | Pull up following revision(s) (requested by christos in ticket #637): games/trek/help.c: revision 1.9 games/trek/kill.c: revision 1.8 games/trek/schedule.c: revision 1.7 games/trek/setup.c: revision 1.10 games/trek/trek.h: revision 1.12 Avoid hardcoded "too large" constant that caused FPE on the vax.
|
1.9.2.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|