Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ init
Method
init
library/modules/Random.cpp:96–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
void MersenneRNG::init()
97
{
98
init(Core::getInstance().p->getTickCount(), 20);
99
}
100
101
void MersenneRNG::init(const uint32_t *pseed, unsigned cnt, int twist_cnt)
102
{
Callers
nothing calls this directly
Calls
2
getTickCount
Method · 0.80
init
Function · 0.50
Tested by
no test coverage detected