summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-04 19:27:41 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-04 19:27:41 +0000
commitc22e79d5515b158f5e15bc78e73565c1d4aafd12 (patch)
treec1bfd2151940e66ca527249b315144e0fa5eb37c /newgrf_station.h
parente5d936d0fe05621bb6b1448ba5c3e5f264a874f7 (diff)
downloadopenttd-c22e79d5515b158f5e15bc78e73565c1d4aafd12.tar.xz
(svn r4740) - Newstations: add function to evaluate station callbacks
Diffstat (limited to 'newgrf_station.h')
-rw-r--r--newgrf_station.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newgrf_station.h b/newgrf_station.h
index d14d215d8..cd3900d73 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -99,6 +99,7 @@ const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station);
* NULL - that means we are in a build dialog). The station structure is used
* for variational sprite groups. */
SpriteID GetCustomStationRelocation(const StationSpec *statspec, const Station *st, TileIndex tile);
+uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile);
/* Allocate a StationSpec to a Station. This is called once per build operation. */
int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);