Mat Sutcliffe
a592bb2bbe
Include style
2021-09-18 15:07:49 +01:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Mat Sutcliffe
3f2e5b0b69
Remove barely-used aggregate headers
2021-09-18 01:44:58 +01:00
Lars Toenning
cedaa48f5a
Issue #120 Remove separate PTT COM1/COM2 hotkeys
2021-09-14 00:07:01 +02:00
Lars Toenning
8763180a41
Fix typo
2021-09-14 00:07:01 +02:00
Lars Toenning
6564c93ae6
Issue #100 Add hotkeys to change COM volume
2021-09-05 12:00:59 +02:00
Lars Toenning
4b37c5ca30
Issue #100 Add slider for master output volume
2021-09-05 11:24:34 +02:00
Lars Toenning
c1b75f7532
Issue #100 Seperate COM1/2 output volumes
2021-09-03 17:43:02 +01:00
Mat Sutcliffe
eb6b0ff289
Fix clang-tidy and clazy warnings
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
81d2dbbac9
Issue #37 Disconnect when FPS drops below threshold
2021-08-21 18:38:56 +01:00
Mat Sutcliffe
f311906d04
Issue #37 Emit signal when FPS drops below threshold
2021-08-21 18:38:56 +01:00
Mat Sutcliffe
2c66e2215e
Issue #77 Move all methods of CLogUtilities to other classes
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
3c3b4cd2fe
Issue #77 Move some templated member functions into their respective header files
2020-12-19 18:50:37 +00:00
Mat Sutcliffe
371c1f4f7c
Issue #77 Break cyclic dependency between CLogCategory and numerous classes
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
479210957a
Issue #77 Break dependency of worker on identifiable
2020-08-29 14:16:19 +01:00
Mat Sutcliffe
b80114213d
Issue #77 Move mixin classes to separate files
...
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
802576eda9
Issue #77 Rename
2020-08-29 14:16:11 +01:00
Mat Sutcliffe
92edbb90c2
Issue #77 Refactor to inline functions
2020-08-29 14:16:10 +01:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Mat Sutcliffe
b7203ce83e
Issue #15 Removed old log distribution code
2020-08-01 19:48:36 +01:00
Lars Toenning
c4202d73f5
Add validationError if .wallop is sent while not connect
...
Same is already done for .msg (and equivalent)
2020-07-26 19:46:06 +02:00
Mat Sutcliffe
670b1a1986
Fix cppcheck and compiler warnings
2020-06-29 18:34:16 +01:00
Klaus Basan
6fc3d55d9a
Fixed mute handling and audio LED
...
* AFV client has own "changedMute" signal
* unmute if started/stopped AFC client
* in statusbar also check audio start/stop to refresh LEDs
* see https://discordapp.com/channels/539048679160676382/539486309882789888/713491666971000872
2020-06-12 18:42:57 +01:00
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