X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=mathlib.h;h=0acb9500627fc2e3aa20f3c20f83c304e05273d3;hb=0d6d8fba703c8c859936a7ebfe5d625ff5ed879d;hp=f32e409824d8e7a5c91dcd342695e9628d190bbe;hpb=2af7bf1a4eb9a5c9a1cfe76f9f8690523bafbd3e;p=xonotic%2Fdarkplaces.git diff --git a/mathlib.h b/mathlib.h index f32e4098..0acb9500 100644 --- a/mathlib.h +++ b/mathlib.h @@ -311,12 +311,12 @@ typedef struct randomseed_s randomseed_t; void Math_RandomSeed_Reset(randomseed_t *r); -void Math_RandomSeed_FromInt(randomseed_t *r, unsigned int n); +void Math_RandomSeed_FromInts(randomseed_t *r, unsigned int s0, unsigned int s1, unsigned int s2, unsigned int s3); unsigned long long Math_rand64(randomseed_t *r); float Math_randomf(randomseed_t *r); float Math_crandomf(randomseed_t *r); float Math_randomrangef(randomseed_t *r, float minf, float maxf); -int Math_randomrangei(randomseed_t *r, int min, int max); +int Math_randomrangei(randomseed_t *r, int mini, int maxi); void Mathlib_Init(void);