On Tue, 2009-01-27 at 04:07 +0100, Csaba Halász wrote:
> On Tue, Jan 27, 2009 at 3:44 AM, Ron Jensen <w...@jentronics.com> wrote:
> >
> > A simple onespeed supercharger example is shown below:
> >  <numboostspeeds> 1   </numboostspeeds>
> >  <ratedboost1>    8.15</ratedboost1> <!-- 46.5 inHg -->
> >  <ratedpower1> 1900   </ratedpower1> <!-- Horsepower -->
> >  <ratedrpm1>   2600   </ratedrpm1>
> >  <ratedaltitude1> 0 </ratedaltitude1>
> 
> >From an xml standpoint, all those 1s look horrible (I mean
> ratedboost1, ratedpower1, etc).
> Is it too late to do away with them?
> I would suggest something like:
> 
> <supercharger>
>     <stage>
>         <boost>8.15</boost>
>         <power>1900</power>
>         <rpm>2600</rpm>
>         <altitude>0</altitude>
>     </stage>
>     <stage>
>         <!-- stage #2 here -->
>     </stage>
> </supercharger>
> 
> I am saying this without any knowledge of the existing conventions and
> compatibility issues, so feel free to ignore it :)

It probably is too late to do away with them, this is a legacy
definition.  Its also rather clumsy to use, which is why I posted a
functional sample.  But if Jon B is good with changing it, I'd be happy
to. 

Ron



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to