mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T778, CSimulatorXPlane::handleProbeValue use isWater
This commit is contained in:
committed by
Mat Sutcliffe
parent
524fe1a459
commit
03dc641a5e
@@ -167,7 +167,8 @@ namespace BlackSimPlugin
|
||||
//! @}
|
||||
|
||||
private slots:
|
||||
void serviceUnregistered();
|
||||
//! Unregister
|
||||
void onDBusServiceUnregistered();
|
||||
|
||||
private:
|
||||
//! Mode
|
||||
@@ -241,7 +242,7 @@ namespace BlackSimPlugin
|
||||
void setMinTerrainProbeDistance(const BlackMisc::PhysicalQuantities::CLength &distance);
|
||||
|
||||
//! Handle a probe value
|
||||
bool handleProbeValue(const BlackMisc::Geo::CElevationPlane &plane, const BlackMisc::Aviation::CCallsign &callsign, const QString &hint, bool ignoreOutsideRange);
|
||||
bool handleProbeValue(const BlackMisc::Geo::CElevationPlane &plane, const BlackMisc::Aviation::CCallsign &callsign, bool waterFlag, const QString &hint, bool ignoreOutsideRange);
|
||||
|
||||
static bool isSuspiciousTerrainValue(const BlackMisc::Geo::CElevationPlane &elevation);
|
||||
static const BlackMisc::PhysicalQuantities::CLength &maxTerrainRequestDistance();
|
||||
|
||||
Reference in New Issue
Block a user