[AFV], Ref T730 play audio "tuned in"/"out"

Replaces the former voice room connected sounds
This commit is contained in:
Klaus Basan
2019-10-21 02:06:09 +02:00
parent be99911372
commit 7428cb0819
4 changed files with 88 additions and 6 deletions

View File

@@ -223,6 +223,9 @@ namespace BlackCore
std::atomic_bool m_history { true }; //!< enable history
BlackMisc::Aviation::CAircraftSituationList m_situationHistory; //!< history, latest situation first
BlackMisc::Aviation::CComSystem m_lastEvaluatedCom1;
BlackMisc::Aviation::CComSystem m_lastEvaluatedCom2;
BlackMisc::CSetting<BlackMisc::Network::Settings::TCurrentTrafficServer> m_currentNetworkServer { this };
//! Station has been changed, needed to tune in/out voice room
@@ -254,6 +257,9 @@ namespace BlackCore
//! Update own model and emit signal with identifier
bool updateOwnModel(const BlackMisc::Simulation::CAircraftModel &model, const BlackMisc::CIdentifier &identifier);
//! Evaluate COM stations
void evaluateComStations(bool atcChanged);
//! Reverse lookup of the model against DB data
static BlackMisc::Simulation::CAircraftModel reverseLookupModel(const BlackMisc::Simulation::CAircraftModel &model);
};