diff options
author | smatz <smatz@openttd.org> | 2009-06-25 23:49:59 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-25 23:49:59 +0000 |
commit | f2e55319dd165f57e008e0fac355ce294fc98905 (patch) | |
tree | 7cb71b2eea39837e4e8ebfb80205ff31367f32ee /src/station.cpp | |
parent | c0ac230e3ea48e2e640dc74bc257f6f22d37bca3 (diff) | |
download | openttd-f2e55319dd165f57e008e0fac355ce294fc98905.tar.xz |
(svn r16661) -Codechange: move definition of few very short functions to header files
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/station.cpp b/src/station.cpp index 16d72e53e..8f8e884d9 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -186,11 +186,6 @@ void Station::MarkTilesDirty(bool cargo_change) const } } -bool Station::TileBelongsToRailStation(TileIndex tile) const -{ - return IsRailwayStationTile(tile) && GetStationIndex(tile) == this->index; -} - /** Obtain the length of a platform * @pre tile must be a railway station tile * @param tile A tile that contains the platform in question @@ -241,14 +236,6 @@ uint Station::GetPlatformLength(TileIndex tile, DiagDirection dir) const return length; } -/** Determines whether a station is a buoy only. - * @todo Ditch this encoding of buoys - */ -bool Station::IsBuoy() const -{ - return (had_vehicle_of_type & HVOT_BUOY) != 0; -} - /** Determines the catchment radius of the station * @return The radius */ |