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 | c22e79d5515b158f5e15bc78e73565c1d4aafd12 (patch) | |
tree | c1bfd2151940e66ca527249b315144e0fa5eb37c /newgrf_station.h | |
parent | e5d936d0fe05621bb6b1448ba5c3e5f264a874f7 (diff) | |
download | openttd-c22e79d5515b158f5e15bc78e73565c1d4aafd12.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); |