]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIShip.hxx
Overhaul the ground-net / parking code.
[flightgear.git] / src / AIModel / AIShip.hxx
index f82a14f8d1be975419095ccc35fcb3c9bd8ec319..34038db90200615172e7dc20d3f0ba739096e6d1 100644 (file)
@@ -39,10 +39,10 @@ public:
 
     virtual bool init(bool search_in_AI_path=false);
     virtual void bind();
-    virtual void unbind();
     virtual void update(double dt);
+    virtual void reinit();
+
     void setFlightPlan(FGAIFlightPlan* f);
-//    void setName(const string&);
     void setRudder(float r);
     void setRoll(double rl);
     void ProcessFlightPlan( double dt);
@@ -90,14 +90,9 @@ public:
 
 protected:
 
-//    string _name; // The name of this ship.
-
 private:
 
 
-
-    virtual void reinit() { init(); }
-
     void setRepeat(bool r);
     void setRestart(bool r);
     void setMissed(bool m);
@@ -112,8 +107,6 @@ private:
 
     SGGeod wppos;
 
-    const SGMaterial* _material;
-
     double getRange(double lat, double lon, double lat2, double lon2) const;
     double getCourse(double lat, double lon, double lat2, double lon2) const;
     double getDaySeconds();