#pragma once #include "vehicle.hpp" namespace MechWarrior4 { class CCheapMover { private: Stuff::Point3D m_Loc; Stuff::Vector3D m_Dir,m_LastDir; bool m_Airplane; Stuff::Scalar m_FlyingAltitude; public: CCheapMover (Stuff::Point3D newloc); CCheapMover (Stuff::Point3D newloc,Stuff::Scalar altitude); bool UpdatePos (Stuff::Point3D dest,Stuff::Scalar speed,float till); void UpdatePos (Vehicle *veh,Stuff::Point3D dest); const Stuff::Point3D& Loc (void) const { return m_Loc; } }; }