]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIShip.hxx
Expose a radio function (receiveBeacon) to the Nasal subsystem
[flightgear.git] / src / AIModel / AIShip.hxx
index c240dabf363a74e90128c045533518d3596e57ab..f82a14f8d1be975419095ccc35fcb3c9bd8ec319 100644 (file)
@@ -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);
@@ -61,11 +61,14 @@ public:
     void setRudderConstant(double rc);
     void setSpeedConstant(double sc);
     void setFixedTurnRadius(double ft);
+    void setRollFactor(double rf);
+
     void setTunnel(bool t);
     void setInitialTunnel(bool t);
 
     void setWPNames();
     void setWPPos();
+
     double sign(double x);
 
     bool _hdg_lock;
@@ -81,13 +84,13 @@ public:
     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
-    FGAIFlightPlan::waypoint* next; // the next plus 1
+    FGAIWaypoint* prev; // the one behind you
+    FGAIWaypoint* curr; // the one ahead
+    FGAIWaypoint* next; // the next plus 1
 
 protected:
 
-    string _name; // The name of this ship.
+//    string _name; // The name of this ship.
 
 private: