summaryrefslogtreecommitdiff
path: root/src/station_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-31 06:42:26 +0000
committerrubidium <rubidium@openttd.org>2008-03-31 06:42:26 +0000
commit6f15d34fe53d317bb50688641cbf4ec48c6c82df (patch)
treeca1da1b595ee5229eb189471cdef8c2c304464b4 /src/station_func.h
parentef2be7d0fc13aadeb124481943c573ff224162a9 (diff)
downloadopenttd-6f15d34fe53d317bb50688641cbf4ec48c6c82df.tar.xz
(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).
Diffstat (limited to 'src/station_func.h')
-rw-r--r--src/station_func.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/station_func.h b/src/station_func.h
index 2db114279..917314402 100644
--- a/src/station_func.h
+++ b/src/station_func.h
@@ -7,6 +7,7 @@
#include "station_type.h"
#include "sprite.h"
+#include "rail_type.h"
#include "road_type.h"
#include "tile_type.h"
#include "cargo_type.h"
@@ -40,4 +41,11 @@ void ClearSlot(Vehicle *v);
void DeleteOilRig(TileIndex t);
+/* Check if a rail station tile is traversable. */
+bool IsStationTileBlocked(TileIndex tile);
+
+/* Check if a rail station tile is electrifiable. */
+bool IsStationTileElectrifiable(TileIndex tile);
+
+
#endif /* STATION_FUNC_H */