by stnmtn · 1y ago · 0 comments
// 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
}
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.
I guess that's why moral rights are unalienable in many countries: if you are horrified what they do with it, you still retain that and this right did not go to your employer
Not that I think there is anything here the devs need to be ashamed of, to be clear, just what came to mind as I read this remark
I couldn't help but chuckle at your user name when reading this comment
Tbf, I chalked it up to a one singular cantankerous reviewer rather than the whole company.
So the RNG doesn't seem great.