]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/client/prandom.qc
make TE_CSQC_INIT and TE_CSQC_SCORESINFO shared entities. Should fix their issues...
[divverent/nexuiz.git] / data / qcsrc / client / prandom.qc
1 // prandom - PREDICTABLE random number generator (not seeded yet)
2
3 //float prandom_seed;
4 float prandom()
5 {
6         return random();
7 //      float c;
8 //      c = crc16(FALSE, strcat(ftos(prandom_seed), ftos(prandom_seed + 3.1415926535)));
9 //      prandom_seed = c;
10 //      return c / 65536; // in [0..1[
11 }