]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGTurboJet.cpp
JSBSim tweaks.
[flightgear.git] / src / FDM / JSBSim / FGTurboJet.cpp
index 6d04e394ad8e2e4589d03e5fd1839a5de85f721a..93c383dda4f7e9f29da8f85cde55f56db70ac70a 100644 (file)
@@ -40,17 +40,40 @@ INCLUDES
 
 #include "FGTurboJet.h"
 
-static const char *IdSrc = "$Header$";
+static const char *IdSrc = "$Id$";
 static const char *IdHdr = ID_TURBOJET;
 
+extern short debug_lvl;
+
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 CLASS IMPLEMENTATION
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
 
-FGTurboJet::FGTurboJet(FGFDMExec* fdex, string enginePath, string engineName, int num) :
-                                 FGEngine(fdex, enginePath, engineName, num)
+FGTurboJet::FGTurboJet(FGFDMExec* exec, FGConfigFile* cfg) : FGEngine(exec)
+{
+  if (debug_lvl & 2) cout << "Instantiated: FGTurboJet" << endl;
+}
+
+//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+FGTurboJet::~FGTurboJet()
+{
+  if (debug_lvl & 2) cout << "Destroyed:    FGTurboJet" << endl;
+}
+
+//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+float FGTurboJet::Calculate(float dummy)
+{
+  ConsumeFuel();
+  return 0.0;
+}
+
+//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+void FGTurboJet::Debug(void)
 {
-  //
+    //TODO: Add your source code here
 }