]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/mag_compass.hxx
Make FlightGear work with 16bpp:
[flightgear.git] / src / Instrumentation / mag_compass.hxx
index 8f7aafe275f98957ea71f1876eb574f5bc7faec4..5bc176e0248e3239a63802b2fdb93dfbd750ad9d 100644 (file)
@@ -20,7 +20,7 @@
  *
  * Input properties:
  *
- * /instrumentation/magnetic-compass/serviceable
+ * /instrumentation/"name"/serviceable
  * /orientation/heading-deg
  * /orientation/beta-deg
  * /environment/magnetic-variation-deg
  *
  * Output properties:
  *
- * /instrumentation/magnetic-compass/indicated-heading-deg
+ * /instrumentation/"name"/indicated-heading-deg
  */
 class MagCompass : public SGSubsystem
 {
 
 public:
 
+    MagCompass ( SGPropertyNode *node);
     MagCompass ();
     virtual ~MagCompass ();
 
@@ -49,6 +50,9 @@ private:
     double _error_deg;
     double _rate_degps;
 
+    string name;
+    int num;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _heading_node;
     SGPropertyNode_ptr _beta_node;