equal
deleted
inserted
replaced
363 assert(depot != NULL); |
363 assert(depot != NULL); |
364 |
364 |
365 SetDParam(0, depot->town_index); |
365 SetDParam(0, depot->town_index); |
366 } |
366 } |
367 |
367 |
368 DrawWindowWidgets(w); |
368 w->DrawWidgets(); |
369 |
369 |
370 num = this->vscroll.pos * boxes_in_each_row; |
370 num = this->vscroll.pos * boxes_in_each_row; |
371 maxval = min(this->engine_count, num + (rows_in_display * boxes_in_each_row)); |
371 maxval = min(this->engine_count, num + (rows_in_display * boxes_in_each_row)); |
372 |
372 |
373 for (x = 2, y = 15; num < maxval; y += this->resize.step_height, x = 2) { // Draw the rows |
373 for (x = 2, y = 15; num < maxval; y += this->resize.step_height, x = 2) { // Draw the rows |