summaryrefslogtreecommitdiff
path: root/src/station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-11-15 22:20:33 +0000
committerrubidium <rubidium@openttd.org>2007-11-15 22:20:33 +0000
commitfbd234d2744b84151037b870c807317dd3b2c704 (patch)
tree88015240b86be132230200ee9125a9aa2693955d /src/station.h
parent72a59fade23a9a8971348179d652d468694e2159 (diff)
downloadopenttd-fbd234d2744b84151037b870c807317dd3b2c704.tar.xz
(svn r11442) -Feature: make news messages related to the industry (production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/station.h b/src/station.h
index fefca32fa..7aac579c4 100644
--- a/src/station.h
+++ b/src/station.h
@@ -14,6 +14,7 @@
#include "newgrf_station.h"
#include "cargopacket.h"
#include <list>
+#include <set>
struct Station;
struct RoadStop;
@@ -241,6 +242,11 @@ enum CatchmentArea {
void ModifyStationRatingAround(TileIndex tile, PlayerID owner, int amount, uint radius);
+/** A set of stations (\c const \c Station* ) */
+typedef std::set<Station*> StationSet;
+
+StationSet FindStationsAroundIndustryTile(TileIndex tile, int w, int h);
+
void ShowStationViewWindow(StationID station);
void UpdateAllStationVirtCoord();