diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-04 19:27:41 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-04 19:27:41 +0000 |
commit | 34668ff09d21211527f81b2e89599903163db58d (patch) | |
tree | c1bfd2151940e66ca527249b315144e0fa5eb37c /newgrf_station.h | |
parent | 4963eb80b783c22479e48a721cd2d8742eb7c793 (diff) | |
download | openttd-34668ff09d21211527f81b2e89599903163db58d.tar.xz |
(svn r4740) - Newstations: add function to evaluate station callbacks
Diffstat (limited to 'newgrf_station.h')
-rw-r--r-- | newgrf_station.h | 1 |
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); |