#endif
// Initialize vor/ndb/ils/fix list management and query systems
+ FG_LOG(FG_GENERAL, FG_INFO, "Loading Navaids");
+
current_navlist = new FGNavList;
FGPath p_nav( current_options.get_fg_root() );
p_nav.append( "Navaids/default.nav" );
#else
+ double min = 1000000.0;
+ double max = 0.0;
+
while ( ! in.eof() && ils.get_ilstype() != '[' ) {
in >> ils;
/* cout << "id = " << n.get_ident() << endl;
ilslist[ils.get_locfreq()].push_back(ils);
}
in >> skipcomment;
+
+ if ( ils.get_locfreq() < min ) {
+ min = ils.get_locfreq();
+ }
+ if ( ils.get_locfreq() > max ) {
+ max = ils.get_locfreq();
+ }
}
+ cout << "min freq = " << min << endl;
+ cout << "max freq = " << max << endl;
+
#endif
return true;
#else
+ double min = 100000;
+ double max = 0;
+
while ( ! in.eof() && n.get_type() != '[' ) {
in >> n;
/* cout << "id = " << n.get_ident() << endl;
navaids[n.get_freq()].push_back(n);
}
in >> skipcomment;
+
+ if ( n.get_type() != 'N' ) {
+ if ( n.get_freq() < min ) {
+ min = n.get_freq();
+ }
+ if ( n.get_freq() > max ) {
+ max = n.get_freq();
+ }
+ }
}
+ cout << "min freq = " << min << endl;
+ cout << "max freq = " << max << endl;
+
#endif
return true;