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

Method clearCustomTerrains

source/game/StarWorldTemplate.cpp:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void WorldTemplate::clearCustomTerrains() {
199 m_customTerrainRegions.clear();
200 m_blockCache.clear();
201}
202
203List<RectI> WorldTemplate::previewAddBiomeRegion(Vec2I const& position, int width) {
204 if (auto terrestrialParameters = as<TerrestrialWorldParameters>(m_worldParameters)) {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected