MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / setElements

Function setElements

src/OpenLoco/src/Map/TileManager.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 void setElements(std::span<TileElement> elements)
139 {
140 std::ranges::copy(elements, _elements.begin());
141 TileManager::updateTilePointers();
142 }
143
144 // Note: Must be past the last tile flag
145 static void markElementAsFree(TileElement& element)

Callers 1

importSaveToGameStateFunction · 0.85

Calls 2

updateTilePointersFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected