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

Method markRegion

source/game/StarWorldGeneration.cpp:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void DungeonGeneratorWorld::markRegion(RectI const& region) {
196 if (!m_markForActivation)
197 return;
198
199 Logger::debug("Marking {} as dungeon region", region);
200
201 m_worldServer->signalRegion(region);
202 m_worldServer->activateLiquidRegion(region);
203}
204
205void DungeonGeneratorWorld::markTerrain(PolyF const& region) {
206 if (!m_markForActivation)

Callers 1

flushMethod · 0.80

Calls 2

activateLiquidRegionMethod · 0.80
signalRegionMethod · 0.45

Tested by

no test coverage detected