MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / HideVitalWindows

Function HideVitalWindows

src/window.cpp:3396–3400  ·  view source on GitHub ↗

Close all always on-top windows to get an empty screen */

Source from the content-addressed store, hash-verified

3394
3395/** Close all always on-top windows to get an empty screen */
3396void HideVitalWindows()
3397{
3398 CloseWindowById(WC_MAIN_TOOLBAR, 0);
3399 CloseWindowById(WC_STATUS_BAR, 0);
3400}
3401
3402void ReInitWindow(Window *w, bool zoom_changed)
3403{

Callers 3

HighScoreWindowMethod · 0.85
ShowEndGameChartFunction · 0.85
GenerateWorldFunction · 0.85

Calls 1

CloseWindowByIdFunction · 0.85

Tested by

no test coverage detected