mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T683, moved m_skipCockpitUpdateCycles to FS common so it can be used with P3D/FSX and FS9
This commit is contained in:
committed by
Mat Sutcliffe
parent
fa6101d02b
commit
718221b90e
@@ -377,7 +377,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
else
|
||||
{
|
||||
m_skipCockpitUpdateCycles--;
|
||||
--m_skipCockpitUpdateCycles;
|
||||
}
|
||||
|
||||
const CAircraftSituation aircraftSituation = simDataOwnAircraft.getSituation();
|
||||
|
||||
@@ -104,11 +104,10 @@ namespace BlackSimPlugin
|
||||
void synchronizeTime();
|
||||
|
||||
QHash<BlackMisc::Aviation::CCallsign, QPointer<CFs9Client>> m_hashFs9Clients;
|
||||
QMetaObject::Connection m_connectionHostMessages;
|
||||
bool m_simConnected = false; //!< Is simulator connected?
|
||||
QSharedPointer<CFs9Host> m_fs9Host;
|
||||
QMetaObject::Connection m_connectionHostMessages;
|
||||
bool m_simConnected = false; //!< Is simulator connected?
|
||||
QSharedPointer<CFs9Host> m_fs9Host;
|
||||
QSharedPointer<CLobbyClient> m_lobbyClient;
|
||||
int m_skipCockpitUpdateCycles = 0; //!< skip some update cycles to allow changes in simulator cockpit to be set
|
||||
|
||||
static constexpr int SkipUpdateCyclesForCockpit = 10;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user