]> git.mxchange.org Git - flightgear.git/commit
Another clean-up iteration: FGAirportList::search is gone, replaced by two
authorjmt <jmt>
Fri, 26 Dec 2008 15:26:42 +0000 (15:26 +0000)
committerjmt <jmt>
Fri, 26 Dec 2008 15:26:42 +0000 (15:26 +0000)
commit660d59a098c1033571337da0938c79906a577f4a
treeb86a093c0d0876542244be36a9951c4c69d5a141
parentb2d4612beb57d7b5cc6b22d31236156ecbeade8a
Another clean-up iteration: FGAirportList::search is gone, replaced by two
static FGAirport helpers. As a result, another global index goes away. Use
the helpers to avoid ugly FGPositioned down-casts in various places.

Also converts the environment/METAR code to deal with FGAirport pointers,
instead of string identifiers, and contains work-in-progress code to implement
the AirportList dialog using FGPositioned. This isn't enabled yet for various
reasons, but is the final piece to allow FGAirportList to be removed.
src/Airports/apt_loader.cxx
src/Airports/simple.cxx
src/Airports/simple.hxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_ctrl.hxx
src/Environment/fgclouds.cxx
src/Instrumentation/mk_viii.cxx
src/Navaids/positioned.cxx
src/Scripting/NasalSys.cxx
src/Traffic/SchedFlight.cxx