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

Function set

src/OpenLoco/src/Map/TileManager.cpp:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 static void set(TilePos2 pos, TileElement* elements)
226 {
227 const auto index = getTileIndex(pos);
228 _tiles[index] = elements;
229 }
230
231 static std::pair<TileElement*, TileElement*> insertElementPrepareDest(const TilePos2 pos)
232 {

Callers 3

insertElementPrepareDestFunction · 0.85
updateTilePointersFunction · 0.85
BitSetMethod · 0.85

Calls 1

getTileIndexFunction · 0.85

Tested by

no test coverage detected