mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 21:05:31 +08:00
Ref T436, allow to set a global offset altitude for testing (example: ".altos ? -10m")
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user