summaryrefslogtreecommitdiff
path: root/newgrf_station.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-04-27 18:28:56 +0000
committerbelugas <belugas@openttd.org>2006-04-27 18:28:56 +0000
commit187013b6a3962af91479d8837f04b82095b7059f (patch)
tree87c8ce2455b4248172760e3b393211907edadfd8 /newgrf_station.h
parent8d54122649ed7d816e91a3a13f2611642a6975d5 (diff)
downloadopenttd-187013b6a3962af91479d8837f04b82095b7059f.tar.xz
(svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.
This is following the same scheme as for IndustrySpec
Diffstat (limited to 'newgrf_station.h')
-rw-r--r--newgrf_station.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/newgrf_station.h b/newgrf_station.h
index 64eaeec41..00776dab5 100644
--- a/newgrf_station.h
+++ b/newgrf_station.h
@@ -91,16 +91,16 @@ StringID *BuildStationClassDropdown(void);
uint GetNumStationClasses(void);
uint GetNumCustomStations(StationClassID sclass);
-void SetCustomStation(StationSpec *spec);
-const StationSpec *GetCustomStation(StationClassID sclass, uint station);
+void SetCustomStationSpec(StationSpec *statspec);
+const StationSpec *GetCustomStationSpec(StationClassID sclass, uint station);
/* Get sprite offset for a given custom station and station structure (may be
* NULL if ctype is set - that means we are in a build dialog). The station
* structure is used for variational sprite groups. */
-uint32 GetCustomStationRelocation(const StationSpec *spec, const Station *st, byte ctype);
+uint32 GetCustomStationRelocation(const StationSpec *statspec, const Station *st, byte ctype);
/* Allocate a StationSpec to a Station. This is called once per build operation. */
-int AllocateSpecToStation(const StationSpec *spec, Station *st, bool exec);
+int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec);
/* Deallocate a StationSpec from a Station. Called when removing a single station tile. */
bool DeallocateSpecFromStation(Station *st, byte specindex);