Klaus Basan
828b57f5a2
[AFV] Log. messages
2020-06-12 18:42:48 +01:00
Klaus Basan
465c8fd81d
[Weather] Minimal style fixes
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
148368ca0c
Some fixes for interpolation setups
...
* added missing signal
* refresh list on reload button press
* display pitch value
* list ctor for single object
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
afa5ba1fee
[FS9] Doxygen, no need to make enum value const
2020-06-12 18:42:46 +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
b63e127b13
[AFV] Verbose logging only for dev.builds
2020-06-12 18:42:44 +01:00
Mat Sutcliffe
22ebf6c5ea
Ref T778 XSwiftBus traffic service prodives water/land flag for elevations
2020-06-12 18:42:44 +01:00
Klaus Basan
ce9b9e3e5b
[FSD] Gradually increase number of read lines from FSD socket
...
* Avoid overflow by gradually reading more lines
* Also improved sending in the same way
2020-06-12 18:42:44 +01:00
Klaus Basan
919b6e9515
Fixed warning message
2020-06-12 18:42:43 +01:00
Klaus Basan
cc887ea0f8
Ref T778, also update sim.data if elevation did change
...
Use ISimulator::isEqualLastSent in equalPbhVectorAltitudeElevation
2020-06-12 18:42:43 +01:00
Klaus Basan
46d417c5a2
Ref T778, style and comments, debug hints
2020-06-12 18:42:43 +01:00
Klaus Basan
829777bf3a
Ref T778, added "likelyOnGroundElevation" as parameter for "ememberElevationAndSimulatorCG"
2020-06-12 18:42:43 +01:00
Klaus Basan
373e45e958
Ref T778, some smaller style fixes/improvements
...
for the "underground" airplanes as reported by AK
This does NOT fix the issue, but minor shortcomings
found during the investigation
* style
* checks for "developer" env.
2020-06-12 18:42:43 +01:00
Klaus Basan
f56adb7af4
[FSD] Ignore IVAO RegistrationInfo
2020-06-12 18:42:42 +01:00
Klaus Basan
5eaa8db1a2
[FSD] use Serializer::fromQString function, to static_cast
...
see https://discordapp.com/channels/539048679160676382/539925070550794240/694955298217263124
2020-06-12 18:42:42 +01:00
Klaus Basan
81049cd835
[FSD] Adjusted logging of unknown FSD types, queries ....
...
* made those simple log. messages
* only log. those once
See https://discordapp.com/channels/539048679160676382/539925070550794240/694927156748222475
2020-06-12 18:42:42 +01:00
Klaus Basan
299859646a
VATSIM data file parser "fixes"
...
- Limit the number of parser errors going to the log
- stop parsing if no attributes can be obtained (otherwise we see too many parser messages)
2020-06-12 18:42:42 +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
cb78453e7c
Make sure contexts are "gracefulShutdown"
...
The shutdown was NOT called as it was canceled because of being in shutdown mode
2020-06-12 18:42:42 +01:00
Klaus Basan
53ed37d7fd
Changed shutdown order in facade
...
* audio first, with disconnect
* then network
rational: logoff from the network first
2020-06-12 18:42:42 +01:00
Mat Sutcliffe
2f1e3f47f9
Track worker construction and destruction
...
Added debug log messages in case a worker still exists when the `qApp` is destroyed.
This would mean that a `quitAndWait` is missing or is being skipped somewhere.
2020-06-12 18:42:41 +01:00
Klaus Basan
0ee522426a
Create "shutdown" message to find how far we get if swift hangs during shutdown
2020-06-12 18:42:41 +01:00
Klaus Basan
e6a12d45c4
Ref T778, improved "canLikelySkipNearGround" in airspace monitor
...
* use CAircraftIcaoCode::guessModelParameters as this gives us an impression of speed
* use "breakable" do/while block / fewer nested "if" levels
2020-06-12 18:42:41 +01:00
Klaus Basan
5bc09ed2c8
[PQ] added static "parsedFromString"
2020-06-12 18:42:41 +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
17ab66e50a
[FSD] Added "FSD" as prefix for messages
2020-06-12 18:42:40 +01:00
Klaus Basan
077677134c
[FSD] Clearer "too many lines" message
2020-06-12 18:42:40 +01:00
Klaus Basan
15353a1f1d
Based on the Linux crash, already added some newer SIMS
2020-06-12 18:42:39 +01:00
Klaus Basan
76e42cc16e
Minor fixes related to the SSL lib issue
...
https://discordapp.com/channels/539048679160676382/539925070550794240/691469857891418202
2020-06-12 18:42:39 +01:00
Klaus Basan
2607ebd7c6
Ref T776, renamed some matching settings
...
* the forced values did not force anything
* also adjusted UI form
2020-06-12 18:42:38 +01:00
Klaus Basan
5b3c011a15
Added "url" to signature "dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number, const QUrl &url)"
...
Allows to write log. messages with URL
2020-06-12 18:42:38 +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
24f3750843
[FSD] Use *-1 instead of "~" (not) for P/B inversion
...
* see discussion https://discordapp.com/channels/539048679160676382/539925070550794240/687390301530095634
* we now use *-1 inversion, not "~" (vPilot also uses *-1)
* rational: with "~" 0 becomes -1 (that is why we saw so many -1 P/B values on ground)
2020-06-12 18:42:37 +01:00
Klaus Basan
5decc7d917
[FSD] Use qFuzzyCompare for double comparison
...
fixes "warning: comparing floating point with == or != is unsafe"
2020-06-12 18:42:37 +01:00
Klaus Basan
84ae160b14
PBH, minor style adjustments
2020-06-12 18:42:37 +01:00
Klaus Basan
9bcc16b94e
Ref T773, validate received network data again
...
* ff no ICAO data are received, the model is not "ready for matching"
* in that case we verify the situation and query ICAO data again
* now we have to verify again, to see if the 2nd query suceeded (otherwise dangling)
2020-06-12 18:42:36 +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
53d08384da
Ref T773, use complete string as modelstring for "cg" dot command
...
Example: "B773 B773_RR SDM"
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
a5f4705bb1
Ref T773, style (simulator)
2020-06-12 18:42:35 +01:00
Klaus Basan
acd5ee5a3c
Ref T773, use correct transfer, avoid continously transferring because of wrong coordinates
...
* do not use own situation as reference for ground plane, but original coordinates of ground elv. position
* some functions renamed
2020-06-12 18:42:35 +01:00
Klaus Basan
271c6c4825
[AFV] Map reader, break while loop if application shuts down
2020-06-12 18:42:34 +01:00