]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/Balloon.h
Add support for a turbo prop condition lever.
[flightgear.git] / src / FDM / Balloon.h
index e6e0ae095a943dbb4af766d49922cb63d2c80ca2..84ff1ce6b21ce972ab0032672dd42110e0cfc60a 100644 (file)
@@ -55,17 +55,6 @@ HISTORY
 /* DECLARATIONS                                                            */
 /****************************************************************************/
 
-// reset flight params to a specific position 
-// int fgBalloonSimInit(double dt, FGInterface& f);
-
-// update position based on inputs, positions, velocities, etc.
-// int fgBalloonSimUpdate(FGInterface& f, int multiloop);
-
-// Convert from the FGInterface struct to the BalloonSim
-// int FGInterface_2_fgBalloonSim (FGInterface& f);
-
-// Convert from the BalloonSim to the FGInterface struct
-// int fgBalloonSim_2_FGInterface (FGInterface& f);
 
 class FGBalloonSim: public FGInterface {
 
@@ -73,6 +62,9 @@ class FGBalloonSim: public FGInterface {
 
 public:
 
+    FGBalloonSim( double dt );
+    ~FGBalloonSim();
+
     // copy FDM state to BalloonSim structures
     bool copy_to_BalloonSim();
 
@@ -80,10 +72,10 @@ public:
     bool copy_from_BalloonSim();
 
     // reset flight params to a specific position 
-    bool init( double dt );
+    void init();
 
     // update position based on inputs, positions, velocities, etc.
-    bool update( int multiloop );
+    void update( double dt );
 };