equal
deleted
inserted
replaced
638 } |
638 } |
639 |
639 |
640 DrawStringMultiLine(str_x, str_y, STR_SPEC_USERSTRING, 144); |
640 DrawStringMultiLine(str_x, str_y, STR_SPEC_USERSTRING, 144); |
641 } |
641 } |
642 |
642 |
643 void DrawStationCoverageAreaText(int sx, int sy, uint mask) { |
643 void DrawStationCoverageAreaText(int sx, int sy, uint mask, int rad) { |
644 int x = _thd.pos.x; |
644 int x = _thd.pos.x; |
645 int y = _thd.pos.y; |
645 int y = _thd.pos.y; |
646 uint accepts[NUM_CARGO]; |
646 uint accepts[NUM_CARGO]; |
647 if (x != -1) { |
647 if (x != -1) { |
648 GetAcceptanceAroundTiles(accepts, TILE_FROM_XY(x,y), _thd.new_size.x >> 4, _thd.new_size.y >> 4); |
648 GetAcceptanceAroundTiles(accepts, TILE_FROM_XY(x,y), _thd.new_size.x >> 4, _thd.new_size.y >> 4, rad); |
649 DrawStationCoverageText(accepts, sx, sy, mask); |
649 DrawStationCoverageText(accepts, sx, sy, mask); |
650 } |
650 } |
651 } |
651 } |
652 |
652 |
653 void CheckRedrawStationCoverage(Window *w) |
653 void CheckRedrawStationCoverage(Window *w) |