(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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user