refactor: Change variable type of aircraftNumber

The aircraft number should always be positive
This commit is contained in:
Lars Toenning
2024-01-04 22:38:00 +01:00
parent 4b05c4200d
commit 78d0dc4435
15 changed files with 17 additions and 19 deletions

View File

@@ -193,7 +193,7 @@ namespace BlackMisc
const Aviation::CAircraftSituation &getLastInterpolatedSituation() const { return m_lastSituation; }
//! Parts and situation interpolated
CInterpolationResult getInterpolation(qint64 currentTimeSinceEpoc, const CInterpolationAndRenderingSetupPerCallsign &setup, int aircraftNumber = -1);
CInterpolationResult getInterpolation(qint64 currentTimeSinceEpoc, const CInterpolationAndRenderingSetupPerCallsign &setup, uint32_t aircraftNumber);
//! Takes input between 0 and 1 and returns output between 0 and 1 smoothed with an S-shaped curve.
//!