* Melchior FRANZ -- Saturday 21 July 2007:
> (I only changed text files with MSDOS line terminators to Unix
> style according to fgfs rules. :-)

I also removed the "userarchive" flags on the hobbs and yoke properties,
and let those properties be written to the c150's own aircraft config
instead. I decided to not wait for your reply, as the "userarchive"
settings polluted the systems's autosave.xml file, which would have to
be cleaned manually by every single user.

There's a bug with the mixture: you redefine controls.mixtureAxis() to
write to /controls/engines/engine/mixture-lever instead of to
/controls/engines/engine/mixture, but you didn't also change
controls.adjMixture(). This breaks the mixture handling for all people
who have assigned adjMixture() on their joysticks. If the renaming
is really necessary, then better let both controls definitions as they
are, and just put that into the c150.main_loop():

  setprop("/controls/engines/engine/mixture-lever",
          getprop("/controls/engines/engine/mixture"));

Just using the standardized property names is preferable, of course.

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to