diff options
author | peter1138 <peter1138@openttd.org> | 2006-02-03 23:02:01 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-02-03 23:02:01 +0000 |
commit | 05d7d046c71943317d31c2e3c22a960faf38f6f1 (patch) | |
tree | c3c5d03adebff80a4e0005e6e6590c5611d8641a /newgrf_station.h | |
parent | c5a669b39f6a78ee3ed0b819dd9bc5985cbb2c18 (diff) | |
download | openttd-05d7d046c71943317d31c2e3c22a960faf38f6f1.tar.xz |
(svn r3530) - NewGRF: Move station resolver to newgrf_station
Diffstat (limited to 'newgrf_station.h')
-rw-r--r-- | newgrf_station.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newgrf_station.h b/newgrf_station.h index 60033de77..12515c5af 100644 --- a/newgrf_station.h +++ b/newgrf_station.h @@ -74,4 +74,9 @@ uint GetNumCustomStations(StationClassID sclass); void SetCustomStation(StationSpec *spec); const StationSpec *GetCustomStation(StationClassID sclass, uint station); +/* Get sprite offset for a given custom station and station structure (may be + * NULL if ctype is set - that means we are in a build dialog). The station + * structure is used for variational sprite groups. */ +uint32 GetCustomStationRelocation(const StationSpec *spec, const Station *st, byte ctype); + #endif /* NEWGRF_STATION_H */ |