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
commit877ca99198b7c4113d18d2c2aa744732b843d735 (patch)
treeca1da1b595ee5229eb189471cdef8c2c304464b4 /src/station_func.h
parentdf1d9bd8808fbf0f7e871f6ab5b361b7c8c4ad9d (diff)
downloadopenttd-877ca99198b7c4113d18d2c2aa744732b843d735.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 */