(svn r18199) -Codechange: make the company view window RTL aware and somewhat big font aware

This commit is contained in:
rubidium 2009-11-20 17:36:46 +00:00
parent 9728fe52f7
commit c862b7060f
47 changed files with 218 additions and 203 deletions

View File

@ -1420,20 +1420,35 @@ static void DoSelectCompanyManagerFace(Window *parent, bool adv, int top, int le
enum CompanyWindowWidgets {
CW_WIDGET_CLOSEBOX = 0,
CW_WIDGET_CAPTION,
CW_WIDGET_BACKGROUND,
CW_WIDGET_FACE,
CW_WIDGET_FACE_TITLE,
CW_WIDGET_DESC_INAUGURATION,
CW_WIDGET_DESC_COLOUR_SCHEME,
CW_WIDGET_DESC_COLOUR_SCHEME_EXAMPLE,
CW_WIDGET_DESC_VEHICLE,
CW_WIDGET_DESC_VEHICLE_COUNTS,
CW_WIDGET_DESC_COMPANY_VALUE,
CW_WIDGET_DESC_OWNERS,
CW_WIDGET_SELECT_BUTTONS, ///< Selection widget for the button bar.
CW_WIDGET_NEW_FACE,
CW_WIDGET_COLOUR_SCHEME,
CW_WIDGET_PRESIDENT_NAME,
CW_WIDGET_COMPANY_NAME,
CW_WIDGET_BUILD_VIEW_HQ,
CW_WIDGET_SELECT_RELOCATE, ///< View/hide the 'Relocate HQ' button.
CW_WIDGET_RELOCATE_EMPTY, ///< Empty widget to hide the relocate HQ button.
CW_WIDGET_RELOCATE_HQ,
CW_WIDGET_BUY_SHARE,
CW_WIDGET_SELL_SHARE,
CW_WIDGET_SELECT_VIEW_BUILD_HQ,
CW_WIDGET_VIEW_HQ,
CW_WIDGET_BUILD_HQ,
CW_WIDGET_SELECT_RELOCATE, ///< View/hide the 'Relocate HQ' button.
CW_WIDGET_RELOCATE_HQ,
CW_WIDGET_SELECT_MULTIPLAYER, ///< Multiplayer selection panel.
CW_WIDGET_MP_EMPTY,
CW_WIDGET_COMPANY_PASSWORD,
CW_WIDGET_COMPANY_JOIN,
};
@ -1443,101 +1458,76 @@ static const NWidgetPart _nested_company_widgets[] = {
NWidget(WWT_CLOSEBOX, COLOUR_GREY, CW_WIDGET_CLOSEBOX),
NWidget(WWT_CAPTION, COLOUR_GREY, CW_WIDGET_CAPTION), SetDataTip(STR_COMPANY_VIEW_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_GREY, CW_WIDGET_FACE),
NWidget(NWID_SPACER), SetMinimalSize(360, 4),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetFill(true, false),
NWidget(WWT_TEXTBTN, COLOUR_GREY, CW_WIDGET_BUILD_VIEW_HQ), SetMinimalSize(90, 12), SetPadding(0, 4, 0, 0),
SetDataTip(STR_COMPANY_VIEW_VIEW_HQ_BUTTON, STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP),
EndContainer(),
NWidget(NWID_SPACER), SetMinimalSize(0, 2),
NWidget(NWID_SELECTION, INVALID_COLOUR, CW_WIDGET_SELECT_RELOCATE),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetFill(true, false),
NWidget(WWT_TEXTBTN, COLOUR_GREY, CW_WIDGET_RELOCATE_HQ), SetMinimalSize(90, 12), SetPadding(0, 4, 0, 0),
SetDataTip(STR_COMPANY_VIEW_RELOCATE_HQ, STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS),
NWidget(WWT_PANEL, COLOUR_GREY, CW_WIDGET_BACKGROUND),
NWidget(NWID_HORIZONTAL), SetPIP(4, 6, 4),
NWidget(NWID_VERTICAL), SetPIP(4, 2, 4),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_FACE), SetMinimalSize(91, 120), SetFill(true, false),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_FACE_TITLE), SetFill(true, true), SetMinimalTextLines(2, 0),
EndContainer(),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_RELOCATE_EMPTY), SetFill(true, true),
EndContainer(),
NWidget(NWID_SPACER), SetMinimalSize(0, 94),
/* Multi player buttons. */
NWidget(NWID_SELECTION, INVALID_COLOUR, CW_WIDGET_SELECT_MULTIPLAYER),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_MP_EMPTY), SetFill(true, true),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetFill(true, false),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_PASSWORD), SetMinimalSize(90, 12), SetPadding(0, 4, 0, 0),
SetDataTip(STR_COMPANY_VIEW_PASSWORD, STR_COMPANY_VIEW_PASSWORD_TOOLTIP),
EndContainer(),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetFill(true, false),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_JOIN), SetMinimalSize(90, 12), SetPadding(0, 4, 0, 0),
SetDataTip(STR_COMPANY_VIEW_JOIN, STR_COMPANY_VIEW_JOIN_TOOLTIP),
NWidget(NWID_VERTICAL),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_VERTICAL), SetPIP(4, 5, 5),
NWidget(WWT_TEXT, COLOUR_GREY, CW_WIDGET_DESC_INAUGURATION), SetDataTip(STR_COMPANY_VIEW_INAUGURATED_TITLE, STR_NULL), SetFill(true, false),
NWidget(NWID_HORIZONTAL), SetPIP(0, 5, 0),
NWidget(WWT_LABEL, COLOUR_GREY, CW_WIDGET_DESC_COLOUR_SCHEME), SetDataTip(STR_COMPANY_VIEW_COLOUR_SCHEME_TITLE, STR_NULL),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_DESC_COLOUR_SCHEME_EXAMPLE), SetMinimalSize(30, 0), SetFill(false, true),
NWidget(NWID_SPACER), SetFill(true, false),
EndContainer(),
NWidget(NWID_HORIZONTAL), SetPIP(0, 4, 0),
NWidget(NWID_VERTICAL),
NWidget(WWT_TEXT, COLOUR_GREY, CW_WIDGET_DESC_VEHICLE), SetDataTip(STR_COMPANY_VIEW_VEHICLES_TITLE, STR_NULL),
NWidget(NWID_SPACER), SetFill(false, true),
EndContainer(),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_DESC_VEHICLE_COUNTS), SetMinimalTextLines(4, 0),
NWidget(NWID_SPACER), SetFill(true, false),
EndContainer(),
EndContainer(),
NWidget(NWID_VERTICAL), SetPIP(4, 2, 4),
NWidget(NWID_SELECTION, INVALID_COLOUR, CW_WIDGET_SELECT_VIEW_BUILD_HQ),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_VIEW_HQ), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_VIEW_HQ_BUTTON, STR_COMPANY_VIEW_VIEW_HQ_TOOLTIP),
NWidget(WWT_TEXTBTN, COLOUR_GREY, CW_WIDGET_BUILD_HQ), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_BUILD_HQ_BUTTON, STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP),
EndContainer(),
NWidget(NWID_SELECTION, INVALID_COLOUR, CW_WIDGET_SELECT_RELOCATE),
NWidget(WWT_TEXTBTN, COLOUR_GREY, CW_WIDGET_RELOCATE_HQ), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_RELOCATE_HQ, STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS),
NWidget(NWID_SPACER), SetMinimalSize(90, 0),
EndContainer(),
NWidget(NWID_SPACER), SetFill(false, true),
EndContainer(),
EndContainer(),
NWidget(WWT_TEXT, COLOUR_GREY, CW_WIDGET_DESC_COMPANY_VALUE), SetDataTip(STR_COMPANY_VIEW_COMPANY_VALUE, STR_NULL), SetFill(true, false),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_VERTICAL), SetPIP(5, 5, 4),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_DESC_OWNERS), SetMinimalTextLines(3, 0),
NWidget(NWID_SPACER), SetFill(false, true),
EndContainer(),
NWidget(NWID_VERTICAL), SetPIP(4, 2, 4),
NWidget(NWID_SPACER), SetMinimalSize(90, 0), SetFill(false, true),
/* Multi player buttons. */
NWidget(NWID_SELECTION, INVALID_COLOUR, CW_WIDGET_SELECT_MULTIPLAYER),
NWidget(NWID_SPACER), SetFill(true, false),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_PASSWORD), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_PASSWORD, STR_COMPANY_VIEW_PASSWORD_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_JOIN), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_JOIN, STR_COMPANY_VIEW_JOIN_TOOLTIP),
EndContainer(),
EndContainer(),
EndContainer(),
EndContainer(),
EndContainer(),
NWidget(NWID_SPACER), SetMinimalSize(0, 8),
EndContainer(),
/* Button bars at the bottom. */
NWidget(NWID_SELECTION, INVALID_COLOUR, CW_WIDGET_SELECT_BUTTONS),
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_NEW_FACE), SetMinimalSize(90, 12), SetFill(true, false),
SetDataTip(STR_COMPANY_VIEW_NEW_FACE_BUTTON, STR_COMPANY_VIEW_NEW_FACE_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COLOUR_SCHEME), SetMinimalSize(90, 12), SetFill(true, false),
SetDataTip(STR_COMPANY_VIEW_COLOUR_SCHEME_BUTTON, STR_COMPANY_VIEW_COLOUR_SCHEME_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_PRESIDENT_NAME), SetMinimalSize(90, 12), SetFill(true, false),
SetDataTip(STR_COMPANY_VIEW_PRESIDENT_NAME_BUTTON, STR_COMPANY_VIEW_PRESIDENT_NAME_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_NAME), SetMinimalSize(90, 12), SetFill(true, false),
SetDataTip(STR_COMPANY_VIEW_COMPANY_NAME_BUTTON, STR_COMPANY_VIEW_COMPANY_NAME_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_NEW_FACE), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_NEW_FACE_BUTTON, STR_COMPANY_VIEW_NEW_FACE_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COLOUR_SCHEME), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_COLOUR_SCHEME_BUTTON, STR_COMPANY_VIEW_COLOUR_SCHEME_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_PRESIDENT_NAME), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_PRESIDENT_NAME_BUTTON, STR_COMPANY_VIEW_PRESIDENT_NAME_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_NAME), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_COMPANY_NAME_BUTTON, STR_COMPANY_VIEW_COMPANY_NAME_TOOLTIP),
EndContainer(),
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_BUY_SHARE), SetMinimalSize(180, 12), SetFill(true, false),
SetDataTip(STR_COMPANY_VIEW_BUY_SHARE_BUTTON, STR_COMPANY_VIEW_BUY_SHARE_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_SELL_SHARE), SetMinimalSize(180, 12), SetFill(true, false),
SetDataTip(STR_COMPANY_VIEW_SELL_SHARE_BUTTON, STR_COMPANY_VIEW_SELL_SHARE_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_BUY_SHARE), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_BUY_SHARE_BUTTON, STR_COMPANY_VIEW_BUY_SHARE_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_SELL_SHARE), SetFill(true, false), SetDataTip(STR_COMPANY_VIEW_SELL_SHARE_BUTTON, STR_COMPANY_VIEW_SELL_SHARE_TOOLTIP),
EndContainer(),
EndContainer(),
};
/**
* Draws text "Vehicles:" and number of all vehicle types, or "(none)"
* @param company ID of company to print statistics of
* @param right the right most location to draw to
*/
static void DrawCompanyVehiclesAmount(CompanyID company, int right)
{
const int x = 110;
int y = 63;
uint amounts[] = { 0, 0, 0, 0 };
DrawString(x, right, y, STR_COMPANY_VIEW_VEHICLES_TITLE);
const Vehicle *v;
FOR_ALL_VEHICLES(v) {
if (v->owner == company) {
if (v->IsPrimaryVehicle()) {
assert((size_t)v->type < lengthof(amounts));
amounts[v->type]++;
}
}
}
if (amounts[0] + amounts[1] + amounts[2] + amounts[3] == 0) {
DrawString(x + 70, right, y, STR_COMPANY_VIEW_VEHICLES_NONE);
} else {
static const StringID strings[] = {
STR_COMPANY_VIEW_TRAINS, STR_COMPANY_VIEW_ROAD_VEHICLES, STR_COMPANY_VIEW_SHIPS, STR_COMPANY_VIEW_AIRCRAFT
};
assert_compile(lengthof(amounts) == lengthof(strings));
for (uint i = 0; i < lengthof(amounts); i++) {
if (amounts[i] != 0) {
SetDParam(0, amounts[i]);
DrawString(x + 70, right, y, strings[i]);
y += 10;
}
}
}
}
int GetAmountOwnedBy(const Company *c, Owner owner)
{
return (c->share_owners[0] == owner) +
@ -1546,26 +1536,10 @@ int GetAmountOwnedBy(const Company *c, Owner owner)
(c->share_owners[3] == owner);
}
/**
* Draws list of all companies with shares
* @param c pointer to the Company structure
*/
static void DrawCompanyOwnerText(const Company *c)
{
const Company *c2;
uint num = 0;
const byte height = GetCharacterHeight(FS_NORMAL);
FOR_ALL_COMPANIES(c2) {
uint amt = GetAmountOwnedBy(c, c2->index);
if (amt != 0) {
SetDParam(0, amt * 25);
SetDParam(1, c2->index);
DrawString(120, 359, (num++) * height + 116, STR_COMPANY_VIEW_SHARES_OWNED_BY);
}
}
}
/** Strings for the company vehicle counts */
static const StringID _company_view_vehicle_count_strings[] = {
STR_COMPANY_VIEW_TRAINS, STR_COMPANY_VIEW_ROAD_VEHICLES, STR_COMPANY_VIEW_SHIPS, STR_COMPANY_VIEW_AIRCRAFT
};
/**
* Window with general information about a company
@ -1581,6 +1555,10 @@ struct CompanyWindow : Window
CWP_MP_C_PWD, ///< Display the company password button.
CWP_MP_C_JOIN, ///< Display the join company button.
/* Display planes of the #CW_WIDGET_SELECT_VIEW_BUILD_HQ selection widget. */
CWP_VB_VIEW = 0, ///< Display the view button
CWP_VB_BUILD, ///< Display the build button
/* Display planes of the #CW_WIDGET_SELECT_RELOCATE selection widget. */
CWP_RELOCATE_SHOW = 0, ///< Show the relocate HQ button.
CWP_RELOCATE_HIDE, ///< Hide the relocate HQ button.
@ -1604,7 +1582,6 @@ struct CompanyWindow : Window
/* Button bar selection. */
int plane = local ? CWP_BUTTONS_LOCAL : CWP_BUTTONS_OTHER;
NWidgetStacked *wi = this->GetWidget<NWidgetStacked>(CW_WIDGET_SELECT_BUTTONS);
wi = this->GetWidget<NWidgetStacked>(CW_WIDGET_SELECT_BUTTONS);
if (plane != wi->shown_plane) {
wi->SetDisplayedPlane(plane);
this->SetDirty();
@ -1612,10 +1589,15 @@ struct CompanyWindow : Window
}
/* Build HQ button handling. */
NWidgetCore *wi_core = this->GetWidget<NWidgetCore>(CW_WIDGET_BUILD_VIEW_HQ);
wi_core->widget_data = (local && c->location_of_HQ == INVALID_TILE) ? STR_COMPANY_VIEW_BUILD_HQ_BUTTON : STR_COMPANY_VIEW_VIEW_HQ_BUTTON;
if (local && c->location_of_HQ != INVALID_TILE) wi_core->type = WWT_PUSHTXTBTN; // HQ is already built.
wi_core->SetDisabled(!local && c->location_of_HQ == INVALID_TILE);
plane = (local && c->location_of_HQ == INVALID_TILE) ? CWP_VB_BUILD : CWP_VB_VIEW;
wi = this->GetWidget<NWidgetStacked>(CW_WIDGET_SELECT_VIEW_BUILD_HQ);
if (plane != wi->shown_plane) {
wi->SetDisplayedPlane(plane);
this->SetDirty();
return;
}
this->SetWidgetDisabledState(CW_WIDGET_VIEW_HQ, c->location_of_HQ == INVALID_TILE);
/* Enable/disable 'Relocate HQ' button. */
plane = (!local || c->location_of_HQ == INVALID_TILE) ? CWP_RELOCATE_HIDE : CWP_RELOCATE_SHOW;
@ -1656,46 +1638,123 @@ struct CompanyWindow : Window
}
this->DrawWidgets();
}
virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *resize)
{
switch (widget) {
case CW_WIDGET_DESC_COMPANY_VALUE:
SetDParam(0, INT64_MAX); // Arguably the maximum company value
size->width = GetStringBoundingBox(STR_COMPANY_VIEW_COMPANY_VALUE).width;
break;
case CW_WIDGET_DESC_VEHICLE_COUNTS:
SetDParam(0, 5000); // Maximum number of vehicles
for (uint i = 0; i < lengthof(_company_view_vehicle_count_strings); i++) {
size->width = max(size->width, GetStringBoundingBox(_company_view_vehicle_count_strings[i]).width);
}
break;
case CW_WIDGET_DESC_OWNERS: {
const Company *c2;
FOR_ALL_COMPANIES(c2) {
SetDParam(0, 25);
SetDParam(1, c2->index);
size->width = max(size->width, GetStringBoundingBox(STR_COMPANY_VIEW_SHARES_OWNED_BY).width);
}
} break;
}
}
virtual void DrawWidget(const Rect &r, int widget) const
{
const Company *c = Company::Get((CompanyID)this->window_number);
switch (widget) {
case CW_WIDGET_FACE:
DrawCompanyManagerFace(c->face, c->colour, r.left, r.top);
break;
case CW_WIDGET_FACE_TITLE:
SetDParam(0, c->index);
DrawStringMultiLine(r.left, r.right, r.top, r.bottom, STR_COMPANY_VIEW_PRESIDENT_MANAGER_TITLE, TC_FROMSTRING, SA_CENTER);
break;
case CW_WIDGET_DESC_COLOUR_SCHEME_EXAMPLE:
DrawSprite(SPR_VEH_BUS_SW_VIEW, COMPANY_SPRITE_COLOUR(c->index), (r.left + r.right) / 2, r.top + FONT_HEIGHT_NORMAL / 10);
break;
case CW_WIDGET_DESC_VEHICLE_COUNTS: {
uint amounts[] = { 0, 0, 0, 0 };
int y = r.top;
const Vehicle *v;
FOR_ALL_VEHICLES(v) {
if (v->owner == c->index) {
if (v->IsPrimaryVehicle()) {
assert((size_t)v->type < lengthof(amounts));
amounts[v->type]++;
}
}
}
if (amounts[0] + amounts[1] + amounts[2] + amounts[3] == 0) {
DrawString(r.left, r.right, y, STR_COMPANY_VIEW_VEHICLES_NONE);
} else {
assert_compile(lengthof(amounts) == lengthof(_company_view_vehicle_count_strings));
for (uint i = 0; i < lengthof(amounts); i++) {
if (amounts[i] != 0) {
SetDParam(0, amounts[i]);
DrawString(r.left, r.right, y, _company_view_vehicle_count_strings[i]);
y += FONT_HEIGHT_NORMAL;
}
}
}
} break;
case CW_WIDGET_DESC_OWNERS: {
const Company *c2;
uint y = r.top;
FOR_ALL_COMPANIES(c2) {
uint amt = GetAmountOwnedBy(c, c2->index);
if (amt != 0) {
SetDParam(0, amt * 25);
SetDParam(1, c2->index);
DrawString(r.left, r.right, y, STR_COMPANY_VIEW_SHARES_OWNED_BY);
y += FONT_HEIGHT_NORMAL;
}
}
} break;
#ifdef ENABLE_NETWORK
if (_networking && NetworkCompanyIsPassworded(c->index)) {
const NWidgetBase *wi = this->GetWidget<NWidgetBase>(CW_WIDGET_COMPANY_JOIN);
DrawSprite(SPR_LOCK, PAL_NONE, wi->pos_x - 10, wi->pos_y + 2);
}
case CW_WIDGET_COMPANY_PASSWORD:
if (_networking && NetworkCompanyIsPassworded(c->index)) {
DrawSprite(SPR_LOCK, PAL_NONE, _dynlang.text_dir == TD_RTL ? r.right + 10 : r.left - 10, r.top + 2);
}
break;
#endif /* ENABLE_NETWORK */
/* Company manager's face */
DrawCompanyManagerFace(c->face, c->colour, 2, 16);
/* "xxx (Manager)" */
SetDParam(0, c->index);
DrawStringMultiLine(48 - MAX_LENGTH_PRESIDENT_NAME_PIXELS / 2, 48 + MAX_LENGTH_PRESIDENT_NAME_PIXELS / 2, 135, 157, STR_COMPANY_VIEW_PRESIDENT_MANAGER_TITLE, TC_FROMSTRING, SA_CENTER);
/* "Inaugurated:" */
SetDParam(0, c->inaugurated_year);
DrawString(110, this->width, 23, STR_COMPANY_VIEW_INAUGURATED_TITLE);
/* "Colour scheme:" */
DrawString(110, this->width, 43, STR_COMPANY_VIEW_COLOUR_SCHEME_TITLE);
/* Draw company-colour bus */
DrawSprite(SPR_VEH_BUS_SW_VIEW, COMPANY_SPRITE_COLOUR(c->index), 215, 44);
/* "Vehicles:" */
DrawCompanyVehiclesAmount((CompanyID)this->window_number, this->width);
/* "Company value:" */
SetDParam(0, CalculateCompanyValue(c));
DrawString(110, this->width, 106, STR_COMPANY_VIEW_COMPANY_VALUE);
/* Shares list */
DrawCompanyOwnerText(c);
}
}
virtual void SetStringParameters(int widget) const
{
if (widget == CW_WIDGET_CAPTION) {
SetDParam(0, (CompanyID)this->window_number);
SetDParam(1, (CompanyID)this->window_number);
switch (widget) {
case CW_WIDGET_CAPTION:
SetDParam(0, (CompanyID)this->window_number);
SetDParam(1, (CompanyID)this->window_number);
break;
case CW_WIDGET_DESC_INAUGURATION:
SetDParam(0, Company::Get((CompanyID)this->window_number)->inaugurated_year);
break;
case CW_WIDGET_DESC_COMPANY_VALUE:
SetDParam(0, CalculateCompanyValue(Company::Get((CompanyID)this->window_number)));
break;
}
}
@ -1721,24 +1780,24 @@ struct CompanyWindow : Window
ShowQueryString(STR_COMPANY_NAME, STR_COMPANY_VIEW_COMPANY_NAME_QUERY_CAPTION, MAX_LENGTH_COMPANY_NAME_BYTES, MAX_LENGTH_COMPANY_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT);
break;
case CW_WIDGET_BUILD_VIEW_HQ: {
case CW_WIDGET_VIEW_HQ: {
TileIndex tile = Company::Get((CompanyID)this->window_number)->location_of_HQ;
if (tile == INVALID_TILE) {
if ((byte)this->window_number != _local_company) return;
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this);
SetTileSelectSize(2, 2);
this->LowerWidget(CW_WIDGET_BUILD_VIEW_HQ);
this->SetWidgetDirty(CW_WIDGET_BUILD_VIEW_HQ);
if (_ctrl_pressed) {
ShowExtraViewPortWindow(tile);
} else {
if (_ctrl_pressed) {
ShowExtraViewPortWindow(tile);
} else {
ScrollMainWindowToTile(tile);
}
ScrollMainWindowToTile(tile);
}
break;
}
case CW_WIDGET_BUILD_HQ:
if ((byte)this->window_number != _local_company) return;
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this);
SetTileSelectSize(2, 2);
this->LowerWidget(CW_WIDGET_BUILD_HQ);
this->SetWidgetDirty(CW_WIDGET_BUILD_HQ);
break;
case CW_WIDGET_RELOCATE_HQ:
SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, HT_RECT, this);
SetTileSelectSize(2, 2);

View File

@ -2437,7 +2437,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bou HK
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Wys HK
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Bou maatskappy hoofkwartiers / wys maatskappy hoofkwartiers
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Beweeg HQ
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Herbou maatskappy hoofkwartiers elders vir 1% koste van maatskappy waarde

View File

@ -2521,7 +2521,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE} ( {COMM
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}بناء مقر الشركة الرئيسي
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}عرض مبنى الشركة الئيسي
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}بناء / عرض مبنى الشركة الرئيسي
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}اعادة بناء مقر الشركة
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}اعادة بناء مقر الشركة بمكان آخر و بتكلفة 1% من قيمة الشركة.

View File

@ -2521,7 +2521,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Construir sede
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Ver sede
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Construir sede da empresa / ver sede da empresa
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Mover sede
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Reconstruir sede da empresa em outro local por 1% do valor da empresa

View File

@ -2488,7 +2488,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Построй Централен Офис
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Покажи Централния Офис
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Построй централен офис на компанията / покажи централния офис на компанията
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Преместване ЦК
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Преместване централата на компанията другаде за 1% от стойноста на компанията

View File

@ -2531,7 +2531,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Construir Seu
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Veure Seu
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Construir seu de la companyia / veure seu de la companyia
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Trasllada la Seu
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Trasllada la seu de la companyia a un altre lloc amb el cost d'un 1% del seu valor

View File

@ -2562,7 +2562,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Izgradi sjedište tvrtke
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Pogledaj sjedište tvrtke
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Izgradi središte tvrtke / pogledaj sjedište tvrtke
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Premjesti sjedište kompanije
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Izgradi sjedište tvrtke negdje drugdje za 1% troška od cjelokupne vrijednosti tvrtke

View File

@ -2575,7 +2575,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Ředitelství
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Ředitelství
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Vybudovat ředitelství společnosti nebo ho ukázat
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Přesídlit
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Sídlo společnosti můžeš vystavit jinde za 1 % její hodnoty

View File

@ -2519,7 +2519,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Byg HK
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Vis HK
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Byg selskabets hovedkvarter / centrer over hovedkvarteret
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Flyt hovedkvarter
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Flyt selskabets hovedkvarter for 1% af selskabsværdien

View File

@ -2531,7 +2531,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bouw bedrijfshoofdkwartier
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Bekijk bedrijfshoofdkwartier
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Bouw bedrijfshoofdkwartier / bekijk bedrijfshoofdkwartier
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Verplaats bedrijfshoofdkwartier
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Herbouw bedrijfshoofdkwartier ergens anders voor 1% van de bedrijfswaarde

View File

@ -2530,8 +2530,9 @@ STR_COMPANY_VIEW_COMPANY_VALUE :{GOLD}Company v
STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}% owned by {COMPANY})
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Build HQ
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Build company headquarters
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}View HQ
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Build company headquarters / view company headquarters
STR_COMPANY_VIEW_VIEW_HQ_TOOLTIP :{BLACK}View company headquarters
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Relocate HQ
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Rebuild company headquarters elsewhere for 1% cost of company value

View File

@ -2518,7 +2518,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Build HQ
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}View HQ
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Build company headquarters / view company headquarters
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Relocate HQ
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Rebuild company headquarters elsewhere for 1% cost of company value

View File

@ -2294,7 +2294,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Faru HQ
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Vidu HQ
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Konstruu kompanian ĉefkonstruaĵon / vidu kompanian ĉefkonstruaĵon
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Relokigu HQ
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Rekonstruu kompanian ĉefkonstruaĵon aliloke por 1% de kompanivaloro

View File

@ -2577,7 +2577,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Ehita peakorter
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Vaata peakorterit
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Ehita ettevõtte peakorter või vii vaade peakorterile
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Liiguta peakorterit
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Ehita ettevõtte peakorter mujale 1% firmaväärtuse tasu eest

View File

@ -2531,7 +2531,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Rakenna päämaja
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Näytä päämaja
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Rakenna yhtiön päärakennus / näytä yhtiön päärakennus.
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Sijoita päämaja
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Rakenna yhtiön päärakennus muualle, hintana 1{NBSP}% yhtiön arvosta.

View File

@ -2532,7 +2532,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Const. siège
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Voir le siège
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Contruire/voir le Siège Social
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Déménager le QG
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Reconstruit le quartier général de la compagnie ailleurs pour le prix de 1% de la valeur de la compagnie

View File

@ -2471,7 +2471,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Construír CX
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Ve-lo CX
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Construír/ver cuartel xeral da compañía
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Reposicionar CX
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Recontruí-lo cuartel xeral da compañía en calquer lugar cun custo do 1% do valor da compañía

View File

@ -2532,7 +2532,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Firmensitz bauen
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Firmensitz
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Firmensitz bauen / anzeigen
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}verlegen
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Errichte Firmensitz für 1% des Firmenwertes an anderer Stelle neu.

View File

@ -2595,7 +2595,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Χτίσιμο Αρχηγείου
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Προβολή Αρχηγείου
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Χτίστιμο αρχηγείου εταιρίας / προβολή αρχηγείου
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Ανοικοδόμηση Αρχηγείου
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Ανοικοδόμηση του αρχηγείου της εταιρίας σε άλλο μέρος, με κόστος το 1% της αξίας της εταιρίας

View File

@ -2517,7 +2517,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({1:COMP
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}בנה בניין מטה
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}צפה במטה
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}בנה/צפה במטה החברה
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}שנה מיקום המטה
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}מקם מחדש את מטה החברה תמורת 1% משווי החברה

View File

@ -2564,7 +2564,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Székház építése
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Székház
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}A cég székházának megépítése/ megtekintése
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}SZH áthelyezése
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}A cég székházának újraépítése máshol a cég értékének 1%-áért

View File

@ -2495,7 +2495,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Byggja HS
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Skoða HS
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Byggja höfuðstöðvar fyrirtækisins / skoða höfuðstöðvar fyrirtækisins
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Flytja HS
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Endurreisa höfuðstöðvarnar annarsstaðar fyrir 1% af verðmæti fyrirtækis

View File

@ -2525,7 +2525,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Kantor Pusat
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Lokasi Kantor
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Membangun kantor pusat perusahaan / melihat kantor pusat
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Relokasi Kantor
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Membangun kembali kantor pusat perusahaan di tempat lain dengan 1% ongkos dari nilai perusahaan

View File

@ -2533,7 +2533,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Costr. sede
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Vedi sede
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Costruisce la sede della compagnia / visualizza la sede della compagnia
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Sposta sede
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Ricostruisce la sede della compagnia in un altro luogo pagando l'1% del valore della compagnia

View File

@ -2450,7 +2450,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}{1:CO
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}本部ビルを建設
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}本部ビルを見る
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}本部ビルを建設/見る
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}本部ビルを移動
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}会社の本部ビルを移動します(価格:会社の価値の1%)

View File

@ -2519,7 +2519,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}본사(HQ) 건설
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}본사 보기
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}본사를 건설합니다 / 본사를 봅니다
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}본사 재위치
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}회사가치의 1% 가격으로 본사를 다른 위치에 재건축합니다.

View File

@ -2513,7 +2513,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Celt biroju
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Skatīt biroju
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Būvēt uzņēmuma biroju / skatīt uzņēmuma biroju
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Pārvietot biroju
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Pārcelt kompānijas centrālo biroju uz citu vietu samaksājot 1% no kompānijas vērtības

View File

@ -2515,7 +2515,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Pastatyti firmos bustinę
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Apžiūrėti būstinę
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Statyti/apžiurėti kompanijos bustinę
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Perkelti bustinę
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Perstatyti kompanijos bustinę kitur už 1% kompanijos vertės

View File

@ -2491,7 +2491,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Haaptgebai bauen
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Weist Haaptgebai
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Baut/Weist d'Firmenhaaptgebai
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Firmenhaaptgebai réckelen
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Bau d'Firmenhaaptgebai op eng aaner Palatz.{}Käschten: 1% vun dem Firmenwert

View File

@ -2516,7 +2516,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bygg hovedkontor
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Se hovedkontor
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Bygg firmaets hovedkontor/se firmaets hovedkontor
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Omplasser hovedkvarter
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Gjenoppbygg spelskapets hovedkvarter en annen plass for 1{NBSP}% av selskapsverdien

View File

@ -2476,7 +2476,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bygg hovudkontor
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Sjå hovudkontor
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Bygg firmaet sitt hovudkontor/sjå firmaet sitt hovudkontor
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Omplasser hovudkvarter
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Gjenoppbygg selskapets hovudkvarter ein annan stad for 1 % av verdien til firmaet

View File

@ -2911,7 +2911,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Budowa Siedziby
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Zobacz SG
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Buduj siedzibę główną / zobacz siedzibę główną
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Przenieś SG
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Zbuduj siedzibę główna w innym miejscu za cenę 1% wartości firmy

View File

@ -2521,7 +2521,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Construir sede
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Ver sede
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Construir sede da empresa / ver sede da empresa
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Mover sede
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Reconstruir sede da empresa noutro sítio por 1% do valor da empresa

View File

@ -2530,7 +2530,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Constr. sediu
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Vezi sediul
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Construieşte sau arată sediul companiei
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Mută sediu
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Mută sediul companiei (costa 1% din valoarea companiei)

View File

@ -2681,7 +2681,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Построить штаб
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Осмотреть штаб
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Построить/осмотреть штаб-квартиру компании
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Переместить
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Переместить штаб компании в другом месте за 1% оценочной стоимости капитала компании

View File

@ -2716,7 +2716,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Izgradnja centrale preduzeća
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Prikaži centralu preduzeća
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Izgradnja i prikaz centrale preduzeća
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Preseli Sedište
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Premesti sedište preduzeća drugde za cenu od 1% vrednosti preduzeća

View File

@ -2520,7 +2520,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}设立总部
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}查看总部
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}建设/查看公司总部
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}重置总部
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}以公司市值 1% 的代价重建总部

View File

@ -2587,7 +2587,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Postavit sidlo
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Pozriet sidlo
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Postavit sidlo spolocnosti / pozriet sidlo spolocnosti
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Premiestnit sidlo
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Sidlo spolocnosti je mozne premiestnit za 1% hodnoty spolocnosti

View File

@ -2536,7 +2536,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Zgradi sedež podjetja
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Poglej sedež podjetja
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Zgradi sedež podjetja / poglej sedež podjetja
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Preseli sedež
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Preseli sedež podjetja drugam za ceno 1% vrednosti podjetja

View File

@ -2532,7 +2532,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Construir Sede
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Ver Sede
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Construir sede de la empresa / ver sede de la empresa
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Reubicar Sede
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Reubica la sede de la empresa a cualquier otro lugar, con el coste del 1% del valor total de la empresa

View File

@ -2530,7 +2530,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bygg Högkvarter
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Visa högkvarter
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Bygg huvudkontor / visa företagets huvudkontor
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Flytta högkvarter
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Bygg om högkvarter på annan plats (kostar 1% av företagets värde)

View File

@ -2530,7 +2530,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}建造總部
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}檢視總部
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}建造/檢視公司總部
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}搬移總部
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}以公司總值的 1% 在其它地方建造新公司總部

View File

@ -2520,7 +2520,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}(%{COMMA
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bina Yap
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Binaya Bak
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Şirket binasi yap / şirket binasina bak
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Binayı Taşı
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Şirket değerinin %1'i karşılığında binanın yerini değiştir

View File

@ -2655,7 +2655,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Будувати Офіс
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Показати Офіс
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Будувати Офіс/Показати Офіс
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Перенести Офіс
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Перенесення Офісу в інше місце. Коштує 1% від вартості компанії

View File

@ -1491,7 +1491,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Bou haadkantoar
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Sjoch haadkantoar
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Bou haadkantoar / sjoch haadkantoar
STR_COMPANY_VIEW_NEW_FACE_BUTTON :{BLACK}Nei Gesicht
STR_COMPANY_VIEW_NEW_FACE_TOOLTIP :{BLACK}Selektear nei gesicht foar de bedriuwslieder

View File

@ -1201,7 +1201,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}ساخت ساختمان مرکزی
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}دیدن ساختمان مرکزی
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}ساخت / دیدن ساختمان مرکزی
STR_COMPANY_VIEW_BUY_SHARE_BUTTON :{BLACK}25% سهام شرکت را بخر

View File

@ -2494,7 +2494,6 @@ STR_COMPANY_VIEW_SHARES_OWNED_BY :{WHITE}({COMMA}
STR_COMPANY_VIEW_BUILD_HQ_BUTTON :{BLACK}Adeiladu Pencadlys
STR_COMPANY_VIEW_VIEW_HQ_BUTTON :{BLACK}Gweld pencadlys cwmni
STR_COMPANY_VIEW_BUILD_HQ_TOOLTIP :{BLACK}Adeiladu pencadlys cwmni
STR_COMPANY_VIEW_RELOCATE_HQ :{BLACK}Ail-leoli pencadlys cwmni
STR_COMPANY_VIEW_RELOCATE_COMPANY_HEADQUARTERS :{BLACK}Ailadeiladu pencadlys cwmni mewn man arall am 1% o werth y cwmni