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

Function ShowGenerateWorldProgress

src/genworld_gui.cpp:1457–1461  ·  view source on GitHub ↗

* Show the window where a user can follow the process of the map generation. */

Source from the content-addressed store, hash-verified

1455 * Show the window where a user can follow the process of the map generation.
1456 */
1457void ShowGenerateWorldProgress()
1458{
1459 if (BringWindowToFrontById(WC_MODAL_PROGRESS, 0)) return;
1460 new GenerateProgressWindow();
1461}
1462
1463static void _SetGeneratingWorldProgress(GenWorldProgress cls, uint progress, uint total)
1464{

Callers 1

GenerateWorldFunction · 0.85

Calls 1

BringWindowToFrontByIdFunction · 0.85

Tested by

no test coverage detected