From d579af11e8c903c8019489c9a567b68cdd153b69 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 11 Jul 2011 16:32:35 +0000 Subject: (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. --- src/newgrf_station.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_station.h') diff --git a/src/newgrf_station.h b/src/newgrf_station.h index 82656ec04..7c9f80694 100644 --- a/src/newgrf_station.h +++ b/src/newgrf_station.h @@ -114,6 +114,7 @@ uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, i SpriteID GetCustomStationRelocation(const StationSpec *statspec, BaseStation *st, TileIndex tile, uint32 var10 = 0); SpriteID GetCustomStationFoundationRelocation(const StationSpec *statspec, BaseStation *st, TileIndex tile, uint layout, uint edge_info); uint16 GetStationCallback(CallbackID callback, uint32 param1, uint32 param2, const StationSpec *statspec, BaseStation *st, TileIndex tile); +CommandCost PerformStationTileSlopeCheck(TileIndex north_tile, TileIndex cur_tile, const StationSpec *statspec, Axis axis, byte plat_len, byte numtracks); /* Allocate a StationSpec to a Station. This is called once per build operation. */ int AllocateSpecToStation(const StationSpec *statspec, BaseStation *st, bool exec); -- cgit v1.2.3-54-g00ecf