4 float RandomSelection_totalweight;
5 float RandomSelection_best_priority;
6 entity RandomSelection_chosen_ent;
7 float RandomSelection_chosen_float;
8 string RandomSelection_chosen_string;
10 void RandomSelection_Init();
11 void RandomSelection_Add(entity e, float f, string s, float weight, float priority);
13 // prandom - PREDICTABLE random number generator
21 void psrandom(float seed);
22 #ifdef USE_PRANDOM_DEBUG
25 #define prandom_debug()
28 #define prandom random
29 #define prandomvec randomvec
31 #define prandom_debug()