forked from mirror/OpenTTD
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
This commit is contained in:
@@ -661,7 +661,7 @@ static const NWidgetPart _nested_build_road_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_road_desc(
|
||||
WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 263, 36,
|
||||
WDP_ALIGN_TOOLBAR, 263, 36,
|
||||
WC_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_road_widgets, lengthof(_nested_build_road_widgets)
|
||||
@@ -700,7 +700,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_tramway_desc(
|
||||
WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 241, 36,
|
||||
WDP_ALIGN_TOOLBAR, 241, 36,
|
||||
WC_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_tramway_widgets, lengthof(_nested_build_tramway_widgets)
|
||||
@@ -743,7 +743,7 @@ static const NWidgetPart _nested_build_road_scen_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_road_scen_desc(
|
||||
WDP_AUTO, WDP_AUTO, 197, 36,
|
||||
WDP_AUTO, 197, 36,
|
||||
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets)
|
||||
@@ -841,7 +841,7 @@ static const NWidgetPart _nested_build_road_depot_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_road_depot_desc(
|
||||
WDP_AUTO, WDP_AUTO, 140, 122,
|
||||
WDP_AUTO, 140, 122,
|
||||
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_road_depot_widgets, lengthof(_nested_build_road_depot_widgets)
|
||||
@@ -1010,7 +1010,7 @@ static const NWidgetPart _nested_rv_station_picker_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _rv_station_picker_desc(
|
||||
WDP_AUTO, WDP_AUTO, 207, 178,
|
||||
WDP_AUTO, 207, 178,
|
||||
WC_BUS_STATION, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_rv_station_picker_widgets, lengthof(_nested_rv_station_picker_widgets)
|
||||
|
Reference in New Issue
Block a user