X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FLaRCsim.hxx;h=bc37e85a5932ac4d0cb202dc6f468c318fe6a0e2;hb=c64e284c518108fd9d842ad66e81a75d271b9a96;hp=60be3614cced3d0033bec74361885d8c94fd1ac8;hpb=576432ec75ce0c8f860e5df503cab37e3b8d9024;p=flightgear.git diff --git a/src/FDM/LaRCsim.hxx b/src/FDM/LaRCsim.hxx index 60be3614c..bc37e85a5 100644 --- a/src/FDM/LaRCsim.hxx +++ b/src/FDM/LaRCsim.hxx @@ -33,15 +33,19 @@ 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 );