equal
deleted
inserted
replaced
44 year = _cur_year - 2; |
44 year = _cur_year - 2; |
45 j = 3; |
45 j = 3; |
46 x = 215; |
46 x = 215; |
47 tbl = p->yearly_expenses + 2; |
47 tbl = p->yearly_expenses + 2; |
48 do { |
48 do { |
49 if (year >= p->inaugurated_year) { |
49 if (year >= BASE_YEAR + p->inaugurated_year) { |
50 SetDParam(0, BASE_YEAR + year); |
50 SetDParam(0, year); |
51 DrawStringCenterUnderline(x-17, 15, STR_7010, 0); |
51 DrawStringCenterUnderline(x-17, 15, STR_7010, 0); |
52 sum = 0; |
52 sum = 0; |
53 for (i = 0; i != 13; i++) { |
53 for (i = 0; i != 13; i++) { |
54 /* draw one row in the price column */ |
54 /* draw one row in the price column */ |
55 cost = (*tbl)[i]; |
55 cost = (*tbl)[i]; |