57 if (weight <= 0)
return 0;
68 if (weight <= 0)
return 0;
92 return sigma *
sin(a) * b;
106 #ifdef USE_PRANDOM_DEBUG 131 #ifdef USE_PRANDOM_DEBUG 136 #ifdef USE_PRANDOM_DEBUG
float RandomSelection_totalweight
vector RandomSelection_chosen_vec
string RandomSelection_chosen_string
ERASEABLE void RandomSelection_Init()
float DistributeEvenly_totalweight
ERASEABLE float gsl_ran_gaussian(float sigma)
float RandomSelection_chosen_float
float gsl_ran_gaussian_lastvalue
ERASEABLE float DistributeEvenly_Get(float weight)
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
entity RandomSelection_chosen_ent
float gsl_ran_gaussian_lastvalue_set
void psrandom(float seed)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ERASEABLE void DistributeEvenly_Init(float amount, float totalweight)
ERASEABLE float DistributeEvenly_GetRandomized(float weight)
float DistributeEvenly_amount
float RandomSelection_best_priority
ERASEABLE void RandomSelection_Add(entity e, float f, string s, vector v, float weight, float priority)