MCPcopy Create free account
hub / github.com/crawl/crawl / subgenerator

Method subgenerator

crawl-ref/source/random.cc:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 subgenerator::subgenerator(uint64_t seed, uint64_t sequence)
84 : current(seed, sequence),
85 previous(_sub_generator),
86 previous_main(_generator)
87 {
88 _generator = rng::SUB_GENERATOR;
89 _sub_generator = &current;
90 }
91
92 subgenerator::~subgenerator()
93 {

Callers

nothing calls this directly

Calls 1

get_uint64Function · 0.85

Tested by

no test coverage detected