diff options
author | michi_cc <michi_cc@openttd.org> | 2011-07-11 16:32:35 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-07-11 16:32:35 +0000 |
commit | d579af11e8c903c8019489c9a567b68cdd153b69 (patch) | |
tree | 5ec23b092d4f0fa6dc6529605e62a20c022b65c3 /src/newgrf_station.h | |
parent | e5dd6f922799a5f741d5e040efcd689f0f5e875b (diff) | |
download | openttd-d579af11e8c903c8019489c9a567b68cdd153b69.tar.xz |
(svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations.
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r-- | src/newgrf_station.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |