summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-02 16:20:44 +0000
committerrubidium <rubidium@openttd.org>2009-12-02 16:20:44 +0000
commit81062163a25497e9d83fd354b53234d1796f675d (patch)
tree207947eb4a906654b373c62ba6b6fca2fbe96727 /src/station_base.h
parent1c65150d6d30e460d1615c907e9c403d45a518ed (diff)
downloadopenttd-81062163a25497e9d83fd354b53234d1796f675d.tar.xz
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h
index b912a4357..cdf06c0d7 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -67,7 +67,10 @@ public:
}
RoadStop *bus_stops; ///< All the road stops
+ TileArea bus_station; ///< Tile area the bus 'station' part covers
RoadStop *truck_stops; ///< All the truck stops
+ TileArea truck_station; ///< Tile area the truck 'station' part covers
+
TileIndex airport_tile; ///< The location of the airport
TileIndex dock_tile; ///< The location of the dock