diff options
author | rubidium <rubidium@openttd.org> | 2007-07-12 13:40:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-12 13:40:24 +0000 |
commit | 7cd00468d6f6bbe81dba02761c0b3110596ef0c3 (patch) | |
tree | e986cc1d16371565e3936109564f6db81a52476d /src/gui.h | |
parent | 6f0db273d649b5f607f4e3fc85c93945169fb9a2 (diff) | |
download | openttd-7cd00468d6f6bbe81dba02761c0b3110596ef0c3.tar.xz |
(svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
Diffstat (limited to 'src/gui.h')
-rw-r--r-- | src/gui.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -108,7 +108,13 @@ void ShowPlayerCompany(PlayerID player); void ShowEstimatedCostOrIncome(Money cost, int x, int y); void ShowErrorMessage(StringID msg_1, StringID msg_2, int x, int y); -void DrawStationCoverageAreaText(int sx, int sy, uint mask,int rad); +enum StationCoverageType { + SCT_PASSENGERS_ONLY, + SCT_NON_PASSENGERS_ONLY, + SCT_ALL +}; + +void DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad); void CheckRedrawStationCoverage(const Window *w); void ShowSmallMap(); |