(no title)
stnmtn | 1 year ago
// our RNG is basically shit -- horribly nonrandom at the start of the sequence.
// get a few values at random to get rid of the dreck.
// there's no mathematical basis for this, but empirically, it helps a lot.
UnsignedInt silly = GetGameLogicRandomSeed() % 7;
for (Int poo = 0; poo < silly; ++poo)
{
GameLogicRandomValue(0, 1); // ignore result
}
anal_reactor|1 year ago
qingcharles|1 year ago
I'm sad if developers can no longer name their variables poo and fuck.
Also teenage me would probably be horrified finding out 30 years later his source code was public.
mschuster91|1 year ago
I couldn't help but chuckle at your user name when reading this comment
hasley|1 year ago
recursive|1 year ago
herewulf|1 year ago
lofaszvanitt|1 year ago
yobbo|1 year ago
So the RNG doesn't seem great.
account42|1 year ago