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.

Property files were originally for use by (semi-) programmers, who are used to working with zero-based arrays. Over the past couple of years, we have hard-coded engines, etc., based on their positions in the property table, but it's probably time to move to a more elegant solution and specify engine numbers (etc.) explicitly.



All the best,



David


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

Reply via email to