diff options
author | smatz <smatz@openttd.org> | 2009-08-07 21:11:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-07 21:11:58 +0000 |
commit | 39e145e586385861b4e3ded70f7df0a29b56fa00 (patch) | |
tree | 60a8aa42867fd72e863b67b69d1f717cfb1e5cb9 /src/station_base.h | |
parent | 33288c9d5059fba7aee5eb15eb5c4b60034178c5 (diff) | |
download | openttd-39e145e586385861b4e3ded70f7df0a29b56fa00.tar.xz |
(svn r17106) -Codechange: move computation of station's catchment rectagle to separate function
Diffstat (limited to 'src/station_base.h')
-rw-r--r-- | src/station_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h index 7ddb92b39..c1b0640e1 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -101,6 +101,7 @@ public: static void RecomputeIndustriesNearForAll(); uint GetCatchmentRadius() const; + Rect GetCatchmentRect() const; /* virtual */ FORCEINLINE bool TileBelongsToRailStation(TileIndex tile) const { |