mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
Ref T773, cache ground elevations for "on ground" planes separately
Rational: * Those values represent taxiways and runways * we cache those longer and keep more It is much more likely we need/can use these values
This commit is contained in:
committed by
Mat Sutcliffe
parent
b128d40342
commit
33b1e26460
@@ -1140,9 +1140,9 @@ namespace BlackCore
|
||||
return c;
|
||||
}
|
||||
|
||||
int CContextNetwork::updateAircraftGroundElevation(const CCallsign &callsign, const CElevationPlane &elevation, CAircraftSituation::GndElevationInfo info)
|
||||
int CContextNetwork::updateAircraftGroundElevation(const CCallsign &callsign, const CElevationPlane &elevation, CAircraftSituation::GndElevationInfo info, bool *setForOnGroundPosition)
|
||||
{
|
||||
return m_airspace->updateAircraftGroundElevation(callsign, elevation, info);
|
||||
return m_airspace->updateAircraftGroundElevation(callsign, elevation, info, setForOnGroundPosition);
|
||||
}
|
||||
|
||||
void CContextNetwork::updateMarkAllAsNotRendered()
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace BlackCore
|
||||
virtual bool updateAircraftRendered(const BlackMisc::Aviation::CCallsign &callsign, bool rendered) override;
|
||||
virtual int updateMultipleAircraftRendered(const BlackMisc::Aviation::CCallsignSet &callsigns, bool rendered) override;
|
||||
virtual int updateMultipleAircraftEnabled(const BlackMisc::Aviation::CCallsignSet &callsigns, bool enabled) override;
|
||||
virtual int updateAircraftGroundElevation(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Geo::CElevationPlane &elevation, BlackMisc::Aviation::CAircraftSituation::GndElevationInfo info) override;
|
||||
virtual int updateAircraftGroundElevation(const BlackMisc::Aviation::CCallsign &callsign, const BlackMisc::Geo::CElevationPlane &elevation, BlackMisc::Aviation::CAircraftSituation::GndElevationInfo info, bool *setForOnGroundPosition) override;
|
||||
virtual void updateMarkAllAsNotRendered() override;
|
||||
virtual BlackMisc::PhysicalQuantities::CLength getCGFromDB(const BlackMisc::Aviation::CCallsign &callsign) const override;
|
||||
virtual BlackMisc::PhysicalQuantities::CLength getCGFromDB(const QString &modelString) const override;
|
||||
|
||||
Reference in New Issue
Block a user