Ref T259, Ref T243 simulator environment provider

* access to elevation
* future: more data such as airport info
This commit is contained in:
Klaus Basan
2018-03-07 02:04:21 +01:00
parent 8021cf76fd
commit 3346a92b56
5 changed files with 169 additions and 7 deletions

View File

@@ -496,6 +496,9 @@ namespace BlackSimPlugin
// set it in the remote aircraft provider
this->updateAircraftGroundElevation(simObject.getCallsign(), elevation);
// and in elevation provider
this->rememberGroundElevation(elevation);
}
void CSimulatorFsxCommon::updateOwnAircraftFromSimulator(const DataDefinitionClientAreaSb &sbDataArea)

View File

@@ -1027,6 +1027,7 @@ namespace BlackSimPlugin
// set it in the remote aircraft provider
this->updateAircraftGroundElevation(cs, elevation);
this->rememberGroundElevation(elevation);
}
BlackCore::ISimulator *CSimulatorXPlaneFactory::create(const CSimulatorPluginInfo &info,