X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIGroundVehicle.hxx;h=721ebf3032e4d15604e28424b0f42aae043e1716;hb=d35b8db13f7aceee46d63b061cd20e6d3968f92a;hp=c38a9b8279cfc729ab4403ea70a1c7426324ae54;hpb=acbcf94bde0ea73132a1dfadc0ebfd161d25f96d;p=flightgear.git diff --git a/src/AIModel/AIGroundVehicle.hxx b/src/AIModel/AIGroundVehicle.hxx index c38a9b827..721ebf303 100644 --- a/src/AIModel/AIGroundVehicle.hxx +++ b/src/AIModel/AIGroundVehicle.hxx @@ -52,6 +52,8 @@ private: void setContactX1offset(double x1); void setContactX2offset(double x2); void setXOffset(double x); + void setYOffset(double y); + void setZOffset(double z); void setPitchCoeff(double pc); void setElevCoeff(double ec); @@ -65,6 +67,7 @@ private: void setParent(); void AdvanceFP(); void setTowSpeed(); + void RunGroundVehicle(double dt); bool getGroundElev(SGGeod inpos); bool getPitch(); @@ -86,13 +89,14 @@ private: double _contact_x1_offset, _contact_x2_offset, _contact_z_offset; double _pitch, _pitch_coeff, _pitch_deg; double _speed_coeff, _speed_kt; - double _x_offset; + double _x_offset, _y_offset; double _range_ft; double _relbrg; - double _parent_speed, _parent_x_offset; + double _parent_speed, _parent_x_offset, _parent_y_offset, _parent_z_offset; + double _dt_count, _next_run, _break_count; const SGMaterial* _material; - const SGPropertyNode *_selected_ac; + SGPropertyNode_ptr _selected_ac; string _parent;