summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-06-12 20:32:52 +0000
committerterkhen <terkhen@openttd.org>2011-06-12 20:32:52 +0000
commite127fca384892a22a393fe68c88d9291c5c1d18c (patch)
tree171a95ea61a2f3462caa4d124139dcdd59a3114d /src/newgrf_station.h
parentd7ec492887674362c6a054b28faf26707932df64 (diff)
downloadopenttd-e127fca384892a22a393fe68c88d9291c5c1d18c.tar.xz
(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index e82747bf7..e1da520c9 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -113,7 +113,7 @@ uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, i
SpriteID GetCustomStationRelocation(const StationSpec *statspec, const BaseStation *st, TileIndex tile, uint32 var10 = 0);
SpriteID GetCustomStationFoundationRelocation(const StationSpec *statspec, const BaseStation *st, TileIndex tile, uint layout, uint edge_info);
-uint16 GetStationCallback(CallbackID callback, uint32 param1, uint32 param2, const StationSpec *statspec, const BaseStation *st, TileIndex tile);
+uint16 GetStationCallback(CallbackID callback, uint32 param1, uint32 param2, const StationSpec *statspec, BaseStation *st, TileIndex tile);
/* Allocate a StationSpec to a Station. This is called once per build operation. */
int AllocateSpecToStation(const StationSpec *statspec, BaseStation *st, bool exec);
@@ -125,7 +125,7 @@ void DeallocateSpecFromStation(BaseStation *st, byte specindex);
bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID sclass, uint station);
void AnimateStationTile(TileIndex tile);
-void TriggerStationAnimation(const BaseStation *st, TileIndex tile, StationAnimationTrigger trigger, CargoID cargo_type = CT_INVALID);
+void TriggerStationAnimation(BaseStation *st, TileIndex tile, StationAnimationTrigger trigger, CargoID cargo_type = CT_INVALID);
void StationUpdateAnimTriggers(BaseStation *st);
#endif /* NEWGRF_STATION_H */