mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #858, todo review (demoted, commented)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c2aeab0ab8
commit
61e7f23847
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user