Here are some updates to make the time factor for the new brake functions settable via the property tree. It sets a default value of 0.5s (if nothing else has already set it) that can later be updated by preferences.xml, the user, or whatever.
Josh Index: controls.nas =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/Nasal/controls.nas,v retrieving revision 1.18 diff -r1.18 controls.nas 342c342,344 < fullBrakeTime = 0.5; --- > if (getprop("/controls/gear/full-brake-time-sec")==nil) { > setprop("/controls/gear/full-brake-time-sec", "0.5") > } 343a346 > fullBrakeTime = getprop("/controls/gear/full-brake-time-sec"); Index: preferences.xml =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v retrieving revision 1.208 diff -r1.208 preferences.xml 626a627 > <full-brake-time-sec type="double">0.5</full-brake-time-sec> ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel