From 9e3ee0e689343c7701453c0fa4220d21fa3c46ce Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 25 Jul 2007 19:06:29 +0000 Subject: (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. --- src/newgrf_station.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/newgrf_station.h') diff --git a/src/newgrf_station.h b/src/newgrf_station.h index d3dd0ac99..a14330303 100644 --- a/src/newgrf_station.h +++ b/src/newgrf_station.h @@ -6,6 +6,7 @@ #define NEWGRF_STATION_H #include "engine.h" +#include "newgrf_callbacks.h" #include "newgrf_cargo.h" #include "helpers.hpp" @@ -117,7 +118,7 @@ uint32 GetPlatformInfo(Axis axis, byte tile, int platforms, int length, int x, i * 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); +uint16 GetStationCallback(CallbackID callback, uint32 param1, uint32 param2, const StationSpec *statspec, const Station *st, TileIndex tile); /* Check if a rail station tile is traversable. */ bool IsStationTileBlocked(TileIndex tile); -- cgit v1.2.3-54-g00ecf