(svn r25290) -Add: Assign string names to notable windows.
This commit is contained in:
@@ -464,7 +464,7 @@ struct CompanyFinancesWindow : Window {
|
||||
Money CompanyFinancesWindow::max_money = INT32_MAX;
|
||||
|
||||
static WindowDesc _company_finances_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, "company_finances", 0, 0,
|
||||
WC_FINANCES, WC_NONE,
|
||||
0,
|
||||
_nested_company_finances_widgets, lengthof(_nested_company_finances_widgets)
|
||||
@@ -842,7 +842,7 @@ static const NWidgetPart _nested_select_company_livery_widgets [] = {
|
||||
};
|
||||
|
||||
static WindowDesc _select_company_livery_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, "company_livery", 0, 0,
|
||||
WC_COMPANY_COLOUR, WC_NONE,
|
||||
0,
|
||||
_nested_select_company_livery_widgets, lengthof(_nested_select_company_livery_widgets)
|
||||
@@ -1480,7 +1480,7 @@ const StringID SelectCompanyManagerFaceWindow::PART_TEXTS[] = {
|
||||
|
||||
/** Company manager face selection window description */
|
||||
static WindowDesc _select_company_manager_face_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, "company_face", 0, 0,
|
||||
WC_COMPANY_MANAGER_FACE, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets)
|
||||
@@ -1834,7 +1834,7 @@ struct CompanyInfrastructureWindow : Window
|
||||
};
|
||||
|
||||
static WindowDesc _company_infrastructure_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, "company_infrastructure", 0, 0,
|
||||
WC_COMPANY_INFRASTRUCTURE, WC_NONE,
|
||||
0,
|
||||
_nested_company_infrastructure_widgets, lengthof(_nested_company_infrastructure_widgets)
|
||||
@@ -2411,7 +2411,7 @@ struct CompanyWindow : Window
|
||||
};
|
||||
|
||||
static WindowDesc _company_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, "company", 0, 0,
|
||||
WC_COMPANY, WC_NONE,
|
||||
0,
|
||||
_nested_company_widgets, lengthof(_nested_company_widgets)
|
||||
@@ -2523,7 +2523,7 @@ static const NWidgetPart _nested_buy_company_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _buy_company_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, NULL, 0, 0,
|
||||
WC_BUY_COMPANY, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_buy_company_widgets, lengthof(_nested_buy_company_widgets)
|
||||
|
Reference in New Issue
Block a user