train_gui.c
changeset 3401 3eb83140e401
parent 3393 c40975f04842
child 3477 4a686a43af8a
equal deleted inserted replaced
3400:28e45a4563b4 3401:3eb83140e401
  1172 	DrawString(x, 15, STR_885D_AGE_RUNNING_COST_YR, 0);
  1172 	DrawString(x, 15, STR_885D_AGE_RUNNING_COST_YR, 0);
  1173 
  1173 
  1174 	SetDParam(2, v->u.rail.cached_max_speed * 10 >> 4);
  1174 	SetDParam(2, v->u.rail.cached_max_speed * 10 >> 4);
  1175 	SetDParam(1, v->u.rail.cached_power);
  1175 	SetDParam(1, v->u.rail.cached_power);
  1176 	SetDParam(0, v->u.rail.cached_weight);
  1176 	SetDParam(0, v->u.rail.cached_weight);
  1177 	DrawString(x, 25, STR_885E_WEIGHT_T_POWER_HP_MAX_SPEED, 0);
  1177 	DrawString(x, 25, STR_VEHICLE_INFO_WEIGHT_POWER_MAX_SPEED, 0);
  1178 
  1178 
  1179 	SetDParam(0, v->profit_this_year);
  1179 	SetDParam(0, v->profit_this_year);
  1180 	SetDParam(1, v->profit_last_year);
  1180 	SetDParam(1, v->profit_last_year);
  1181 	DrawString(x, 35, STR_885F_PROFIT_THIS_YEAR_LAST_YEAR, 0);
  1181 	DrawString(x, 35, STR_885F_PROFIT_THIS_YEAR_LAST_YEAR, 0);
  1182 
  1182