> Need to update the MSVC90 project file? Yep - that's done. All builds should be "green" again.
This patch provides consistent tank properties for /consumables/fuel/tank[0..7]. The handled properties under each branch are * level-kg (fuel level in kilogramm) * density-kgpm3 (fuel density in kg per m^3) * capacity-m3 (tank capacity in m^3) * level-m3 (fuel level in m^3) * level-norm (relative fuel level wrt. volume) * density-ppg (fuel density lbs per galon) * level-lbs (fuel level in lbs) * level-gal_us (fuel level in us-gallons) * level-gal_imp (fuel level in imperial gallons) * capacity-gal_us (tank capacity in us gallons) * capacity-gal_imp (tank capacity in imperial gallons) All these properties are tied properties, they don't trigger listeners but they automatically update the depending properties when they are written to. The number of tanks created defaults to eight but is configurable by setting /consumables/fuel/numtanks to the number of tanks required. Aditionally, there are properties summing the fuel of all tanks under /consumables/fuel, these are * total-fuel-kg (total fuel in kilogramm) * total-fuel-lbs (total fuel in lbs) * total-fuel-gal_us (total fuel in us gallons) * total-fuel-gals (total fuel in us gallons, used for compatibility) * total-fuel-gal_imp (total fuel in imperial gallons) * total-fuel-norm (relative fuel level wrt. volume) These properties are read-only properties. I think I found all places in the core code that compute fuel levels, this should now live in a single place. There is still fuel.nas requiring some cleanup, that will be done during the next days. I tried the few JSBSim and YASim aircraft that I'm able to handle, please report if I broke anything. Torsten ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel