From 877ca99198b7c4113d18d2c2aa744732b843d735 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 31 Mar 2008 06:42:26 +0000 Subject: (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). --- src/station_func.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/station_func.h') 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 */ -- cgit v1.2.3-54-g00ecf