--- a/station.h Fri Mar 31 19:01:57 2006 +0000
+++ b/station.h Fri Mar 31 19:10:54 2006 +0000
@@ -213,10 +213,6 @@
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 @@
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 */