(svn r16102) -Codechange: unify the vehicle info strings; reduce the number of duplicate strings and unifies the GUIs quite a bit

This commit is contained in:
rubidium
2009-04-20 21:29:41 +00:00
parent d582747919
commit edf3fb9e73
56 changed files with 35 additions and 1392 deletions

View File

@@ -169,9 +169,9 @@ static void TrainDetailsCapacityTab(const Vehicle *v, int left, int right, int y
if (v->cargo_cap != 0) {
SetDParam(0, v->cargo_type);
SetDParam(1, v->cargo_cap);
SetDParam(2, GetCargoSubtypeText(v));
SetDParam(3, _settings_game.vehicle.freight_trains);
DrawString(left, right, y, FreightWagonMult(v->cargo_type) > 1 ? STR_CAPACITY_MULT : STR_013F_CAPACITY, TC_FROMSTRING);
SetDParam(4, GetCargoSubtypeText(v));
SetDParam(5, _settings_game.vehicle.freight_trains);
DrawString(left, right, y, FreightWagonMult(v->cargo_type) > 1 ? STR_VEHICLE_INFO_CAPACITY_MULT : STR_VEHICLE_INFO_CAPACITY, TC_FROMSTRING);
}
}