Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/trek



Module Name:    src
Committed By:   dholland
Date:           Mon May 25 00:37:27 UTC 2009

Modified Files:
        src/games/trek: main.c ranf.c setup.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/games/trek/main.c
cvs rdiff -u -r1.6 -r1.7 src/games/trek/ranf.c
cvs rdiff -u -r1.12 -r1.13 src/games/trek/setup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index