Klaus Basan
24bc57ac32
[Weather] Allow to trigger reload of weather from UI
2020-06-12 18:42:57 +01:00
Klaus Basan
3099464668
Message texts
2020-06-12 18:42:56 +01:00
Klaus Basan
1fb97755ce
[Weather] Only send weather if activated
2020-06-12 18:42:54 +01:00
Klaus Basan
bba07ef4c4
[AFV] Signal/handling for authentication failures
...
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
32605cd557
[AFV] Finer granularity for inc./dec. volume (hotkey)
2020-06-12 18:42:53 +01:00
Klaus Basan
5678052b5d
Ref T786, enable weather in sim. if plugin changed
2020-06-12 18:42:52 +01:00
Klaus Basan
9235f3232e
Improvements during shutdown
...
* stop listeners
* check if airspace monitor and FSD still exist
* stop listeners on "aboutToShutdown()"
* check for processEventsFor(500)
2020-06-12 18:42:52 +01:00
Klaus Basan
58583d3ffa
Ref T786, simulator context
...
* use identifier based "requestWeatherGrid"
* injectWeatherGrid now public
* clean m_lastWeatherPosition if weather is de-activated
* inject weather CContextSimulator::onWeatherGridReceived
1) this automatically injects the weather, the callback is not needed
2) the callback was the part which crashed
2020-06-12 18:42:50 +01:00
Klaus Basan
3be498a347
Ref T786, make sure callbacks are called in correct thread
...
* callback.singleShot
* shutdown guards, "myself"
* BLACK_VERIFY
* Qt::QueuedConnection
2020-06-12 18:42:49 +01:00
Klaus Basan
668659248e
Send distance if own aircraft has been moved
2020-06-12 18:42:48 +01:00
Klaus Basan
9618073a04
[Context] "isRemoteAircraftSupportingParts" as context function (not only provider function)
2020-06-12 18:42:48 +01:00
Klaus Basan
21e109e5e2
[AFV] Simulator settings changed signal
...
* in the cockpit "sync." can now be enabled/disabled
* settings signal allows to update UI in settings UI
2020-06-12 18:42:47 +01:00
Klaus Basan
ea8198d26e
[AFV] Allow to set the tx/rx values for the AFV client
...
Simplified function
2020-06-12 18:42:46 +01:00
Klaus Basan
63cc2a7e3e
[AFV] Utility functions to update simulator settings
2020-06-12 18:42:46 +01:00
Klaus Basan
f14184ddc0
Style and minor UI tweaks
2020-06-12 18:42:45 +01:00
Klaus Basan
92d53a4077
[FG] Do not send modelstring or a shorter livery string for FG
...
* FG does not support modelstrings for "flyable" planes
* remove unused setSimInfo functions, consolidated, cleanup
* simulator dependent "getSwiftLiveryString"
* encapsulated in getConfiguredLiveryString, getConfiguredModelString
* see https://discordapp.com/channels/539048679160676382/567091362030419981/698124094482415616
2020-06-12 18:42:45 +01:00
Klaus Basan
e13dcd7d7d
Fix for graceful shutdown to avoid "nullptr" issue
...
see https://discordapp.com/channels/539048679160676382/539925070550794240/694331123643187232
2020-06-12 18:42:42 +01:00
Klaus Basan
2cb10c1835
Minor fix to avoid issues
2020-06-12 18:42:42 +01:00
Klaus Basan
dab907df8c
Graceful shutdown of SELCAL player with audio context
2020-06-12 18:42:41 +01:00
Klaus Basan
7d4e897b88
[AFV] Displayed sync. (integrated with COM unit) flag in cockpit
2020-06-12 18:42:40 +01:00
Klaus Basan
f8d59e7b04
[Worker] Use "m_validator->quitAndWait()" as validator now can "stop" long lasting functions
2020-06-12 18:42:40 +01:00
Klaus Basan
7f4a68eb45
[WASAPI] another WASAPI fix trial
...
* disabled the initWindowsAudioDevices call as it seems to be pointless
* changed the order in CContextAudioBase::initVoiceClient
* init CAudioDeviceInfoList::allDevices BEFORE CAfvClient
see https://discordapp.com/channels/539048679160676382/539925070550794240/687769623827185671
2020-06-12 18:42:37 +01:00
Klaus Basan
2999aebf37
Ref T773, allow to update CG per model string
...
* needed if CG is overridden by "dot command"
* update all existing aircraft (in range) if changing CG per modelstring
* made "overriddenCGorDefault" public so it can be checked if overridden
* use overridden value in CContextSimulator::xCtxAddedRemoteAircraftReadyForModelMatching
* allow to clear overridden values
2020-06-12 18:42:36 +01:00
Klaus Basan
ec92b6dc46
Ref T773, use closest positions for average height/elevation values
...
Testing with XPlane:
* even in EDDF the field elevations vary from 353-368ft, which means a difference of 15ft or 4m
* that means it is important to use the closest values
2020-06-12 18:42:36 +01:00
Klaus Basan
33b1e26460
Ref T773, cache ground elevations for "on ground" planes separately
...
Rational:
* Those values represent taxiways and runways
* we cache those longer and keep more
It is much more likely we need/can use these values
2020-06-12 18:42:33 +01:00
Klaus Basan
33b3cd5461
Ref T773, elevation handling style and minor improvements
2020-06-12 18:42:32 +01:00
Klaus Basan
4d5e3ee0ae
Init context devices deferred as the settings are ONLY available after DBus is initialized
...
* we init in a context constructor
* a this time it is not clear:
** if we will use a DBus scenario
** or standalone scenario
2020-01-22 19:46:14 +01:00
Klaus Basan
5542fcd7d3
Unified how settings are read in audio context
2020-01-18 02:46:56 +01:00
Klaus Basan
f8e8318902
Log.category for FSD and minor style changes
2020-01-07 19:57:27 +00:00
Klaus Basan
30036b6b82
Dot command "help"
2020-01-07 19:57:24 +00:00
Klaus Basan
b9ea40e8d1
[FSD] wallop message sending incomplete fixed
2020-01-07 19:57:22 +00:00
Klaus Basan
64b17b787c
Ref T761, relay original sender AND recipient
...
* display sent messages of partner callsing as send by myself
* allow PMs from partner as normal PMs
2020-01-07 19:57:21 +00:00
Klaus Basan
a54f804cf1
Ref T761, display partner callsign in adv.login screen
...
* added context functions
* UI readonly fields
2020-01-07 19:57:21 +00:00
Klaus Basan
4e2a47fc41
Ref T761, use "preset" callsign if available
...
Avoids issue with partner callsign
2020-01-07 19:57:20 +00:00
Klaus Basan
f07ca09424
Ref T761, partner callsign message relay (swift with co-pilot)
...
* handle server error messages correctly as "error"
* (relayed) sender can be ATC or aircraft
* relay private messages correctly
2020-01-07 19:57:20 +00:00
Klaus Basan
34f9fb89d6
[FSD] Start FSD client in own thread (CContinuousWorker)
2020-01-07 19:57:20 +00:00
Klaus Basan
928a76a042
Minor tweaks for METAR info
2020-01-07 19:57:20 +00:00
Klaus Basan
efee7968dc
[AFV] Using the aliased frequencies can be enabled/disabled
...
* flag
* "dot command"
* register audio "dot commands" for audio
2020-01-07 19:57:20 +00:00
Klaus Basan
f6f719a67e
[FSD] "dot" command to restrict max. range for FSD positions
...
Allows to limit the range in which we handle FSD positions
(This also means FSD planes range)
2020-01-07 19:57:19 +00:00
Klaus Basan
59c6a7ad93
[FSD] Avoid that all matchings are triggered "at the same time"
...
* the signal from CAirspaceMonitor is connected internally
* this signal is closely related to receive the FSD ICAO data
* and then it is emitted from the context again but staggered
2020-01-07 19:57:19 +00:00
Klaus Basan
441ca41ee3
[FS9] Log. messages
2020-01-07 19:46:18 +00:00
Klaus Basan
d8ec308a3b
[DBus] DBus related fixes
...
* use INT in CAudioDeviceInfo (minimum trouble)
* register metatype
* removed getSimulatorStatusEnum from DBus slots
2020-01-07 19:46:17 +00:00
Klaus Basan
0a1835f1a5
[AFV] Ref T739, register used AFV callsigns
...
For core/GUI we need to register with 2 different callsigns
2020-01-07 19:46:17 +00:00
Klaus Basan
53de0d56b9
Style
2020-01-07 19:46:17 +00:00
Klaus Basan
87f078a698
[AFV] Ref T731, Ref T739 register devices so we can also obtain remote devices
2020-01-07 19:46:15 +00:00
Klaus Basan
8a89b8f261
[AFV] Ref T739, context function to unregister per identifier
2020-01-07 19:46:15 +00:00
Klaus Basan
209c00b430
Style
2020-01-07 19:46:14 +00:00
Klaus Basan
275173c383
[Doxygen] workaround to silence audio context Doxygen error, no idea why this was wrong
2020-01-07 19:05:43 +00:00
Klaus Basan
a9a772c929
[AFV] Ref T739, audio context default device handling
2020-01-07 19:05:42 +00:00
Klaus Basan
5150fb4e86
[AFV] Ref T739, cmd.line args for "no audio"
2020-01-07 19:05:42 +00:00