]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGLGear.h
Updated to latest JSBSim, including preliminary support for
[flightgear.git] / src / FDM / JSBSim / FGLGear.h
index 96261dc3049c2cf9a94e71b64f616ea1dec66492..1c4857b169fcfc9f2edce65f86a9c8f6342a1505 100644 (file)
@@ -231,7 +231,11 @@ public:
   
   inline int GetBrakeGroup(void) { return (int)eBrakeGrp; }
   inline int GetSteerType(void)  { return (int)eSteerType; }
-
+  
+  inline bool GetRetractable(void)  { return isRetractable; }
+  inline bool GetGearUnitUp(void)   { return GearUp; }
+  inline bool GetGearUnitDown(void) { return GearDown; }
+  
 private:
   FGColumnVector3 vXYZ;
   FGColumnVector3 vMoment;
@@ -259,9 +263,13 @@ private:
   bool FirstContact;
   bool Reported;
   bool ReportEnable;
+  bool isRetractable;
+  bool GearUp, GearDown;
   string name;
   string sSteerType;
   string sBrakeGroup;
+  string sRetractable;
+  
   BrakeGroup eBrakeGrp;
   SteerType  eSteerType;
   double  maxSteerAngle;
@@ -275,7 +283,7 @@ private:
   FGMassBalance* MassBalance;
 
   void Report(void);
-  void Debug(void);
+  void Debug(int from);
 };
 
 #include "FGAircraft.h"