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

Method Close

src/highscore_gui.cpp:184–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 void Close([[maybe_unused]] int data = 0) override
185 {
186 if (_game_mode != GM_MENU && !_exit_game) ShowVitalWindows();
187
188 if (!_networking && !this->game_paused_by_player) Command<CMD_PAUSE>::Post(PauseMode::Normal, false); // unpause
189
190 this->EndGameHighScoreBaseWindow::Close();
191 }
192
193 void OnPaint() override
194 {

Callers

nothing calls this directly

Calls 1

ShowVitalWindowsFunction · 0.85

Tested by

no test coverage detected