summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-01 19:11:47 +0000
committerrubidium <rubidium@openttd.org>2007-07-01 19:11:47 +0000
commitc0e341ee05792cc692d19a8ed80aeebc05d3af0e (patch)
tree2e6180dd4e262fcc66cf94a5d26c4c6fb7df642f /src/roadveh.h
parent162617eeb398d7a67afccc57afb21e27f41988b3 (diff)
downloadopenttd-c0e341ee05792cc692d19a8ed80aeebc05d3af0e.tar.xz
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
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 6547d7442..f623317a8 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -81,6 +81,7 @@ struct RoadVehicle : public Vehicle {
WindowClass GetVehicleListWindowClass() const { return WC_ROADVEH_LIST; }
bool IsPrimaryVehicle() const { return IsRoadVehFront(this); }
bool HasFront() const { return true; }
+ int GetImage(Direction direction) const;
};
byte GetRoadVehLength(const Vehicle *v);