On 9/18/07, Csaba Halász <[EMAIL PROTECTED]> wrote:

> Thanks for reporting this.
> I think it would be better to explicitly check for "runway" type
> instead of checking for "not taxiway". Any comments?

Whatever you see fit.

 !taxiway was just the last hack after playing around with different
possibilities. Reasons as far as I remember were:

1. Not to mess with some possible(?) "helipad" or seaplane port
equivalent of a runway. That would of course be invalidated by the
existence of any other ground structures that are not runways like
apron, whatever (apt.dat version 850) but I did not intend to rewrite
the whole runway class just for that fix and so didn't really check
into it deeply.

2. I guesstimated, probably mistakenly,  that checking for something
not being equal to a given string might be a tiny bit faster, esp. as
there would be a lot more taxiways than actual runways on every
airport. I had some vague suspicion that some part of the infamous
"stuttering every couple of seconds" I sometimes experienced might be
related to the ai aircraft trying to search their runways but further
testing was inconclusive on that.

hth
K. Hoercher

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to