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

Method previewExpandBiomeRegion

source/game/StarWorldLayout.cpp:511–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511List<RectI> WorldLayout::previewExpandBiomeRegion(Vec2I const& position, int width) const {
512 auto layerAndCell = findLayerAndCell(position[0], position[1]);
513 auto targetLayer = m_layers[layerAndCell.first];
514
515 auto expandResult = expandRegionInLayer(targetLayer, layerAndCell.second, width);
516
517 return expandResult.second;
518}
519
520String WorldLayout::setLayerEnvironmentBiome(Vec2I const& position) {
521 auto layerAndCell = findLayerAndCell(position[0], position[1]);

Callers 2

expandBiomeRegionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected