MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / initialize

Function initialize

source/utils/Random.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68{
69
70void initialize()
71{
72 myRandomSeed = static_cast<unsigned long>(std::time(0));
73}
74
75double Double(double min, double max)
76{

Callers 3

startServerMethod · 0.85
startClientMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68