]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/External.cxx
b) FDM - ada.cxx, ada.hxx have been updated with the faux, daux and iaux arrays that...
[flightgear.git] / src / FDM / External.cxx
index 348d587d982eb9dfc56dece1796a9d21e50cdb57..b0406dc38bd47bd645a9a5520bc1ea2502a3d819 100644 (file)
 #include "External.hxx"
 
 
+FGExternal::FGExternal( double dt ) {
+    set_delta_t( dt );
+}
+
+
+FGExternal::~FGExternal() {
+}
+
+
 // Initialize the External flight model, dt is the time increment
 // for each subsequent iteration through the EOM
-bool FGExternal::init( double dt ) {
+void FGExternal::init() {
     // cout << "FGExternal::init()" << endl;
-
-    // set valid time for this record
-    stamp_time();
-
-    return true;
 }
 
 
@@ -42,7 +46,7 @@ bool FGExternal::init( double dt ) {
 bool FGExternal::update( int multiloop ) {
     // cout << "FGExternal::update()" << endl;
 
-    // double time_step = (1.0 / globals->get_options()->get_model_hz())
+    // double time_step = (1.0 / fgGetInt("/sim/model-hz"))
     //                     * multiloop;