convert indentation to tabs
This commit is contained in:
@@ -77,6 +77,7 @@ This is usable for any OpenTTD servers
|
||||
***
|
||||
- Added active stations highlight to town zoning. Outlines stations that have been serviced in last ~50 days (as in checks for authority rating and town growth rate).
|
||||
- Fixed next counter in town window (was always showing -1 in case of custom growth rate).
|
||||
- Detailed station ratings tooltip (hover over rating in station window).
|
||||
|
||||
*** 1.5.3 (3 Dec 2015) ***
|
||||
- Update to OpenTTD 1.5.3
|
||||
|
||||
@@ -1591,19 +1591,19 @@ public:
|
||||
SetDParam(0, STR_STATION_RATING_TOOLTIP_NEWGRF_RATING_0 + (newgrf_rating <= 0 ? 0 : 1));
|
||||
SetDParam(1, newgrf_rating);
|
||||
GetString(this->data[line_nr], STR_STATION_RATING_TOOLTIP_NEWGRF_RATING, lastof(this->data[line_nr]));
|
||||
line_nr++;
|
||||
line_nr++;
|
||||
|
||||
SetDParam(0, min(last_speed, 0xFF));
|
||||
SetDParam(0, min(last_speed, 0xFF));
|
||||
GetString(this->data[line_nr], STR_STATION_RATING_TOOLTIP_NEWGRF_SPEED, lastof(this->data[line_nr]));
|
||||
line_nr++;
|
||||
line_nr++;
|
||||
|
||||
SetDParam(0, min(ge->max_waiting_cargo, 0xFFFF));
|
||||
SetDParam(0, min(ge->max_waiting_cargo, 0xFFFF));
|
||||
GetString(this->data[line_nr], STR_STATION_RATING_TOOLTIP_NEWGRF_WAITUNITS, lastof(this->data[line_nr]));
|
||||
line_nr++;
|
||||
line_nr++;
|
||||
|
||||
SetDParam(0, (min(ge->time_since_pickup, 0xFF) * 5 + 1) / 2);
|
||||
SetDParam(0, (min(ge->time_since_pickup, 0xFF) * 5 + 1) / 2);
|
||||
GetString(this->data[line_nr], STR_STATION_RATING_TOOLTIP_NEWGRF_WAITTIME, lastof(this->data[line_nr]));
|
||||
line_nr++;
|
||||
line_nr++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user