X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FMagicCarpet.hxx;h=cc5d6547fe51fb54b0750f22b2a76ecd0615b2e5;hb=68f248879cb15562c7b026445f83caf8f2842ae9;hp=4c11d3316fd1519be3f6abca4bc11f543781cdb3;hpb=576432ec75ce0c8f860e5df503cab37e3b8d9024;p=flightgear.git diff --git a/src/FDM/MagicCarpet.hxx b/src/FDM/MagicCarpet.hxx index 4c11d3316..cc5d6547f 100644 --- a/src/FDM/MagicCarpet.hxx +++ b/src/FDM/MagicCarpet.hxx @@ -2,7 +2,7 @@ // // Written by Curtis Olson, started October 1999. // -// Copyright (C) 1999 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 1999 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 @@ -31,14 +31,15 @@ class FGMagicCarpet: public FGInterface { public: + FGMagicCarpet( double dt ); + ~FGMagicCarpet(); + // 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 ); + void update( double dt ); -private: - SGValue * model_hz; };