MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / seedFor

Method seedFor

source/game/StarWorldTemplate.cpp:570–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570uint64_t WorldTemplate::seedFor(int x, int y) const {
571 return staticRandomU64(m_seed, m_geometry.xwrap(x), y, "Block");
572}
573
574WorldTemplate::WorldTemplate() {
575 auto assets = Root::singleton().assets();

Callers 6

placeBiomeTreeMethod · 0.80
placeBiomeItemsMethod · 0.80
generateMicroDungeonsMethod · 0.80
prepareSectorMethod · 0.80
reapplyBiomeMethod · 0.80
placeDungeonMethod · 0.80

Calls 2

staticRandomU64Function · 0.85
xwrapMethod · 0.45

Tested by

no test coverage detected