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
commit34668ff09d21211527f81b2e89599903163db58d (patch)
treec1bfd2151940e66ca527249b315144e0fa5eb37c /newgrf_station.h
parent4963eb80b783c22479e48a721cd2d8742eb7c793 (diff)
downloadopenttd-34668ff09d21211527f81b2e89599903163db58d.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);