diff options
author | rubidium <rubidium@openttd.org> | 2007-11-15 22:20:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-11-15 22:20:33 +0000 |
commit | 4dcd71038dae4f16bf09f5801527c6cc1de0fe50 (patch) | |
tree | 88015240b86be132230200ee9125a9aa2693955d /src/station.h | |
parent | 70c7a44a4d6fb087ec2cbc00ca30fc9ed82e4cba (diff) | |
download | openttd-4dcd71038dae4f16bf09f5801527c6cc1de0fe50.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.h | 6 |
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(); |