summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-03-31 19:10:54 +0000
committercelestar <celestar@openttd.org>2006-03-31 19:10:54 +0000
commit2ab5b8e666d14df7437bfa01a78f7ade3af69fa5 (patch)
treeb1afcd4a3ffa7895ccd33c4d034fb543b8d4765f /station.h
parentbb8bdcb5d91bf76c164813fc8d2d27f86bd3da76 (diff)
downloadopenttd-2ab5b8e666d14df7437bfa01a78f7ade3af69fa5.tar.xz
(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency
Diffstat (limited to 'station.h')
-rw-r--r--station.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/station.h b/station.h
index c1538bf9d..ad458076a 100644
--- a/station.h
+++ b/station.h
@@ -213,10 +213,6 @@ static inline bool IsCompatibleTrainStationTile(TileIndex tile, TileIndex ref)
GB(_m[tile].m5, 0, 1) == GB(_m[ref].m5, 0, 1); // same direction?
}
-static inline bool IsRoadStationTile(TileIndex tile) {
- return IsTileType(tile, MP_STATION) && IS_BYTE_INSIDE(_m[tile].m5, 0x43, 0x4B);
-}
-
/**
* Check if a station really exists.
*/
@@ -235,13 +231,4 @@ static inline bool IsBuoyTile(TileIndex tile)
return IsTileType(tile, MP_STATION) && _m[tile].m5 == 0x52;
}
-/**
- * Get's the direction the road stop entrance points towards.
- */
-static inline DiagDirection GetRoadStationDir(TileIndex tile)
-{
- assert(IsRoadStationTile(tile));
- return (_m[tile].m5 - 0x43) & 3;
-}
-
#endif /* STATION_H */