//
// $Id$
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <simgear/sound/soundmgr_openal.hxx>
#include <simgear/structure/commands.hxx>
gslist( NULL ),
dmelist( NULL ),
mkrlist( NULL ),
+ tacanlist( NULL ),
+ carrierlist( NULL ),
fixlist( NULL )
{
}
delete commands;
delete io;
delete renderer;
-
- // make sure only to delete the initial waypoints list if it acually
- // still exists.
- if (initial_waypoints)
- delete initial_waypoints;
+ delete initial_waypoints;
}
tmp.append( "version" );
if ( ulFileExists( tmp.c_str() ) ) {
fg_root += "/data";
- }
+ }
+
+ fgSetString("/sim/fg-root", fg_root.c_str());
}
void FGGlobals::set_fg_scenery (const string &scenery) {
ulCloseDir( od );
}
}
+ // insert a marker for FGTileEntry::load(), so that
+ // FG_SCENERY=A:B becomes list ["A/Terrain", "A/Objects", "",
+ // "B/Terrain", "B/Objects", ""]
+ fg_scenery.push_back("");
}
}