summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-21 11:11:05 +0000
committerrubidium <rubidium@openttd.org>2009-07-21 11:11:05 +0000
commit43eda3dfbf45a8f5060aaca3da9b8cad59a1aad8 (patch)
treef679af938cac59410e256882dfa0f5845b47b71e /src/newgrf_station.h
parentc63338cd8158fa8a60afe74395d4f5e659317581 (diff)
downloadopenttd-43eda3dfbf45a8f5060aaca3da9b8cad59a1aad8.tar.xz
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
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 3031a4ca9..bc84b4983 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -136,10 +136,10 @@ SpriteID GetCustomStationGroundRelocation(const StationSpec *statspec, const Bas
uint16 GetStationCallback(CallbackID callback, uint32 param1, uint32 param2, const StationSpec *statspec, const BaseStation *st, TileIndex tile);
/* Allocate a StationSpec to a Station. This is called once per build operation. */
-int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);
+int AllocateSpecToStation(const StationSpec *statspec, BaseStation *st, bool exec);
/* Deallocate a StationSpec from a Station. Called when removing a single station tile. */
-void DeallocateSpecFromStation(Station *st, byte specindex);
+void DeallocateSpecFromStation(BaseStation *st, byte specindex);
/* Draw representation of a station tile for GUI purposes. */
bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID sclass, uint station);