]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/altimeter.hxx
- fix unzoomed tapes (TODO: restore tick length)
[flightgear.git] / src / Instrumentation / altimeter.hxx
index 0615e021a0a121f3ce19f93313b55d726256f1a9..f75c207bdb2bc74d874209e2106d79f78f2851af 100644 (file)
@@ -12,7 +12,7 @@
 #endif
 
 #include <simgear/props/props.hxx>
-#include <Main/fgfs.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 
 class SGInterpTable;
@@ -23,19 +23,20 @@ class SGInterpTable;
  *
  * Input properties:
  *
- * /instrumentation/altimeter/serviceable
- * /instrumentation/altimeter/setting-inhg
- * /systems/static[0]/pressure-inhg
+ * /instrumentation/"name"/serviceable
+ * /instrumentation/"name"/setting-inhg
+ * "static_port"/pressure-inhg
  *
  * Output properties:
  *
- * /instrumentation/altimeter/indicated-altitude-ft
+ * /instrumentation/"name"/indicated-altitude-ft
  */
-class Altimeter : public FGSubsystem
+class Altimeter : public SGSubsystem
 {
 
 public:
 
+    Altimeter (SGPropertyNode *node);
     Altimeter ();
     virtual ~Altimeter ();
 
@@ -44,6 +45,10 @@ public:
 
 private:
 
+    string name;
+    int num;
+    string static_port;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _setting_node;
     SGPropertyNode_ptr _pressure_node;