Ref T437, renamed SB4 to SB3 (as the extension was already available in SB3)

This commit is contained in:
Klaus Basan
2018-11-18 19:43:22 +01:00
parent 3f8ea99d14
commit 22f17bec44
2 changed files with 5 additions and 5 deletions

View File

@@ -697,9 +697,9 @@ namespace BlackSimPlugin
this->physicallyInitAITerrainProbes(position, 2); // init probe
}
// SB4 offsets
m_simulatorInternals.setValue(QStringLiteral("fsx/sb4"), boolToEnabledDisabled(m_useSbOffsets));
m_simulatorInternals.setValue(QStringLiteral("fsx/sb4packets"), m_useSbOffsets ? QString::number(m_sbDataReceived) : QStringLiteral("disabled"));
// SB3 offsets
m_simulatorInternals.setValue(QStringLiteral("fsx/sb3"), boolToEnabledDisabled(m_useSbOffsets));
m_simulatorInternals.setValue(QStringLiteral("fsx/sb3packets"), m_useSbOffsets ? QString::number(m_sbDataReceived) : QStringLiteral("disabled"));
}
m_ownAircraftUpdateCycles++; // with 50updates/sec long enough even for 32bit

View File

@@ -180,7 +180,7 @@ namespace BlackSimPlugin
//! Number of received SB4 packets
//! \remark if this is increasing, SB4 is supported
int receivedSB4Packets() const { return m_sbDataReceived; }
int receivedSBPackets() const { return m_sbDataReceived; }
//! Request for sim data (request in range of sim data)?
static bool isRequestForSimObjAircraft(DWORD requestId) { return requestId >= RequestSimObjAircraftStart && requestId <= RequestSimObjAircraftRangeEnd; }
@@ -561,7 +561,7 @@ namespace BlackSimPlugin
bool m_traceSendId = false; //!< trace the send ids, meant for debugging
qint64 m_traceAutoUntilTs = -1; //!< allows to automatically trace for some time
qint64 m_simulatingChangedTs = -1; //!< timestamp, when simulating changed (used to avoid jitter)
int m_sbDataReceived = 0; //!< SB4 area data received
int m_sbDataReceived = 0; //!< SB3 area data received
int m_syncTimeDeferredCounter = 0; //!< Set when synchronized, used to wait some time
int m_skipCockpitUpdateCycles = 0; //!< skip some update cycles to allow changes in simulator cockpit to be set
int m_ownAircraftUpdateCycles = 0; //!< own aircraft update