]> git.mxchange.org Git - flightgear.git/commit
Update --showaircraft and --aircraft= options to recursively search the
authorcurt <curt>
Fri, 19 Sep 2003 20:06:27 +0000 (20:06 +0000)
committercurt <curt>
Fri, 19 Sep 2003 20:06:27 +0000 (20:06 +0000)
commit46caf8576bed9892da0050ddc4d032cdaddbf89f
tree4fd125e1ea8a2d50d4dd8813f9de58ce057113f8
parentb2625867634717cc42f7935379b461bb9acb081f
Update --showaircraft and --aircraft= options to recursively search the
$FGROOT/data/Aircraft hierarchy.  There could be some long term performance
concerns if a person has a *huge* collection of aircraft or a really slow
file system, but I see zero performance blip here from recursing the default
CVS tree.  We should also allow the user to specify the whole path to the
-set.xml file if they don't want to recurse ... this way we could eventually
come up with an aircraft selection dialog box on the front end so the user
could manually walk the tree to the desired aircraft.  There also the system
wouldn't have to search for the aircraft.
src/Main/fg_init.cxx
src/Main/options.cxx
src/Main/options.hxx