equal
deleted
inserted
replaced
638 SetDParam(0, str); |
638 SetDParam(0, str); |
639 DrawString(x, y, STR_0008_WAITING, 0); |
639 DrawString(x, y, STR_0008_WAITING, 0); |
640 y += 10; |
640 y += 10; |
641 } |
641 } |
642 |
642 |
643 CargoID i = 0; |
643 for (CargoID i = 0; i != NUM_CARGO && pos > -5; i++) { |
644 do { |
|
645 uint waiting = GB(st->goods[i].waiting_acceptance, 0, 12); |
644 uint waiting = GB(st->goods[i].waiting_acceptance, 0, 12); |
646 if (waiting == 0) continue; |
645 if (waiting == 0) continue; |
647 |
646 |
648 num = (waiting + 5) / 10; |
647 num = (waiting + 5) / 10; |
649 if (num != 0) { |
648 if (num != 0) { |
675 SetDParam(0, st->goods[i].enroute_from); |
674 SetDParam(0, st->goods[i].enroute_from); |
676 DrawStringRightAligned(x + 234, y, STR_000B, 0); |
675 DrawStringRightAligned(x + 234, y, STR_000B, 0); |
677 y += 10; |
676 y += 10; |
678 } |
677 } |
679 } |
678 } |
680 } while (pos > -5 && ++i != NUM_CARGO); |
679 } |
681 |
680 |
682 if (IsWindowOfPrototype(w, _station_view_widgets)) { |
681 if (IsWindowOfPrototype(w, _station_view_widgets)) { |
683 char *b = _userstring; |
682 char *b = _userstring; |
684 bool first = true; |
683 bool first = true; |
685 |
684 |