summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-07 10:58:53 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-07 10:58:53 +0000
commit31a54a6835c6950d943bc0434653d555392a56af (patch)
tree28a6067bb4eb207cd3c7980dc477b8d7bffaed2c /newgrf_station.h
parent24854be59e4150d08b3797c775b2cdcafcd73791 (diff)
downloadopenttd-31a54a6835c6950d943bc0434653d555392a56af.tar.xz
(svn r4767) - Newstations: fix loading / use of custom ground sprites
Diffstat (limited to 'newgrf_station.h')
-rw-r--r--newgrf_station.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newgrf_station.h b/newgrf_station.h
index 4ff686b37..8e01c4923 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -71,6 +71,7 @@ typedef struct StationSpec {
* evaluating callbacks.
*/
SpriteGroup *spritegroup[NUM_GLOBAL_CID];
+ SpriteGroup *groundgroup;
} StationSpec;
/**
@@ -103,6 +104,7 @@ uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, i
* 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);
+SpriteID GetCustomStationGroundRelocation(const StationSpec *statspec, const Station *st, TileIndex tile);
uint16 GetStationCallback(uint16 callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile);
/* Check if a rail station tile is traversable. */