]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/PistonEngine.hpp
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
[flightgear.git] / src / FDM / YASim / PistonEngine.hpp
index 96aac119041489ab44841420cdb2e63aeaf24fc6..7ce647acd62eb94f11763a8d8e22e49e84143c97 100644 (file)
@@ -19,8 +19,12 @@ public:
     float getMP();
     float getEGT();
     float getMaxPower(); // max sea-level power
+    float getBoost() { return _boostPressure; }
+    float getOilTemp() { return _oilTemp; }
 
     virtual void calc(float pressure, float temp, float speed);
+    virtual void stabilize();
+    virtual void integrate(float dt);
     virtual float getTorque();
     virtual float getFuelFlow();
 
@@ -37,11 +41,14 @@ private:
     float _compression;  // compression ratio (>1)
 
     // Runtime state/output:
-    bool _cranking;
     float _mp;
     float _torque;
     float _fuelFlow;
     float _egt;
+    float _boostPressure;
+    float _oilTemp;
+    float _oilTempTarget;
+    float _dOilTempdt;
 };
 
 }; // namespace yasim