22 #include "table/strings.h"
37 Money feeder_share = 0;
40 if (u->IsNormalAircraft()) {
44 DrawString(left, right, y, STR_VEHICLE_INFO_BUILT_VALUE);
51 DrawString(left, right, y +
FONT_HEIGHT_NORMAL, (u->Next()->cargo_cap != 0) ? STR_VEHICLE_INFO_CAPACITY_CAPACITY : STR_VEHICLE_INFO_CAPACITY);
54 if (u->cargo_cap != 0) {
55 uint cargo_count = u->cargo.StoredCount();
58 if (cargo_count != 0) {
64 feeder_share += u->cargo.FeederShare();
91 int x = rtl ? right - width - x_offs : left - x_offs;
101 SpriteID rotor_sprite = GetCustomRotorSprite(a,
true, image_type);
102 if (rotor_sprite == 0) rotor_sprite = SPR_ROTOR_STOPPED;
104 DrawSprite(rotor_sprite, PAL_NONE, x, y + y_offs - heli_offs);
106 if (v->
index == selection) {