(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.

-Add: Required acceleration functions at RoadVehicle.
This commit is contained in:
terkhen
2010-03-06 12:54:42 +00:00
parent 53c6f12693
commit 2e18705d4e
3 changed files with 138 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
#include "stdafx.h"
#include "train.h"
#include "roadveh.h"
#include "ground_vehicle.hpp"
#include "window_type.h"
#include "vehicle_gui.h"
@@ -148,3 +149,5 @@ int GroundVehicle<T, Type>::GetAcceleration() const
/* Instantiation for Train */
template struct GroundVehicle<Train, VEH_TRAIN>;
/* Instantiation for RoadVehicle */
template struct GroundVehicle<RoadVehicle, VEH_ROAD>;