]> git.mxchange.org Git - flightgear.git/commit
Refactored some of the navlist code and removed the built in "fail to find"
authorcurt <curt>
Sat, 25 Jan 2003 20:45:39 +0000 (20:45 +0000)
committercurt <curt>
Sat, 25 Jan 2003 20:45:39 +0000 (20:45 +0000)
commit8cc7b283d54d10150ad0883e96fd05ce020e7ed8
tree092ceff187c932211092743304de8097d94b2a11
parent677c3e3e9ab9598c40a23cc89f99235d618b3a6f
Refactored some of the navlist code and removed the built in "fail to find"
if the station is too far away.  Instead, simply return the closest station.
All the code that searches navaids does it's own range checking anyway.
This will make the navlist query functions a bit more useful for other
types of functionality where you may need to lookup a station without
consideration of range (i.e. presetting your position relative to a navaid.)
src/Cockpit/dme.cxx
src/Cockpit/kr_87.cxx
src/Cockpit/navcom.cxx
src/Main/fg_init.cxx
src/Navaids/nav.hxx
src/Navaids/navlist.cxx
src/Navaids/navlist.hxx
src/Navaids/testnavs.cxx