summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-29 19:37:18 +0000
committercelestar <celestar@openttd.org>2006-03-29 19:37:18 +0000
commitf188d35dac3608264880c5c5455777d160d77a7c (patch)
tree7a0d4bdad6d3567a2b54f69e19309a9d581123cf /station.h
parentc442586676d56bf3beef68712ba650a8d657e9ba (diff)
downloadopenttd-f188d35dac3608264880c5c5455777d160d77a7c.tar.xz
(svn r4155) -Changed GetRoadStopByTile to use GetStationType and moved it. TODO: unify RS_TRUCK and STATION_TRUCK (same for bus)
Diffstat (limited to 'station.h')
-rw-r--r--station.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/station.h b/station.h
index f62990509..c1538bf9d 100644
--- a/station.h
+++ b/station.h
@@ -194,11 +194,6 @@ uint GetStationPlatforms(const Station *st, TileIndex tile);
void StationPickerDrawSprite(int x, int y, RailType railtype, int image);
RoadStop * GetRoadStopByTile(TileIndex tile, RoadStopType type);
-static inline RoadStopType GetRoadStopType(TileIndex tile)
-{
- return (_m[tile].m5 < 0x47) ? RS_TRUCK : RS_BUS;
-}
-
RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type);
uint GetNumRoadStops(const Station* st, RoadStopType type);
RoadStop * AllocateRoadStop( void );