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

Function ResetWindowSystem

src/window.cpp:1895–1900  ·  view source on GitHub ↗

* Reset the windowing system, by means of shutting it down followed by re-initialization */

Source from the content-addressed store, hash-verified

1893 * Reset the windowing system, by means of shutting it down followed by re-initialization
1894 */
1895void ResetWindowSystem()
1896{
1897 UnInitWindowSystem();
1898 InitWindowSystem();
1899 _thd.Reset();
1900}
1901
1902static void DecreaseWindowCounters()
1903{

Callers 4

LoadIntroGameFunction · 0.85
SwitchToModeFunction · 0.85
GenerateWorldFunction · 0.85

Calls 3

UnInitWindowSystemFunction · 0.85
InitWindowSystemFunction · 0.85
ResetMethod · 0.45

Tested by

no test coverage detected