]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/attitude_indicator.hxx
Support for multiple data dirs.
[flightgear.git] / src / Instrumentation / attitude_indicator.hxx
index 2e8bdf128c6bb68cbd38cd03bf7ed33cf3e998f6..14453511d21e651b3ee5a57dd0f6a62869087051 100644 (file)
@@ -45,15 +45,16 @@ public:
     virtual ~AttitudeIndicator ();
 
     virtual void init ();
+    virtual void reinit ();
     virtual void bind ();
     virtual void unbind ();
     virtual void update (double dt);
 
 private:
 
-    string _name;
+    std::string _name;
     int _num;
-    string _suction;
+    std::string _suction;
 
     Gyro _gyro;
 
@@ -68,6 +69,9 @@ private:
     SGPropertyNode_ptr _pitch_out_node;
     SGPropertyNode_ptr _roll_out_node;
     
+    double spin_thresh;
+    double max_roll_error;
+    double max_pitch_error;
 };
 
 #endif // __INSTRUMENTS_ATTITUDE_INDICATOR_HXX