]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsim.hxx
More property node optimizations.
[flightgear.git] / src / FDM / LaRCsim.hxx
index 60be3614cced3d0033bec74361885d8c94fd1ac8..bc37e85a5932ac4d0cb202dc6f468c318fe6a0e2 100644 (file)
 
 class FGLaRCsim: public FGInterface {
 
+private:
+
     FGNewEngine eng;
     LaRCsimIC* lsic;
     void set_ls(void);
     void snap_shot(void);
     double time_step;
-    SGValue * speed_up;
+    SGPropertyNode *speed_up;
+    SGPropertyNode *aircraft;
     
 public:
-    FGLaRCsim(void);
+
+    FGLaRCsim( double dt );
     ~FGLaRCsim(void);
     
     // copy FDM state to LaRCsim structures
@@ -51,7 +55,7 @@ public:
     bool copy_from_LaRCsim();
 
     // 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 );