summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-18 08:41:58 +0000
committerrubidium <rubidium@openttd.org>2009-07-18 08:41:58 +0000
commit8c17c6cb2bba037e0e7cbe5f97bc2e025bed9a6f (patch)
tree6925fe6d155eb8661a45e2a66524d94de520076f /src/station_base.h
parentf129634f524b38bcb00f5e7b24ccd8a982a16ca9 (diff)
downloadopenttd-8c17c6cb2bba037e0e7cbe5f97bc2e025bed9a6f.tar.xz
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h
index b9efcc1ae..9d092f057 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -120,6 +120,11 @@ struct BaseStation {
virtual uint32 GetNewGRFVariable(const struct ResolverObject *object, byte variable, byte parameter, bool *available) const = 0;
/**
+ * Update the coordinated of the sign (as shown in the viewport).
+ */
+ virtual void UpdateVirtCoord() = 0;
+
+ /**
* Get the base station belonging to a specific tile.
* @param tile The tile to get the base station from.
* @return the station associated with that tile.