X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FNullFDM.cxx;h=d290d6eb06dbaaf74cf9ed4d2ccd6aaf8ff41171;hb=68f248879cb15562c7b026445f83caf8f2842ae9;hp=7008245785703491e07e3accc95f69f79e456232;hpb=aabdd355f014ddefeee05c4f495ead1b47c1d18d;p=flightgear.git diff --git a/src/FDM/NullFDM.cxx b/src/FDM/NullFDM.cxx index 700824578..d290d6eb0 100644 --- a/src/FDM/NullFDM.cxx +++ b/src/FDM/NullFDM.cxx @@ -2,7 +2,7 @@ // action is externally driven. // Written by Curtis Olson, started November 1999. // -// Copyright (C) 1999 - 2001 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 1999 - 2001 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -21,11 +21,15 @@ // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include "NullFDM.hxx" FGNullFDM::FGNullFDM( double dt ) { - set_delta_t( dt ); +// set_delta_t( dt ); } @@ -37,12 +41,13 @@ FGNullFDM::~FGNullFDM() { // for each subsequent iteration through the EOM void FGNullFDM::init() { // cout << "FGNullFDM::init()" << endl; + set_inited( true ); } // Run an iteration of the EOM. This is a NOP here because the flight // model values are getting filled in elsewhere (most likely from some // external source.) -void FGNullFDM::update( int multiloop ) { +void FGNullFDM::update( double dt ) { // cout << "FGNullFDM::update()" << endl; }