MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setSeed

Function setSeed

src/Engine/RNG.cpp:63–66  ·  view source on GitHub ↗

* Changes the current seed in use by the generator. * @param n New seed. */

Source from the content-addressed store, hash-verified

61* @param n New seed.
62*/
63void setSeed(uint64_t n)
64{
65 x = n;
66}
67
68/**
69 * Generates a random integer number within a certain range.

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected