summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-01 19:24:54 +0000
committerrubidium <rubidium@openttd.org>2007-07-01 19:24:54 +0000
commitec137f60edec89392a19fc078bf47d2ee291dc1c (patch)
treefb5afab9eaa026a83642f983053acfabe1d9f492 /src/roadveh.h
parentc0e341ee05792cc692d19a8ed80aeebc05d3af0e (diff)
downloadopenttd-ec137f60edec89392a19fc078bf47d2ee291dc1c.tar.xz
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index f623317a8..59097d177 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -82,6 +82,7 @@ struct RoadVehicle : public Vehicle {
bool IsPrimaryVehicle() const { return IsRoadVehFront(this); }
bool HasFront() const { return true; }
int GetImage(Direction direction) const;
+ void Tick();
};
byte GetRoadVehLength(const Vehicle *v);