Innis Cunningham wrote:
> I am just wondering is there a very good reason that we use zero to
> number things in FG.  Engines tanks and the like.  Because in the real
> world of aviation nothing is numbered zero as far as I know.
>
> Why does it matter you may ask.  Well it seems a bit strange that a
> four engined aircraft has engines numbered 0-3 and a three engined
> aircraft has engines numbered 0-2 and so on.  As FG grows and more
> systems are added it would seem to me that the confusion could
> multiply.

This can't be fixed.  The underlying software engines (property
system, C++, Nasal, all of it really) all use zero based indexing in
accordance with (very) long standing software engineering convention.
There's no reason the user should ever be exposed to internal indexing
anyway, so the best we can do is present a consistent picture to the
developers.

As confused as you might be, I assure you it would only be worse if we
all had to remember which subsystem used which array indexing
convention.

Andy

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to