summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-06 20:33:22 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-06 20:33:22 +0000
commitf689b2087469851b0db826d5d82c6892565cbff6 (patch)
tree3e95909577865aa683688e9760e70991a2347b18 /station_cmd.c
parent5c94fd7afa166551a4ceee4df657c561f2ba957c (diff)
downloadopenttd-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.c4
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;