MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Tools_RandomLCG_Seed

Function Tools_RandomLCG_Seed

src/tools.c:270–273  ·  view source on GitHub ↗

* Set the seed for the LCG randomizer. */

Source from the content-addressed store, hash-verified

268 * Set the seed for the LCG randomizer.
269 */
270void Tools_RandomLCG_Seed(uint16 seed)
271{
272 s_randomLCG = seed;
273}
274
275/**
276 * Get a random value from the LCG.

Callers 3

OpenDune_InitFunction · 0.85
Mouse_SetMouseModeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected