]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/prandom.qh
when a race checkpoint is both start and finish, show the appropriate name
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / prandom.qh
1 // prandom - PREDICTABLE random number generator
2
3 #define USE_PRANDOM
4
5 #ifdef USE_PRANDOM
6 float prandom();
7 vector prandomvec();
8
9 void psrandom(float seed);
10 #ifdef USE_PRANDOM_DEBUG
11 void prandom_debug();
12 #else
13 #define prandom_debug()
14 #endif
15 #else
16 #define prandom random
17 #define prandomvec randomvec
18 #define psrandom(x)
19 #define prandom_debug()
20 #endif