MCPcopy Create free account
hub / github.com/ZDoom/Raze / Init

Method Init

source/common/engine/m_random.cpp:263–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261//==========================================================================
262
263void FRandom::Init(uint32_t seed)
264{
265 // [RH] Use the RNG's name's CRC to modify the original seed.
266 // This way, new RNGs can be added later, and it doesn't matter
267 // which order they get initialized in.
268 SFMTObj::Init(NameCRC, seed);
269}
270
271//==========================================================================
272//

Callers 1

StaticClearRandomMethod · 0.45

Calls 1

InitFunction · 0.85

Tested by

no test coverage detected