mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T437, renamed SB4 to SB3 (as the extension was already available in SB3)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user