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

Function invalidateTree

src/OpenLoco/src/Map/TreeElement.cpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 static void invalidateTree(TreeElement& elTree, const World::Pos2 loc)
135 {
136 Ui::ViewportManager::invalidate(loc, elTree.baseHeight(), elTree.clearHeight(), ZoomLevel::eighth, 56);
137 }
138
139 // 0x004BD52B
140 bool updateTreeElement(TreeElement& elTree, const World::Pos2 loc)

Callers 1

updateTreeElementFunction · 0.85

Calls 3

baseHeightMethod · 0.80
clearHeightMethod · 0.80
invalidateFunction · 0.50

Tested by

no test coverage detected