Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.

https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
This commit is contained in:
Klaus Basan
2019-05-23 12:54:45 +02:00
committed by Mat Sutcliffe
parent b1d265bc0b
commit f7add9f33e
5 changed files with 45 additions and 22 deletions

View File

@@ -118,10 +118,10 @@ namespace BlackSimPlugin
//! Data struct of remote aircraft parts
struct FSXCOMMON_EXPORT DataDefinitionRemoteAircraftPartsWithoutLights
{
double flapsLeadingEdgeLeftPercent; //!< Leading edge left in percent
double flapsLeadingEdgeRightPercent; //!< Leading edge right in percent
double flapsTrailingEdgeLeftPercent; //!< Trailing edge left in percent
double flapsTrailingEdgeRightPercent; //!< Trailing edge right in percent
double flapsLeadingEdgeLeftPercent; //!< Leading edge left in percent 0..1
double flapsLeadingEdgeRightPercent; //!< Leading edge right in percent 0..1
double flapsTrailingEdgeLeftPercent; //!< Trailing edge left in percent 0..1
double flapsTrailingEdgeRightPercent; //!< Trailing edge right in percent 0..1
double gearHandlePosition; //!< Gear handle position
double spoilersHandlePosition; //!< Spoilers out?
double engine1Combustion; //!< Engine 1 combustion flag