X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FMagicCarpet.hxx;h=cc5d6547fe51fb54b0750f22b2a76ecd0615b2e5;hb=1e3f0f0050cd4860b8bf2b6ecb59ba040f8b934f;hp=21c4ffecc6dc80fa01b8374202acc11ff3156752;hpb=47c3f4182886fa790d074b76b3225f59f5918200;p=flightgear.git diff --git a/src/FDM/MagicCarpet.hxx b/src/FDM/MagicCarpet.hxx index 21c4ffecc..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,11 +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 ); + };