mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Ref T296, adding scenery offset as situation member plus utility functions
* frontOrNull/backOrNull * added offset in model * style/renaming
This commit is contained in:
@@ -56,6 +56,15 @@ namespace BlackMisc
|
||||
//! Construct from initializer list.
|
||||
CAircraftSituationList(std::initializer_list<CAircraftSituation> il);
|
||||
|
||||
//! Front or NULL
|
||||
CAircraftSituation frontOrNull() const;
|
||||
|
||||
//! Back or NULL
|
||||
CAircraftSituation backOrNull() const;
|
||||
|
||||
//! Index or NULL
|
||||
CAircraftSituation indexOrNull(int index) const;
|
||||
|
||||
//! Set ground elevation from elevation plane
|
||||
int setGroundElevationChecked(const Geo::CElevationPlane &elevationPlane, CAircraftSituation::GndElevationInfo info, qint64 newerThanAdjustedMs = -1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user