diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-06 20:33:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-06 20:33:22 +0000 |
commit | f689b2087469851b0db826d5d82c6892565cbff6 (patch) | |
tree | 3e95909577865aa683688e9760e70991a2347b18 /station_cmd.c | |
parent | 5c94fd7afa166551a4ceee4df657c561f2ba957c (diff) | |
download | openttd-f689b2087469851b0db826d5d82c6892565cbff6.tar.xz |
(svn r4754) - Newstations: expose default station display data via a function so we can use it (rarely) in other places.
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c index e523e491b..0d4160242 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1977,6 +1977,10 @@ static int32 RemoveDock(Station *st, uint32 flags) #include "table/station_land.h" +const DrawTileSprites *GetStationTileLayout(byte gfx) +{ + return &_station_display_datas[gfx]; +} extern uint16 _custom_sprites_base; |