1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

(svn r25290) -Add: Assign string names to notable windows.

This commit is contained in:
frosch
2013-05-26 19:25:01 +00:00
parent 8c4714ad90
commit 8157a8afd8
56 changed files with 142 additions and 140 deletions

View File

@@ -541,7 +541,7 @@ static const NWidgetPart _nested_chat_window_widgets[] = {
/** The description of the chat window. */
static WindowDesc _chat_window_desc(
WDP_MANUAL, 640, 14, // x, y, width, height
WDP_MANUAL, NULL, 640, 14, // x, y, width, height
WC_SEND_NETWORK_MSG, WC_NONE,
0,
_nested_chat_window_widgets, lengthof(_nested_chat_window_widgets)

View File

@@ -92,7 +92,7 @@ static const NWidgetPart _nested_network_content_download_status_window_widgets[
/** Window description for the download window */
static WindowDesc _network_content_download_status_window_desc(
WDP_CENTER, 0, 0,
WDP_CENTER, NULL, 0, 0,
WC_NETWORK_STATUS_WINDOW, WC_NONE,
WDF_MODAL,
_nested_network_content_download_status_window_widgets, lengthof(_nested_network_content_download_status_window_widgets)
@@ -1033,7 +1033,7 @@ static const NWidgetPart _nested_network_content_list_widgets[] = {
/** Window description of the content list */
static WindowDesc _network_content_list_desc(
WDP_CENTER, 630, 460,
WDP_CENTER, "list_content", 630, 460,
WC_NETWORK_WINDOW, WC_NONE,
0,
_nested_network_content_list_widgets, lengthof(_nested_network_content_list_widgets)

View File

@@ -1012,7 +1012,7 @@ static const NWidgetPart _nested_network_game_widgets[] = {
};
static WindowDesc _network_game_window_desc(
WDP_CENTER, 1000, 730,
WDP_CENTER, "list_servers", 1000, 730,
WC_NETWORK_WINDOW, WC_NONE,
0,
_nested_network_game_widgets, lengthof(_nested_network_game_widgets)
@@ -1327,7 +1327,7 @@ static const NWidgetPart _nested_network_start_server_window_widgets[] = {
};
static WindowDesc _network_start_server_window_desc(
WDP_CENTER, 0, 0,
WDP_CENTER, NULL, 0, 0,
WC_NETWORK_WINDOW, WC_NONE,
0,
_nested_network_start_server_window_widgets, lengthof(_nested_network_start_server_window_widgets)
@@ -1616,7 +1616,7 @@ static const NWidgetPart _nested_network_lobby_window_widgets[] = {
};
static WindowDesc _network_lobby_window_desc(
WDP_CENTER, 0, 0,
WDP_CENTER, NULL, 0, 0,
WC_NETWORK_WINDOW, WC_NONE,
0,
_nested_network_lobby_window_widgets, lengthof(_nested_network_lobby_window_widgets)
@@ -1665,7 +1665,7 @@ static const NWidgetPart _nested_client_list_popup_widgets[] = {
};
static WindowDesc _client_list_popup_desc(
WDP_AUTO, 0, 0,
WDP_AUTO, NULL, 0, 0,
WC_CLIENT_LIST_POPUP, WC_CLIENT_LIST,
0,
_nested_client_list_popup_widgets, lengthof(_nested_client_list_popup_widgets)
@@ -1841,7 +1841,7 @@ static const NWidgetPart _nested_client_list_widgets[] = {
};
static WindowDesc _client_list_desc(
WDP_AUTO, 0, 0,
WDP_AUTO, "list_clients", 0, 0,
WC_CLIENT_LIST, WC_NONE,
0,
_nested_client_list_widgets, lengthof(_nested_client_list_widgets)
@@ -2113,7 +2113,7 @@ static const NWidgetPart _nested_network_join_status_window_widgets[] = {
};
static WindowDesc _network_join_status_window_desc(
WDP_CENTER, 0, 0,
WDP_CENTER, NULL, 0, 0,
WC_NETWORK_STATUS_WINDOW, WC_NONE,
WDF_MODAL,
_nested_network_join_status_window_widgets, lengthof(_nested_network_join_status_window_widgets)
@@ -2207,7 +2207,7 @@ static const NWidgetPart _nested_network_company_password_window_widgets[] = {
};
static WindowDesc _network_company_password_window_desc(
WDP_AUTO, 0, 0,
WDP_AUTO, NULL, 0, 0,
WC_COMPANY_PASSWORD_WINDOW, WC_NONE,
0,
_nested_network_company_password_window_widgets, lengthof(_nested_network_company_password_window_widgets)