X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Fnavdb.hxx;h=b05dd72ac47eed8a3e2c38d139cf23d0b2a5a098;hb=68f248879cb15562c7b026445f83caf8f2842ae9;hp=4afc27e1128e5436fbd866ea0354ccaf4664a7e7;hpb=1b5483bc63ae51a4ab0299bd27d706212199c011;p=flightgear.git diff --git a/src/Navaids/navdb.hxx b/src/Navaids/navdb.hxx index 4afc27e11..b05dd72ac 100644 --- a/src/Navaids/navdb.hxx +++ b/src/Navaids/navdb.hxx @@ -2,7 +2,7 @@ // // Written by Curtis Olson, started May 2004. // -// Copyright (C) 2004 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 2004 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -41,8 +41,18 @@ // load and initialize the navigational databases -bool fgNavDBInit( FGNavList *navlist, FGNavList *loclist, FGNavList *gslist, - FGNavList *dmelist, FGNavList *mkrbeacons ); - +bool fgNavDBInit( FGAirportList *airports, + FGNavList *navlist, FGNavList *loclist, FGNavList *gslist, + FGNavList *dmelist, FGNavList *mkrbeacons, + FGNavList *tacanlist, FGNavList *carrierlist, + FGTACANList *channellist ); + +// This routines traverses the localizer list and attempts to match +// each entry with it's corresponding runway. When it is successful, +// it then "moves" the localizer and updates it's heading so it +// *perfectly* aligns with the runway, but is still the same distance +// from the runway threshold. +void fgNavDBAlignLOCwithRunway( FGRunwayList *runways, FGNavList *loclist, + double threshold ); #endif // _FG_NAVDB_HXX