1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-27 22:24:28 +01:00

Codechange: Use EnumBitSet for WindowDefaultFlags.

This commit is contained in:
Peter Nelson
2025-01-29 23:36:47 +00:00
committed by Peter Nelson
parent efb05396a7
commit d30e8dd1c1
63 changed files with 184 additions and 183 deletions

View File

@@ -355,7 +355,7 @@ static constexpr NWidgetPart _nested_terraform_widgets[] = {
static WindowDesc _terraform_desc(
WDP_MANUAL, "toolbar_landscape", 0, 0,
WC_SCEN_LAND_GEN, WC_NONE,
WDF_CONSTRUCTION,
WindowDefaultFlag::Construction,
_nested_terraform_widgets,
&TerraformToolbarWindow::hotkeys
);
@@ -739,7 +739,7 @@ struct ScenarioEditorLandscapeGenerationWindow : Window {
static WindowDesc _scen_edit_land_gen_desc(
WDP_AUTO, "toolbar_landscape_scen", 0, 0,
WC_SCEN_LAND_GEN, WC_NONE,
WDF_CONSTRUCTION,
WindowDefaultFlag::Construction,
_nested_scen_edit_land_gen_widgets,
&ScenarioEditorLandscapeGenerationWindow::hotkeys
);