LoadComms(temp);
temp = path;
temp.append( "ATC/default.approach" );
- LoadComms(temp);
- return true;*/
+ LoadComms(temp);*/
+ return true;
}
fin >> skipcomment;
}
- fin.close();
+ fin.close();*/
return true;
-*/
}
return false;
}
*/
+ return false;
}
int FGCommList::FindByPos(const SGGeod& aPos, double range, comm_list_type* stations, atc_type tp)
{
-/*
// number of relevant stations found within range
int found = 0;
+/*
stations->erase(stations->begin(), stations->end());
// get bucket number for plane position
}
}
}
- return found;
*/
+ return found;
}
}
range *= 10;
}
- return(-9999.0);
*/
+ return(-9999.0);
}
// Find by Airport code.
// This is basically a wrapper for a call to the airport database to get the airport
// position followed by a call to FindByPos(...)
-bool FGCommList::FindByCode( const string& ICAO, ATCData& ad, atc_type tp ) {
+bool FGCommList::FindByCode( const std::string& ICAO, ATCData& ad, atc_type tp ) {
/*
const FGAirport *a = fgFindAirportID( ICAO);
if ( a) {
}
}
}
- return false;
*/
+ return false;
}
// TODO - this function should move somewhere else eventually!
// Return an appropriate sequence number for an ATIS transmission.
// Return sequence number + 2600 if sequence is unchanged since
// last time.
-int FGCommList::GetAtisSequence( const string& apt_id,
+int FGCommList::GetAtisSequence( const std::string& apt_id,
const double tstamp, const int interval, const int special)
{
/*
// << " Delta: " << delta << endl;
return(tran.sequence + (delta ? 0 : LTRS*1000));
*/
+ return 2600;
}
/*****************************************************************************
* FGKln89AlignedProjection
return SGGeod::fromRadM(_origin.getLongitudeRad()+delta_lon, _origin.getLatitudeRad()+delta_lat, pt.z());
}
-#endif // #ENABLE_ATCDCL
\ No newline at end of file
+#endif // #ENABLE_ATCDCL