Ref T436, allow to set a global offset altitude for testing (example: ".altos ? -10m")

This commit is contained in:
Klaus Basan
2018-11-23 02:43:11 +01:00
parent 31ba0c1520
commit 62860eb30b
4 changed files with 37 additions and 20 deletions

View File

@@ -259,6 +259,9 @@ namespace BlackMisc
//! Remove outdated aircraft parts, but never the most recent one
static void removeOutdatedParts(Aviation::CAircraftPartsList &partsList);
//! Wildcard callsign
static const Aviation::CCallsign &testAltitudeOffsetCallsign();
protected:
//! Constructor
IRemoteAircraftProvider();
@@ -369,6 +372,9 @@ namespace BlackMisc
//! Has test offset value?
bool hasTestAltitudeOffset(const Aviation::CCallsign &callsign) const;
//! Has test offset value?
bool hasTestAltitudeOffsetGlobalValue() const;
//! Offset for callsign
bool testAddAltitudeOffset(const Aviation::CCallsign &callsign, const PhysicalQuantities::CLength &offset);