From fb58c42aa07679fba72a76e9c01d01de6fb69e3b Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 23 Dec 2012 15:38:54 +0000 Subject: (svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews. --- src/station_func.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/station_func.h') diff --git a/src/station_func.h b/src/station_func.h index 233ffee30..000bd19ba 100644 --- a/src/station_func.h +++ b/src/station_func.h @@ -16,6 +16,7 @@ #include "rail_type.h" #include "road_type.h" #include "economy_func.h" +#include "rail.h" void ModifyStationRatingAround(TileIndex tile, Owner owner, int amount, uint radius); @@ -44,6 +45,8 @@ bool CanStationTileHaveWires(TileIndex tile); void UpdateAirportsNoise(); +bool SplitGroundSpriteForOverlay(const TileInfo *ti, SpriteID *ground, RailTrackOffset *overlay_offset); + /** * Calculates the maintenance cost of a number of station tiles. * @param num Number of station tiles. -- cgit v1.2.3-54-g00ecf