1 //-----------------------------------------------------------------------------
2 //-----------------------------------------------------------------------------
3 // Burtle Prng - Modified. 42iterations instead of 20.
4 // ref: http://burtleburtle.net/bob/rand/smallprng.html
5 //-----------------------------------------------------------------------------
12 typedef struct prng_ctx
{
19 //uint32_t burtle_get( prng_ctx *x );
20 uint32_t burtle_get_mod(prng_ctx
*x
);
21 void burtle_init_mod(prng_ctx
*x
, uint32_t seed
);
22 void burtle_init(prng_ctx
*x
, uint32_t seed
);
24 uint32_t GetSimplePrng(uint32_t seed
);