summaryrefslogtreecommitdiff
path: root/src/ground_vehicle.hpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-03-06 12:44:30 +0000
committerterkhen <terkhen@openttd.org>2010-03-06 12:44:30 +0000
commit07c373d60a9f2d262617dbfdf719499687aeea73 (patch)
treed38dbb686053c1db2c99cf3aa67717ec04d26f1e /src/ground_vehicle.hpp
parente4a5a556b4d9d6b74f2fcd2330997abb65a68d3b (diff)
downloadopenttd-07c373d60a9f2d262617dbfdf719499687aeea73.tar.xz
(svn r19339) -Codechange: Move acceleration functions to GroundVehicle.
Diffstat (limited to 'src/ground_vehicle.hpp')
-rw-r--r--src/ground_vehicle.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ground_vehicle.hpp b/src/ground_vehicle.hpp
index 200d37830..c87dbf76f 100644
--- a/src/ground_vehicle.hpp
+++ b/src/ground_vehicle.hpp
@@ -49,6 +49,9 @@ struct GroundVehicle : public SpecializedVehicle<T, Type> {
*/
GroundVehicle() : SpecializedVehicle<T, Type>() {}
+ void PowerChanged();
+ void CargoChanged();
+ int GetAcceleration() const;
};
#endif /* GROUND_VEHICLE_HPP */