Ref T709, added support for taxi lights in XPlane, using the "bundle lights" flag

This commit is contained in:
Klaus Basan
2019-08-14 23:59:08 +02:00
committed by Mat Sutcliffe
parent 6e90ec5c72
commit 0da1881003
5 changed files with 31 additions and 12 deletions

View File

@@ -932,6 +932,7 @@ namespace BlackSimPlugin
planesSurfaces.rudders.push_back(0.0);
planesSurfaces.ailerons.push_back(0.0);
planesSurfaces.landLights.push_back(parts.getLights().isLandingOn());
planesSurfaces.taxiLights.push_back(parts.getLights().isTaxiOn());
planesSurfaces.beaconLights.push_back(parts.getLights().isBeaconOn());
planesSurfaces.strobeLights.push_back(parts.getLights().isStrobeOn());
planesSurfaces.navLights.push_back(parts.getLights().isNavOn());

View File

@@ -124,7 +124,8 @@ namespace BlackSimPlugin
planesSurfaces.spoilers, planesSurfaces.speedBrakes, planesSurfaces.slats,
planesSurfaces.wingSweeps, planesSurfaces.thrusts, planesSurfaces.elevators,
planesSurfaces.rudders, planesSurfaces.ailerons,
planesSurfaces.landLights, planesSurfaces.beaconLights, planesSurfaces.strobeLights,
planesSurfaces.landLights, planesSurfaces.taxiLights,
planesSurfaces.beaconLights, planesSurfaces.strobeLights,
planesSurfaces.navLights, planesSurfaces.lightPatterns);
}

View File

@@ -74,18 +74,19 @@ namespace BlackSimPlugin
QList<double> gears; //!< List of gears
QList<double> flaps; //!< List of flaps
QList<double> spoilers; //!< List of spoilers
QList<double> speedBrakes; //!< List of speedBrakes
QList<double> speedBrakes; //!< List of speed brakes
QList<double> slats; //!< List of slats
QList<double> wingSweeps; //!< List of wingSweeps
QList<double> wingSweeps; //!< List of wing sweeps
QList<double> thrusts; //!< List of thrusts
QList<double> elevators; //!< List of elevators
QList<double> rudders; //!< List of rudders
QList<double> ailerons; //!< List of ailerons
QList<bool> landLights; //!< List of landLights
QList<bool> beaconLights; //!< List of beaconLights
QList<bool> strobeLights; //!< List of strobeLights
QList<bool> navLights; //!< List of navLights
QList<int> lightPatterns; //!< List of lightPatterns
QList<bool> landLights; //!< List of landing lights
QList<bool> taxiLights; //!< List of taxi lights
QList<bool> beaconLights; //!< List of beacon lights
QList<bool> strobeLights; //!< List of strobe lights
QList<bool> navLights; //!< List of nav lights
QList<int> lightPatterns; //!< List of light patterns
};
//! Plane Transponders