On Wednesday, 26 January 2005 20:28, Frederic Bouvier wrote:
> Quoting Paul Surgeon:
> > On Wednesday, 26 January 2005 17:44, Curtis L. Olson wrote:
> > > Fred is pondering/working on a more optimal solution for the next
> > > release.  There are a number of good ideas he can try so I'm sure he'll
> > > come up with something that works quite well. :-)
> >
> > Does fgrun scan the scenery directories everytime it is run?!
>
> Yes, and I hope to fix that soon. Still pondering.

The approach I took for my airport selection code was :
On first time startup, build a DB of installed airports and save to disk.
Later on if the user installs more scenery they can click on the "rebuild 
airport DB" button.

This way the loading is quick and one can filter out non-installed airports 
and/or flag them as not installed when displayed in a list.
It works well for me but you maybe you can come up with a better approach.

Paul

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to