Commit Graph

2257 Commits

Author SHA1 Message Date
Klaus Basan
7b6650db32 Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script 2019-09-16 22:39:52 +01:00
Klaus Basan
0360704b0b Ref T683, "updateOwnSituationAndGroundElevation"
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Klaus Basan
e1b0375d68 Ref T683, own aircraft provider CG update 2019-09-16 22:39:50 +01:00
Klaus Basan
daeea07090 Ref T683, style 2019-09-16 22:39:49 +01:00
Klaus Basan
71e09b008f Ref T681, renamed to rememberElevationAndSimulatorCG and style 2019-09-16 22:38:08 +01:00
Klaus Basan
d072224a8b Moved XPDR definitions into "actionhotkeydefs.h" 2019-09-16 22:38:07 +01:00
Klaus Basan
017e9402fd Ref T681, use simulator or DB CG as in settings 2019-09-16 22:38:07 +01:00
Klaus Basan
6d490e9a49 Ref T681, preparations to use CG from DB
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +01:00
Klaus Basan
33c3ee68f1 Doxygen and style 2019-09-16 22:38:06 +01:00
Klaus Basan
c9846f45ee Avoid colons in VATLIB packets https://discordapp.com/channels/539048679160676382/567983892791951374/585899398387728395 2019-09-16 20:30:00 +01:00
Klaus Basan
2756a5d2dd Fixed bootstrap file, VERIFY if bootstrap file is broken 2019-09-16 20:29:58 +01:00
Klaus Basan
ab5fc6f0ee Ref T658, adjusted matching with script
* return values changed
* pass in model and matched model
* JavaScript objects for web services, model set
* allow to pass back a model
2019-09-16 20:29:54 +01:00
Klaus Basan
891d75598e Ref T658, matching script web services wrapper 2019-09-16 20:29:53 +01:00
Klaus Basan
8721eca6a1 Reduced booking reader frequency as discussed with the site owner 2019-09-16 20:29:49 +01:00
Klaus Basan
c33dfce481 Category matcher using full model set and also reduced models
* Based on FS report here: https://swift-project.slack.com/archives/G96QTUBEG/p1559071176005100
* Return reduced models and not full set if no category matching applies
2019-09-16 20:29:47 +01:00
Klaus Basan
50412aa0d1 Preparation for 2 COM keys and increase/decrease volume hotkeys
Ref T672, Ref T642
2019-09-16 20:29:46 +01:00
Klaus Basan
d509b1eb09 Ref T604, remember last audio volume
* adjust setting
* save setting
2019-09-16 20:29:46 +01:00
Klaus Basan
56d72b94c1 Improved matching logging 2019-09-16 20:29:45 +01:00
Klaus Basan
949513ce50 Do not ASSERT in booking reader if format is NOT compatibel
See https://discordapp.com/channels/539048679160676382/568904623151382546/582299692352929793
2019-09-16 20:29:45 +01:00
Klaus Basan
8e51d9147d Style 2019-09-16 20:29:44 +01:00
Klaus Basan
909a9e55d7 Avoid too many booking reader values 2019-09-16 20:29:44 +01:00
Klaus Basan
a646e122af Avoid ASSERT from emulated driver
* not all plugins are installed
* use default simulator if there is no simulator info
2019-09-16 20:29:44 +01:00
Klaus Basan
cec768b9a4 T658, matching script for network entry 2019-09-16 20:29:39 +01:00
Klaus Basan
f7add9f33e Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-09-16 20:29:37 +01:00
Klaus Basan
a86e98ca3a Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed 2019-09-16 20:29:35 +01:00
Klaus Basan
e32282ba18 Resolve airline group during reduction 2019-09-16 20:29:33 +01:00
Klaus Basan
767961dfa8 Ref T658, matching script QObject 2019-05-23 13:12:58 +02:00
Klaus Basan
475d23c3da Ref T658, moved entry script in own function and adjusted airspace monitor 2019-05-23 13:12:58 +02:00
Klaus Basan
a37ce2d258 Ref T668, allow to set an additional time offset via "dot command" 2019-05-23 13:00:27 +02:00
Klaus Basan
d8729cea1e Ref T668, CG override per "dot" command 2019-05-23 13:00:26 +02:00
Klaus Basan
da8e504d67 Ref T668, minor style changes and improvemments 2019-05-23 13:00:26 +02:00
Klaus Basan
0b4427e39d Ref T658, matching script 2019-05-23 13:00:26 +02:00
Klaus Basan
b9aab7e5b3 Ref T658, matching settings for reverse lookup in airspace monitor 2019-05-23 13:00:25 +02:00
Roland Rossgotterer
0493dafd69 Don't connect dummy input device to voice mixer
connectVoice accepts only vatlib types.
2019-05-13 11:21:11 +02:00
Klaus Basan
3289e26459 Style 2019-05-13 11:21:10 +02:00
Klaus Basan
4b06d46166 Ref T656, Bug fix for CPZ6092 issue 2019-05-13 11:21:09 +02:00
Klaus Basan
5979dceaa3 Ref T640, style 2019-05-13 11:21:08 +02:00
Mat Sutcliffe
61d933be12 Tidying up around QPointer guards. 2019-05-13 11:21:06 +02:00
Roland Rossgotterer
5f00747d19 [MacOS] Ask user for permission to access microphone
This is required for MacOS 10.14 and later. This also requires an explanation why
access is required in the apps Info.plist. Hence added custom Info.plist templates
for each app.
2019-05-13 11:21:05 +02:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
6ff118b3c0 Ref T645, minor style changes 2019-05-13 11:21:04 +02:00
Klaus Basan
94e65e3bc4 No ASSERT without callsign, just VERIFY/ignore
https://discordapp.com/channels/539048679160676382/568904623151382546/575712119513677826
2019-05-13 11:21:01 +02:00
Klaus Basan
23342bea3c Improved matching log 2019-05-13 11:20:54 +02:00
Klaus Basan
3be753a6a7 Allow to update model directories 2019-05-13 11:20:53 +02:00
Klaus Basan
3c23fdb461 Ref T650, better log messages 2019-05-13 11:20:52 +02:00
Klaus Basan
5d98b56a7e Ref T644, deferred init of notification sounds 2019-05-13 11:20:51 +02:00
Klaus Basan
77fcde6465 Ref T644, audio volume for notification sounds can be set 2019-05-13 11:20:50 +02:00
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +02:00
Klaus Basan
8df7404f2b Fixed staggered update 2019-05-13 11:20:49 +02:00
Klaus Basan
a764a2de7e Added value for notification volume in sound setting 2019-05-13 11:20:49 +02:00