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

Method setBackgroundMod

source/game/StarDungeonGenerator.cpp:998–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

996 }
997
998 void DungeonGeneratorWriter::setBackgroundMod(Vec2I const& position, ModId mod, MaterialHue hueshift) {
999 m_backgroundMod[position] = {mod, hueshift};
1000 markPosition(position);
1001 }
1002
1003 bool DungeonGeneratorWriter::needsForegroundBiomeMod(Vec2I const& position) {
1004 if (!m_foregroundMaterial.contains(position))

Callers 2

paintMethod · 0.45
flushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected