82 DrawString(2, 15, STR_A00D_AGE_RUNNING_COST_YR, 0); |
82 DrawString(2, 15, STR_A00D_AGE_RUNNING_COST_YR, 0); |
83 } |
83 } |
84 |
84 |
85 /* Draw max speed */ |
85 /* Draw max speed */ |
86 { |
86 { |
87 SetDParam(0, v->max_speed * 128 / 10); |
87 SetDParam(0, v->max_speed * 10 / 16); |
88 DrawString(2, 25, STR_A00E_MAX_SPEED, 0); |
88 DrawString(2, 25, STR_A00E_MAX_SPEED, 0); |
89 } |
89 } |
90 |
90 |
91 /* Draw profit */ |
91 /* Draw profit */ |
92 { |
92 { |
261 str = STR_8861_STOPPED; |
261 str = STR_8861_STOPPED; |
262 } else { |
262 } else { |
263 switch (v->current_order.type) { |
263 switch (v->current_order.type) { |
264 case OT_GOTO_STATION: { |
264 case OT_GOTO_STATION: { |
265 SetDParam(0, v->current_order.dest); |
265 SetDParam(0, v->current_order.dest); |
266 SetDParam(1, v->cur_speed * 8); |
266 SetDParam(1, v->cur_speed * 10 / 16); |
267 str = STR_HEADING_FOR_STATION + _patches.vehicle_speed; |
267 str = STR_HEADING_FOR_STATION + _patches.vehicle_speed; |
268 } break; |
268 } break; |
269 |
269 |
270 case OT_GOTO_DEPOT: { |
270 case OT_GOTO_DEPOT: { |
271 /* Aircrafts always go to a station, even if you say depot */ |
271 /* Aircrafts always go to a station, even if you say depot */ |
272 SetDParam(0, v->current_order.dest); |
272 SetDParam(0, v->current_order.dest); |
273 SetDParam(1, v->cur_speed * 8); |
273 SetDParam(1, v->cur_speed * 10 / 16); |
274 if (HASBIT(v->current_order.flags, OFB_HALT_IN_DEPOT) && !HASBIT(v->current_order.flags, OFB_PART_OF_ORDERS)) { |
274 if (HASBIT(v->current_order.flags, OFB_HALT_IN_DEPOT) && !HASBIT(v->current_order.flags, OFB_PART_OF_ORDERS)) { |
275 str = STR_HEADING_FOR_HANGAR + _patches.vehicle_speed; |
275 str = STR_HEADING_FOR_HANGAR + _patches.vehicle_speed; |
276 } else { |
276 } else { |
277 str = STR_HEADING_FOR_HANGAR_SERVICE + _patches.vehicle_speed; |
277 str = STR_HEADING_FOR_HANGAR_SERVICE + _patches.vehicle_speed; |
278 } |
278 } |