summaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-12 13:40:24 +0000
committerrubidium <rubidium@openttd.org>2007-07-12 13:40:24 +0000
commit7cd00468d6f6bbe81dba02761c0b3110596ef0c3 (patch)
treee986cc1d16371565e3936109564f6db81a52476d /src/gui.h
parent6f0db273d649b5f607f4e3fc85c93945169fb9a2 (diff)
downloadopenttd-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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui.h b/src/gui.h
index cfe9fa5b9..34ba64f5c 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -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();