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

Method markSpace

source/game/StarWorldGeneration.cpp:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void DungeonGeneratorWorld::markSpace(PolyF const& region) {
214 if (!m_markForActivation)
215 return;
216
217 Logger::debug("Marking poly as dungeon space region: {}", region);
218 m_worldServer->worldTemplate()->addCustomSpaceRegion(region);
219}
220
221void DungeonGeneratorWorld::setForegroundMaterial(Vec2I const& position, MaterialId material, MaterialHue hueshift, MaterialColorVariant colorVariant) {
222 if (ServerTile* tile = m_worldServer->modifyServerTile(position)) {

Callers 1

flushMethod · 0.80

Calls 2

addCustomSpaceRegionMethod · 0.80
worldTemplateMethod · 0.80

Tested by

no test coverage detected