]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/flight.cxx
First commit of properties code. JSBSim now has a basic property tree all
[flightgear.git] / src / FDM / flight.cxx
index 6d404dd76676717a91580d529bd93636735a6c31..991e150dd2bd5200ca04945907d3ef92097c1e55 100644 (file)
 #include <Main/globals.hxx>
 #include <Main/fg_props.hxx>
 
-#include "External.hxx"
 #include "flight.hxx"
-#include "JSBSim.hxx"
-#include "LaRCsim.hxx"
-#include "Balloon.h"
 
 
 // base_fdm_state is the internal state that is updated in integer
@@ -411,7 +407,7 @@ FGInterface::unbind ()
 void
 FGInterface::update (int dt)
 {
-    cout << "dummy update() ... SHOULDN'T BE CALLED!" << endl;
+    SG_LOG(SG_FLIGHT, SG_ALERT, "dummy update() ... SHOULDN'T BE CALLED!");
 }
 
 
@@ -529,7 +525,7 @@ void FGInterface::extrapolate( int time_offset ) {
     // -dw- metrowerks complains about ambiguous access, not critical
     // to keep this ;)
 #ifndef __MWERKS__
-    cout << "extrapolating FDM by dt = " << dt << endl;
+    SG_LOG(SG_FLIGHT, SG_INFO, "extrapolating FDM by dt = " << dt);
 #endif
 
     double lat = geodetic_position_v[0] + geocentric_rates_v[0] * dt;