refs #858, todo review (demoted, commented)

This commit is contained in:
Klaus Basan
2017-01-12 18:10:45 +01:00
committed by Mathew Sutcliffe
parent c2aeab0ab8
commit 61e7f23847
11 changed files with 21 additions and 23 deletions

View File

@@ -89,7 +89,8 @@ namespace BlackSimPlugin
if (!this->isConnected()) { return false; }
Q_UNUSED(aircraft);
//! \todo FSUIPC write values
//! \fixme FSUIPC write values not yet implemented
return false;
}
@@ -97,8 +98,7 @@ namespace BlackSimPlugin
{
if (!this->isConnected()) { return false; }
clearAllWeather();
this->clearAllWeather();
CGridPoint gridPoint = weatherGrid.front();
NewWeather nw;
@@ -157,7 +157,6 @@ namespace BlackSimPlugin
for (const auto &cloudLayer : cloudLayers)
{
NewCloud cloud;
switch (cloudLayer.getCoverage())
{
case CCloudLayer::None: cloud.Coverage = 0; break;
@@ -329,7 +328,7 @@ namespace BlackSimPlugin
// Mode by SB3
if (xpdrIdentSb3Raw != 0)
{
//! \todo Reset value for FSUIPC
//! \fixme Reset value for FSUIPC
xpdr.setTransponderMode(CTransponder::StateIdent);
}
else

View File

@@ -267,8 +267,7 @@ namespace BlackSimPlugin
SIMCONNECT_RECV_CLIENT_DATA *clientData = (SIMCONNECT_RECV_CLIENT_DATA *)pData;
if (simulatorFsx->m_useSbOffsets && clientData->dwRequestID == CSimConnectDefinitions::RequestSbData)
{
//! \todo why is offset 19 ident 2/0 ?
//! In FSUIPC it is 0/1, according to documentation it is 0/1 but I receive 2/0 here
//! \fixme FSUIPC vs SimConnect why is offset 19 ident 2/0? In FSUIPC it is 0/1, according to documentation it is 0/1 but I receive 2/0 here. Whoever knows, add comment or fix if wrong
DataDefinitionClientAreaSb *sbData = (DataDefinitionClientAreaSb *) &clientData->dwData;
simulatorFsx->updateOwnAircraftFromSimulator(*sbData);
}