mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T259, Ref T243 simulator environment provider
* access to elevation * future: more data such as airport info
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user