Re: [Flightgear-devel] Re: [Flightgear-users] Airports

2005-01-26 Thread Arnt Karlsen
On Wed, 26 Jan 2005 12:56:23 -0600, Curtis wrote in message 
<[EMAIL PROTECTED]>:

> My vote is to just present the list of available airports from the
> apt.dat file with some sort of keyword filter/search mechanism. 
> Optionally, you could test if the airport chosen by the user actually
> exists or is installed and produce a suitable warning message before
> placing them in the middle of an ocean.  

..on icy waters frozen deep enough to carry the plane, take off is
still possible in RL.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



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


Re: [Flightgear-devel] Re: [Flightgear-users] Airports

2005-01-26 Thread Paul Surgeon
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


Re: [Flightgear-devel] Re: [Flightgear-users] Airports

2005-01-26 Thread Curtis L. Olson
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.
 

My vote is to just present the list of available airports from the apt.dat file with some sort of keyword filter/search mechanism.  Optionally, you could test if the airport chosen by the user actually exists or is installed and produce a suitable warning message before placing them in the middle of an ocean.  

Regards,
Curt.
--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: [Flightgear-users] Airports

2005-01-26 Thread Frederic Bouvier
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.

-Fred

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