X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIShip.hxx;h=e7bda357044546f3d53f51fb962709be296a1a43;hb=8a089f6d6f9e7851e73fd118cb9a5f5583cfe517;hp=37689856acdbc43b143a7e67c8ec895f31bd9e7d;hpb=d096455b7fa93f3731016426ccfcfc695d79df58;p=flightgear.git diff --git a/src/AIModel/AIShip.hxx b/src/AIModel/AIShip.hxx index 37689856a..e7bda3570 100644 --- a/src/AIModel/AIShip.hxx +++ b/src/AIModel/AIShip.hxx @@ -42,7 +42,7 @@ public: virtual void unbind(); virtual void update(double dt); void setFlightPlan(FGAIFlightPlan* f); - void setName(const string&); +// void setName(const string&); void setRudder(float r); void setRoll(double rl); void ProcessFlightPlan( double dt); @@ -79,6 +79,7 @@ public: double _rudder_constant, _speed_constant, _hdg_constant, _limit ; double _elevation_m, _elevation_ft; double _missed_range, _tow_angle, _wait_count, _missed_count,_wp_range; + double _dt_count, _next_run; FGAIFlightPlan::waypoint* prev; // the one behind you FGAIFlightPlan::waypoint* curr; // the one ahead @@ -86,7 +87,7 @@ public: protected: - string _name; // The name of this ship. +// string _name; // The name of this ship. private: @@ -123,8 +124,6 @@ private: double _roll_constant, _roll_factor; double _sp_turn_radius_ft, _rd_turn_radius_ft, _fixed_turn_radius; double _old_range, _range_rate; - double _dt_count; - double _next_run; double _missed_time_sec; double _start_sec; double _day;