]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/electrical.hxx
Make sure that all elapsed time gets passed to update when a subsystem
[flightgear.git] / src / Systems / electrical.hxx
index 30c3cc33ce753436900491d3757793f73b591ee4..f36f92af9159d49f3e62cd1b9ec0f1a46ffc3dd2 100644 (file)
@@ -117,6 +117,7 @@ class FGElectricalSupplier : public FGElectricalComponent {
         FG_EXTERNAL = 2
     };
 
+    string rpm_src;
     int model;
     double volts;
     double amps;
@@ -178,15 +179,7 @@ public:
 
 
 /**
- * Model an electrical system.  This is a simple system with the
- * alternator hardwired to engine[0]/rpm
- *
- * Input properties:
- *
- * /engines/engine[0]/rpm
- *
- * Output properties:
- *
+ * Model an electrical system.  This is a fairly simplistic system
  * 
  */
 
@@ -204,7 +197,7 @@ public:
     virtual void update (double dt);
 
     bool build ();
-    void propogate( FGElectricalComponent *node, double val, string s = "" );
+    void propagate( FGElectricalComponent *node, double val, string s = "" );
     FGElectricalComponent *find ( const string &name );
 
 protected: