mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T180, formatting
This commit is contained in:
@@ -105,13 +105,13 @@ namespace BlackSimPlugin
|
||||
//! Adding is confirmed
|
||||
bool isConfirmedAdded() const;
|
||||
|
||||
//! Marked as confirmed
|
||||
//! Marked as confirmed, means the simulator has "confirmed" the objectId as added and not instantly removed the object
|
||||
void setConfirmedAdded(bool confirm);
|
||||
|
||||
//! Removing is pending
|
||||
bool isPendingRemoved() const { return m_pendingRemoved; }
|
||||
|
||||
//! Marked as confirmed
|
||||
//! Marked as pending for removal
|
||||
void setPendingRemoved(bool pending);
|
||||
|
||||
//! VTOL?
|
||||
|
||||
@@ -362,7 +362,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
CLogMessage(this).warning("FSX: Pitch value (own aircraft) out of limits: %1") << simulatorOwnAircraft.pitch;
|
||||
}
|
||||
BlackMisc::Aviation::CAircraftSituation aircraftSituation;
|
||||
CAircraftSituation aircraftSituation;
|
||||
aircraftSituation.setPosition(position);
|
||||
// MSFS has inverted pitch and bank angles
|
||||
aircraftSituation.setPitch(CAngle(-simulatorOwnAircraft.pitch, CAngleUnit::deg()));
|
||||
|
||||
@@ -333,9 +333,9 @@ namespace BlackSimPlugin
|
||||
static constexpr int RequestSimDataOffset = 0 * MaxSimObjects;
|
||||
static constexpr int RequestLightsOffset = 1 * MaxSimObjects;
|
||||
static constexpr int AddPendingAircraftIntervalMs = 20 * 1000;
|
||||
static constexpr int DispatchIntervalMs = 10; //!< how often with run the FSX event queue
|
||||
static constexpr int DeferSimulatingFlagMs = 1500; //! simulating can jitter at startup (simulating->stopped->simulating, multiple start events), so we defer detection
|
||||
static constexpr int DeferResendingLights = 2500; //! Resend light state when aircraft light state was not yet available
|
||||
static constexpr int DispatchIntervalMs = 10; //!< how often with run the FSX event queue
|
||||
static constexpr int DeferSimulatingFlagMs = 1500; //!< simulating can jitter at startup (simulating->stopped->simulating, multiple start events), so we defer detection
|
||||
static constexpr int DeferResendingLights = 2500; //!< Resend light state when aircraft light state was not yet available
|
||||
|
||||
QString m_simConnectVersion; //!< SimConnect version
|
||||
bool m_simConnected = false; //!< Is simulator connected?
|
||||
|
||||
Reference in New Issue
Block a user