X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIGroundVehicle.hxx;h=70c06f290d8946acfecae487e8bb8ffee358cf5f;hb=687be046789e2f509ccf93155456c47f3f463e0c;hp=721ebf3032e4d15604e28424b0f42aae043e1716;hpb=2d6bf222acdb6de32d6dff07993dc340834dbfff;p=flightgear.git diff --git a/src/AIModel/AIGroundVehicle.hxx b/src/AIModel/AIGroundVehicle.hxx index 721ebf303..70c06f290 100644 --- a/src/AIModel/AIGroundVehicle.hxx +++ b/src/AIModel/AIGroundVehicle.hxx @@ -62,7 +62,6 @@ private: void setElevation(double _elevation, double dt, double _elevation_coeff); void setPitch(double _pitch, double dt, double _pitch_coeff); void setTowAngle(double _relbrg, double dt, double _towangle_coeff); - void setParentName(const string& p); void setTrainSpeed(double s, double dt, double coeff); void setParent(); void AdvanceFP(); @@ -76,7 +75,6 @@ private: void calcRangeBearing(double lat, double lon, double lat2, double lon2, double &range, double &bearing) const; - double calcRelBearingDeg(double bearing, double heading); SGGeod _selectedpos; @@ -93,12 +91,10 @@ private: double _range_ft; double _relbrg; double _parent_speed, _parent_x_offset, _parent_y_offset, _parent_z_offset; + double _hitch_x_offset_m, _hitch_y_offset_m, _hitch_z_offset_m; double _dt_count, _next_run, _break_count; const SGMaterial* _material; - SGPropertyNode_ptr _selected_ac; - - string _parent; };