3 float RandomSelection_totalweight;
4 float RandomSelection_best_priority;
5 entity RandomSelection_chosen_ent;
6 float RandomSelection_chosen_float;
7 string RandomSelection_chosen_string;
9 void RandomSelection_Init();
10 void RandomSelection_Add(entity e, float f, string s, float weight, float priority);
12 // prandom - PREDICTABLE random number generator
20 void psrandom(float seed);
21 #ifdef USE_PRANDOM_DEBUG
24 #define prandom_debug()
27 #define prandom random
28 #define prandomvec randomvec
30 #define prandom_debug()