|
@@ -444,25 +444,25 @@ public:
|
|
|
}
|
|
|
|
|
|
SetDParam(0, cargo->Index());
|
|
|
SetDParam(1, this->town->received[i].old_act);
|
|
|
SetDParam(2, cargo->Index());
|
|
|
SetDParam(3, this->town->goal[i]);
|
|
|
}
|
|
|
DrawString(tr.Indent(20, rtl), string);
|
|
|
tr.top += FONT_HEIGHT_NORMAL;
|
|
|
}
|
|
|
|
|
|
if (HasBit(this->town->flags, TOWN_IS_GROWING)) {
|
|
|
SetDParam(0, RoundDivSU(this->town->growth_rate + 1, DAY_TICKS));
|
|
|
SetDParam(0, RoundDivSU(this->town->growth_rate + 1, Ticks::DAY_TICKS));
|
|
|
DrawString(tr, this->town->fund_buildings_months == 0 ? STR_TOWN_VIEW_TOWN_GROWS_EVERY : STR_TOWN_VIEW_TOWN_GROWS_EVERY_FUNDED);
|
|
|
tr.top += FONT_HEIGHT_NORMAL;
|
|
|
} else {
|
|
|
DrawString(tr, STR_TOWN_VIEW_TOWN_GROW_STOPPED);
|
|
|
tr.top += FONT_HEIGHT_NORMAL;
|
|
|
}
|
|
|
|
|
|
/* only show the town noise, if the noise option is activated. */
|
|
|
if (_settings_game.economy.station_noise_level) {
|
|
|
SetDParam(0, this->town->noise_reached);
|
|
|
SetDParam(1, this->town->MaxTownNoise());
|
|
|
DrawString(tr, STR_TOWN_VIEW_NOISE_IN_TOWN);
|