#include <simgear/constants.h>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
-#include <simgear/misc/fgpath.hxx>
+#include <simgear/misc/sg_path.hxx>
#include <Aircraft/aircraft.hxx>
#include <Controls/controls.hxx>
void FGBalloonSim::init() {
sgVec3 temp;
- FG_LOG( FG_FLIGHT, FG_INFO, "Starting initializing BalloonSim" );
+ SG_LOG( SG_FLIGHT, SG_INFO, "Starting initializing BalloonSim" );
- FG_LOG( FG_FLIGHT, FG_INFO, " created a balloon" );
+ SG_LOG( SG_FLIGHT, SG_INFO, " created a balloon" );
//set position
sgSetVec3( temp,
fgGetDouble("/velocities/wBody") );
current_balloon.setVelocity( temp );
- FG_LOG( FG_FLIGHT, FG_INFO, "Finished initializing BalloonSim" );
+ SG_LOG( SG_FLIGHT, SG_INFO, "Finished initializing BalloonSim" );
}
/*sgVec3 temp, temp2;
current_balloon.getPosition( temp );
current_balloon.getVelocity( temp2 );
- FG_LOG( FG_FLIGHT, FG_INFO, "T: " << current_balloon.getTemperature() <<
+ SG_LOG( SG_FLIGHT, SG_INFO, "T: " << current_balloon.getTemperature() <<
" alt: " << temp[2] <<
" gr_alt: " << get_Runway_altitude() <<
" burner: " << controls.get_elevator() <<