summaryrefslogtreecommitdiff
path: root/src/station_func.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2012-12-23 15:38:54 +0000
committerpeter1138 <peter1138@openttd.org>2012-12-23 15:38:54 +0000
commitfb58c42aa07679fba72a76e9c01d01de6fb69e3b (patch)
tree11139528802009848d5ef41ee15965a1e499bafe /src/station_func.h
parent245e32a10efb0dc924289a8cdec089cd13f3b47d (diff)
downloadopenttd-fb58c42aa07679fba72a76e9c01d01de6fb69e3b.tar.xz
(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.
Diffstat (limited to 'src/station_func.h')
-rw-r--r--src/station_func.h3
1 files changed, 3 insertions, 0 deletions
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.