Expose the "spool-time" of a Jet engine as a configuration parameter.
This apparently got forgotten -- the tunable was there, but nothing exposed it in the parser.
This commit is contained in:
parent
7ece674857
commit
55e1bb2f10
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,8 @@ void FGFDM::startElement(const char* name, const XMLAttributes &atts)
|
||||||
if(a->hasAttribute("epr")) j->setEPR(attrf(a, "epr"));
|
if(a->hasAttribute("epr")) j->setEPR(attrf(a, "epr"));
|
||||||
if(a->hasAttribute("exhaust-speed"))
|
if(a->hasAttribute("exhaust-speed"))
|
||||||
j->setVMax(attrf(a, "exhaust-speed") * KTS2MPS);
|
j->setVMax(attrf(a, "exhaust-speed") * KTS2MPS);
|
||||||
|
if(a->hasAttribute("spool-time"))
|
||||||
|
j->setSpooling(attrf(a, "spool-time"));
|
||||||
|
|
||||||
j->setPosition(v);
|
j->setPosition(v);
|
||||||
_airplane.addThruster(j, mass, v);
|
_airplane.addThruster(j, mass, v);
|
||||||
|
|
Loading…
Add table
Reference in a new issue