summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
commit293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch)
tree4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/network
parentb58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff)
downloadopenttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_chat_gui.cpp2
-rw-r--r--src/network/network_content_gui.cpp4
-rw-r--r--src/network/network_gui.cpp14
3 files changed, 10 insertions, 10 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index 13405cc9e..85598bb6c 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -543,7 +543,7 @@ static const NWidgetPart _nested_chat_window_widgets[] = {
};
static const WindowDesc _chat_window_desc(
- WDP_MANUAL, WDP_MANUAL, 640, 14, // x, y, width, height
+ WDP_MANUAL, 640, 14, // x, y, width, height
WC_SEND_NETWORK_MSG, WC_NONE,
0,
_nested_chat_window_widgets, lengthof(_nested_chat_window_widgets)
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index cfc06b7ba..958a2eea5 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -46,7 +46,7 @@ static const NWidgetPart _nested_network_content_download_status_window_widgets[
/** Window description for the download window */
static const WindowDesc _network_content_download_status_window_desc(
- WDP_CENTER, WDP_CENTER, 350, 85,
+ WDP_CENTER, 350, 85,
WC_NETWORK_STATUS_WINDOW, WC_NONE,
WDF_MODAL,
_nested_network_content_download_status_window_widgets, lengthof(_nested_network_content_download_status_window_widgets)
@@ -866,7 +866,7 @@ static const NWidgetPart _nested_network_content_list_widgets[] = {
/** Window description of the content list */
static const WindowDesc _network_content_list_desc(
- WDP_CENTER, WDP_CENTER, 630, 460,
+ WDP_CENTER, 630, 460,
WC_NETWORK_WINDOW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_network_content_list_widgets, lengthof(_nested_network_content_list_widgets)
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index c817d23cc..2fe844719 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1000,7 +1000,7 @@ static const NWidgetPart _nested_network_game_widgets[] = {
};
static const WindowDesc _network_game_window_desc(
- WDP_CENTER, WDP_CENTER, 1000, 730,
+ WDP_CENTER, 1000, 730,
WC_NETWORK_WINDOW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_network_game_widgets, lengthof(_nested_network_game_widgets)
@@ -1425,7 +1425,7 @@ static const NWidgetPart _nested_network_start_server_window_widgets[] = {
};
static const WindowDesc _network_start_server_window_desc(
- WDP_CENTER, WDP_CENTER, 420, 244,
+ WDP_CENTER, 420, 244,
WC_NETWORK_WINDOW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_network_start_server_window_widgets, lengthof(_nested_network_start_server_window_widgets)
@@ -1722,7 +1722,7 @@ static const NWidgetPart _nested_network_lobby_window_widgets[] = {
};
static const WindowDesc _network_lobby_window_desc(
- WDP_CENTER, WDP_CENTER, 0, 0,
+ WDP_CENTER, 0, 0,
WC_NETWORK_WINDOW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_network_lobby_window_widgets, lengthof(_nested_network_lobby_window_widgets)
@@ -1765,7 +1765,7 @@ static const NWidgetPart _nested_client_list_popup_widgets[] = {
};
static const WindowDesc _client_list_popup_desc(
- WDP_AUTO, WDP_AUTO, 150, 1,
+ WDP_AUTO, 150, 1,
WC_TOOLBAR_MENU, WC_CLIENT_LIST,
0,
_nested_client_list_popup_widgets, lengthof(_nested_client_list_popup_widgets)
@@ -1978,7 +1978,7 @@ static const NWidgetPart _nested_client_list_widgets[] = {
};
static const WindowDesc _client_list_desc(
- WDP_AUTO, WDP_AUTO, 250, 16,
+ WDP_AUTO, 250, 16,
WC_CLIENT_LIST, WC_NONE,
0,
_nested_client_list_widgets, lengthof(_nested_client_list_widgets)
@@ -2259,7 +2259,7 @@ static const NWidgetPart _nested_network_join_status_window_widgets[] = {
};
static const WindowDesc _network_join_status_window_desc(
- WDP_CENTER, WDP_CENTER, 250, 85,
+ WDP_CENTER, 250, 85,
WC_NETWORK_STATUS_WINDOW, WC_NONE,
WDF_MODAL,
_nested_network_join_status_window_widgets, lengthof(_nested_network_join_status_window_widgets)
@@ -2382,7 +2382,7 @@ static const NWidgetPart _nested_network_company_password_window_widgets[] = {
};
static const WindowDesc _network_company_password_window_desc(
- WDP_AUTO, WDP_AUTO, 300, 63,
+ WDP_AUTO, 300, 63,
WC_COMPANY_PASSWORD_WINDOW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_network_company_password_window_widgets, lengthof(_nested_network_company_password_window_widgets)