Show the window to create a scenario. */
| 1317 | |
| 1318 | /** Show the window to create a scenario. */ |
| 1319 | void ShowCreateScenario() |
| 1320 | { |
| 1321 | CloseWindowByClass(WC_GENERATE_LANDSCAPE); |
| 1322 | new CreateScenarioWindow(_create_scenario_desc, GLWM_SCENARIO); |
| 1323 | } |
| 1324 | |
| 1325 | static constexpr std::initializer_list<NWidgetPart> _nested_generate_progress_widgets = { |
| 1326 | NWidget(WWT_CAPTION, COLOUR_GREY), SetStringTip(STR_GENERATION_WORLD, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS), |
no test coverage detected