#include <simgear/constants.h>
#include <simgear/debug/logstream.hxx>
-#include <simgear/misc/fgpath.hxx>
+#include <simgear/misc/sg_path.hxx>
#include <Include/general.hxx>
void AptDialog_OK (puObject *)
{
- FGPath path( globals->get_fg_root() );
+ SGPath path( globals->get_fg_root() );
path.append( "Airports" );
path.append( "simple.mk4" );
FGAirports airports( path.c_str() );
if ( AptId.length() ) {
// set initial position from airport id
- FG_LOG( FG_GENERAL, FG_INFO,
+ SG_LOG( SG_GENERAL, SG_INFO,
"Attempting to set starting position from airport code "
<< AptId );
// fgSetPosFromAirportID( AptId );
fgSetPosFromAirportIDandHdg( AptId,
cur_fdm_state->get_Psi() *
- RAD_TO_DEG);
+ SGD_RADIANS_TO_DEGREES);
BusyCursor(0);
fgReInitSubsystems();
BusyCursor(1);