]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/Balloon.h
Update to the latest version of JSBSim which supports Lighter Than Air craft
[flightgear.git] / src / FDM / Balloon.h
index 8ba6275793a92c01321b0f77074dbf8057b99361..02bef167c35b9c26d626127b3d1582cce4c80190 100644 (file)
@@ -16,9 +16,9 @@
  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
  details.
 
- You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA  02111-1307, USA.
+ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
  Further information about the GNU General Public License can also be found on
  the world wide web at http://www.gnu.org.
@@ -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,17 +62,20 @@ class FGBalloonSim: public FGInterface {
 
 public:
 
+    FGBalloonSim( double dt );
+    ~FGBalloonSim();
+
     // copy FDM state to BalloonSim structures
-    int copy_to_BalloonSim();
+    bool copy_to_BalloonSim();
 
     // copy FDM state from BalloonSim structures
-    int copy_from_BalloonSim();
+    bool copy_from_BalloonSim();
 
     // reset flight params to a specific position 
-    int init( double dt );
+    void init();
 
     // update position based on inputs, positions, velocities, etc.
-    int update( int multiloop );
+    void update( double dt );
 };