]> git.mxchange.org Git - flightgear.git/commit
Remove all name and spatial queries from FGNavList. All remaining queries are
authorjmt <jmt>
Thu, 25 Dec 2008 23:11:43 +0000 (23:11 +0000)
committerjmt <jmt>
Thu, 25 Dec 2008 23:11:43 +0000 (23:11 +0000)
commit988de9dbca8bc046fb0f1df4fef5bfe07355c3a6
treebaf99f0fe5d6b73168f615772d78ee12d3276272
parent02d1b14c1a4bf20803bc152a25697f684052feda
Remove all name and spatial queries from FGNavList. All remaining queries are
by frequency (which makes sense), and use the FGPositioned spatial data if
required. As a result, the marker beacon list is gone (since beacons are only
searched spatially). In the process, clean up various minor things - most
notably, all the 'airport-related' navaids (ILS, GS, LOC, and the beacons) now
store a FGRunway* instead of an airport id string. This is more precise, and
saves string allocations.
21 files changed:
src/Airports/runways.hxx
src/Airports/simple.hxx
src/Instrumentation/KLN89/kln89_page_ndb.cxx
src/Instrumentation/KLN89/kln89_page_vor.cxx
src/Instrumentation/adf.cxx
src/Instrumentation/dme.cxx
src/Instrumentation/kr_87.cxx
src/Instrumentation/marker_beacon.cxx
src/Instrumentation/navradio.cxx
src/Instrumentation/tacan.cxx
src/Main/fg_init.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Navaids/navdb.cxx
src/Navaids/navdb.hxx
src/Navaids/navlist.cxx
src/Navaids/navlist.hxx
src/Navaids/navrecord.cxx
src/Navaids/navrecord.hxx
src/Navaids/positioned.cxx
src/Navaids/positioned.hxx