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

Function invalidate

src/OpenLoco/src/Ui/WindowManager.cpp:294–305  ·  view source on GitHub ↗

0x004CB966

Source from the content-addressed store, hash-verified

292
293 // 0x004CB966
294 void invalidate(WindowType type)
295 {
296 for (auto& w : _windows)
297 {
298 if (w.type != type)
299 {
300 continue;
301 }
302
303 w.invalidate();
304 }
305 }
306
307 // 0x004CB966
308 void invalidate(WindowType type, WindowNumber_t number)

Callers 15

getStationArgumentsFunction · 0.70
capSizeMethod · 0.70
viewportRotateMethod · 0.70
claimSurfaceForIndustryFunction · 0.50
updateTownInfoFunction · 0.50
updateMonthlyFunction · 0.50
updateDailyMethod · 0.50
updateDailyPlayerMethod · 0.50
companySetObservationFunction · 0.50
updateOwnerEmotionMethod · 0.50

Calls 1

invalidateMethod · 0.45

Tested by

no test coverage detected