(svn r4767) - Newstations: fix loading / use of custom ground sprites

This commit is contained in:
peter1138
2006-05-07 10:58:53 +00:00
parent 24854be59e
commit 31a54a6835
6 changed files with 77 additions and 41 deletions

View File

@@ -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. */