(svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff).

This commit is contained in:
rubidium
2008-03-31 06:42:26 +00:00
parent ef2be7d0fc
commit 6f15d34fe5
18 changed files with 38 additions and 18 deletions

View File

@@ -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 */