mirror of https://github.com/OpenTTD/OpenTTD
Compare commits
4 Commits
f24f651096
...
4b274e0447
Author | SHA1 | Date |
---|---|---|
|
4b274e0447 | |
|
13759e9f23 | |
|
3e06c69e26 | |
|
797f2e15ba |
|
@ -453,6 +453,9 @@ void Aircraft::OnNewCalendarDay()
|
|||
void Aircraft::OnNewEconomyDay()
|
||||
{
|
||||
if (!this->IsNormalAircraft()) return;
|
||||
|
||||
PerformanceAccumulator framerate(PFE_GL_AIRCRAFT);
|
||||
|
||||
EconomyAgeVehicle(this);
|
||||
|
||||
if ((++this->day_counter & 7) == 0) DecreaseVehicleValue(this);
|
||||
|
|
|
@ -1010,11 +1010,14 @@ STR_GRAPH_CARGO_ENABLE_ALL :{TINY_FONT}{BLA
|
|||
STR_GRAPH_CARGO_DISABLE_ALL :{TINY_FONT}{BLACK}Żaden
|
||||
STR_GRAPH_CARGO_TOOLTIP_ENABLE_ALL :{BLACK}Wyświetl wszystkie ładunki na wykresie stawek za ładunek
|
||||
STR_GRAPH_CARGO_TOOLTIP_DISABLE_ALL :{BLACK}Ukryj wszystkie ładunki na wykresie stawek za ładunek
|
||||
STR_GRAPH_CARGO_PAYMENT_TOGGLE_CARGO :{BLACK}Przełącz ukrywanie/wyświetlanie wykresu danego typu ładunku
|
||||
STR_GRAPH_CARGO_PAYMENT_TOGGLE_CARGO :{BLACK}Przełącz ukrywanie/wyświetlanie wykresu ładunku danego typu
|
||||
STR_GRAPH_CARGO_PAYMENT_CARGO :{TINY_FONT}{BLACK}{STRING}
|
||||
|
||||
STR_GRAPH_INDUSTRY_CAPTION :{WHITE}{INDUSTRY} - Historia Ładunków
|
||||
STR_GRAPH_INDUSTRY_RANGE_PRODUCED :Wyprodukowano
|
||||
STR_GRAPH_INDUSTRY_RANGE_TRANSPORTED :Przetransportowano
|
||||
STR_GRAPH_INDUSTRY_RANGE_DELIVERED :Dostarczono
|
||||
STR_GRAPH_INDUSTRY_RANGE_WAITING :Oczekujący
|
||||
|
||||
STR_GRAPH_PERFORMANCE_DETAIL_TOOLTIP :{BLACK}Pokaż szczegóły oceny wydajności
|
||||
|
||||
|
@ -4403,6 +4406,8 @@ STR_INDUSTRY_VIEW_PRODUCTION_LAST_MONTH_TITLE :{BLACK}Wyproduk
|
|||
STR_INDUSTRY_VIEW_PRODUCTION_LAST_MINUTE_TITLE :{BLACK}Wyprodukowano w poprzedniej minucie:
|
||||
STR_INDUSTRY_VIEW_TRANSPORTED :{YELLOW}{CARGO_LONG}{STRING}{BLACK} ({COMMA}% przetransportowano)
|
||||
STR_INDUSTRY_VIEW_LOCATION_TOOLTIP :{BLACK}Wyśrodkuj widok główny na lokalizacji przedsiębiorstwa. Użyj Ctrl, aby otworzyć nowy podgląd na jego lokalizację
|
||||
STR_INDUSTRY_VIEW_CARGO_GRAPH :{BLACK}Wykres Produkcji
|
||||
STR_INDUSTRY_VIEW_CARGO_GRAPH_TOOLTIP :{BLACK}Wyświetl na wykresie historię stanu ładunków w tym przedsiębiorstwie
|
||||
STR_INDUSTRY_VIEW_PRODUCTION_LEVEL :{BLACK}Poziom produkcji: {YELLOW}{COMMA}%
|
||||
STR_INDUSTRY_VIEW_INDUSTRY_ANNOUNCED_CLOSURE :{YELLOW}Przedsiębiorstwo ogłosiło likwidację!
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
##id 0x0000
|
||||
STR_NULL :
|
||||
STR_EMPTY :
|
||||
STR_UNDEFINED :(frase indefinida)
|
||||
STR_UNDEFINED :(cadeia de caracteres indefinida)
|
||||
STR_JUST_NOTHING :Nada
|
||||
|
||||
# Cargo related strings
|
||||
|
|
|
@ -59,7 +59,7 @@ static ChangeInfoResult LoadTranslationTable(uint first, uint last, ByteReader &
|
|||
GRFFile *grf_override = GetCurrentGRFOverride();
|
||||
if (grf_override != nullptr) {
|
||||
/* GRF override is present, copy the translation table to the overridden GRF as well. */
|
||||
GrfMsg(1, "LoadTranslationTable: Copying {} translation table to override GRFID '{}'", name, std::byteswap(grf_override->grfid));
|
||||
GrfMsg(1, "LoadTranslationTable: Copying {} translation table to override GRFID {:08X}", name, std::byteswap(grf_override->grfid));
|
||||
std::vector<T> &override_table = gettable(*grf_override);
|
||||
override_table = translation_table;
|
||||
}
|
||||
|
|
|
@ -1723,6 +1723,9 @@ void RoadVehicle::OnNewCalendarDay()
|
|||
void RoadVehicle::OnNewEconomyDay()
|
||||
{
|
||||
if (!this->IsFrontEngine()) return;
|
||||
|
||||
PerformanceAccumulator framerate(PFE_GL_ROADVEHS);
|
||||
|
||||
EconomyAgeVehicle(this);
|
||||
|
||||
if ((++this->day_counter & 7) == 0) DecreaseVehicleValue(this);
|
||||
|
|
|
@ -260,6 +260,8 @@ void Ship::OnNewCalendarDay()
|
|||
/** Economy day handler. */
|
||||
void Ship::OnNewEconomyDay()
|
||||
{
|
||||
PerformanceAccumulator framerate(PFE_GL_SHIPS);
|
||||
|
||||
EconomyAgeVehicle(this);
|
||||
|
||||
if ((++this->day_counter & 7) == 0) {
|
||||
|
|
|
@ -4167,6 +4167,8 @@ void Train::OnNewCalendarDay()
|
|||
/** Economy day handler. */
|
||||
void Train::OnNewEconomyDay()
|
||||
{
|
||||
PerformanceAccumulator framerate(PFE_GL_TRAINS);
|
||||
|
||||
EconomyAgeVehicle(this);
|
||||
|
||||
if ((++this->day_counter & 7) == 0) DecreaseVehicleValue(this);
|
||||
|
|
|
@ -955,16 +955,17 @@ void CallVehicleTicks()
|
|||
{
|
||||
_vehicles_to_autoreplace.clear();
|
||||
|
||||
PerformanceAccumulator::Reset(PFE_GL_TRAINS);
|
||||
PerformanceAccumulator::Reset(PFE_GL_ROADVEHS);
|
||||
PerformanceAccumulator::Reset(PFE_GL_SHIPS);
|
||||
PerformanceAccumulator::Reset(PFE_GL_AIRCRAFT);
|
||||
|
||||
RunEconomyVehicleDayProc();
|
||||
|
||||
{
|
||||
PerformanceMeasurer framerate(PFE_GL_ECONOMY);
|
||||
for (Station *st : Station::Iterate()) LoadUnloadStation(st);
|
||||
}
|
||||
PerformanceAccumulator::Reset(PFE_GL_TRAINS);
|
||||
PerformanceAccumulator::Reset(PFE_GL_ROADVEHS);
|
||||
PerformanceAccumulator::Reset(PFE_GL_SHIPS);
|
||||
PerformanceAccumulator::Reset(PFE_GL_AIRCRAFT);
|
||||
|
||||
for (Vehicle *v : Vehicle::Iterate()) {
|
||||
[[maybe_unused]] VehicleID vehicle_index = v->index;
|
||||
|
|
Loading…
Reference in New Issue