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

Function closeConstructionWindows

src/OpenLoco/src/Ui/WindowManager.cpp:1108–1114  ·  view source on GitHub ↗

0x004A0AB0

Source from the content-addressed store, hash-verified

1106
1107 // 0x004A0AB0
1108 void closeConstructionWindows()
1109 {
1110 close(WindowType::construction);
1111 close(WindowType::companyFaceSelection);
1112 ToolManager::toolCancel();
1113 Windows::Construction::resetGhostVisibilityFlags();
1114 }
1115
1116 // 0x004BF089
1117 void closeTopmost()

Callers 10

handleInputFunction · 0.85
onMouseUpFunction · 0.85
openAtTrackFunction · 0.85
openAtRoadFunction · 0.85
openWithFlagsFunction · 0.85
exportGameStateToFileFunction · 0.85
importSaveToGameStateFunction · 0.85
resetFunction · 0.85
loadFunction · 0.85
startFunction · 0.85

Calls 3

closeFunction · 0.70
toolCancelFunction · 0.70

Tested by

no test coverage detected