89 static float lastvalue;
90 static bool lastvalue_set;
93 lastvalue_set =
false;
99 lastvalue =
cos(a) * b;
100 lastvalue_set =
true;
114 #ifdef USE_PRANDOM_DEBUG
139 #ifdef USE_PRANDOM_DEBUG
144 #ifdef USE_PRANDOM_DEBUG
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))
ERASEABLE void RandomSelection_Add(entity e, float f, string s, vector v, float weight, float priority)
ERASEABLE void RandomSelection_Init()
ERASEABLE void DistributeEvenly_Init(float amount, float totalweight)
float DistributeEvenly_totalweight
float DistributeEvenly_amount
void psrandom(float seed)
ERASEABLE float DistributeEvenly_GetRounded(float weight)
ERASEABLE float DistributeEvenly_Get(float weight)
float prandom()
Predictable random number generator (not seeded yet)
ERASEABLE float DistributeEvenly_GetRandomized(float weight)
ERASEABLE float gsl_ran_ugaussian()
Returns a Gaussian random variate, with mean zero and standard deviation sigma 1 From the GNU Scienti...
float RandomSelection_best_priority
float RandomSelection_chosen_float
string RandomSelection_chosen_string
float RandomSelection_totalweight
entity RandomSelection_chosen_ent
vector RandomSelection_chosen_vec