Formatting

This commit is contained in:
Klaus Basan
2018-05-29 18:02:59 +02:00
parent d1782cf014
commit 5d6952031d
3 changed files with 11 additions and 10 deletions

View File

@@ -268,13 +268,14 @@ namespace BlackSimPlugin
HRESULT initDataDefinitionsWhenConnected();
//! Update remote aircraft
//! \remark this is where the interpolated data are set
//! \remark this is where the interpolated data are send
void updateRemoteAircraft();
//! Update remote aircraft parts (send to FSX)
bool updateRemoteAircraftParts(const CSimConnectObject &simObject, const BlackMisc::Simulation::CInterpolationResult &result);
//! Send parts to simulator
//! \remark does not send if there is no change
bool sendRemoteAircraftPartsToSimulator(const CSimConnectObject &simObject, DataDefinitionRemoteAircraftPartsWithoutLights &ddRemoteAircraftParts, const BlackMisc::Aviation::CAircraftLights &lights);
//! Send lights to simulator (those which have to be toggled)
@@ -390,7 +391,7 @@ namespace BlackSimPlugin
bool m_simConnected = false; //!< Is simulator connected?
bool m_simSimulating = false; //!< Simulator running?
bool m_useSbOffsets = true; //!< with SB offsets
bool m_traceSendId = false; //!< trace the send ids, meant for dedugging
bool m_traceSendId = false; //!< trace the send ids, meant for debugging
qint64 m_simulatingChangedTs = -1; //!< timestamp, when simulating changed (used to avoid jitter)
int m_syncDeferredCounter = 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

View File

@@ -294,7 +294,7 @@ namespace BlackSimPlugin
}
break;
}
break;
break; // SIMCONNECT_RECV_ID_SIMOBJECT_DATA
}
case SIMCONNECT_RECV_ID_AIRPORT_LIST:
{
@@ -322,7 +322,7 @@ namespace BlackSimPlugin
simulatorFsxP3D->m_airportsInRangeFromSimulator.sortByDistanceToOwnAircraft();
simulatorFsxP3D->m_airportsInRangeFromSimulator.truncate(simulatorFsxP3D->maxAirportsInRange());
}
break;
break; // SIMCONNECT_RECV_ID_AIRPORT_LIST
}
case SIMCONNECT_RECV_ID_CLIENT_DATA:
{
@@ -334,7 +334,7 @@ namespace BlackSimPlugin
DataDefinitionClientAreaSb *sbData = (DataDefinitionClientAreaSb *) &clientData->dwData;
simulatorFsxP3D->updateOwnAircraftFromSimulator(*sbData);
}
break;
break; // SIMCONNECT_RECV_ID_CLIENT_DATA
}
case SIMCONNECT_RECV_ID_EVENT_FILENAME:
{
@@ -344,7 +344,7 @@ namespace BlackSimPlugin
case SystemEventFlightLoaded: break;
default: break;
}
break;
break; // SIMCONNECT_RECV_ID_EVENT_FILENAME
}
default:
break;