Commit Graph

1264 Commits

Author SHA1 Message Date
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
1da66ce6e9 [Worker] Stop timer in correct thread 2020-06-12 18:42:38 +01:00
Klaus Basan
7f6e3e5378 [Worker] In order to make background validation (worker) stoppable, using an "atomic bool stop flag"
Originally Ref T145, Ref T647
2020-06-12 18:42:36 +01:00
Klaus Basan
687d003bb9 Settings style 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
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
b0d5b3c6d1 [Worker] Log. how long it takes to quitAndWait a worker
* sometimes the shutdown sequence of swift takes extremly long, this is to identify which workers are affected
* reduced "wait time"
* function so each worker can have its own "wait" time
* for a worker there are 2 "waits", the quitAndWait of the worker and the wait of CRegularThread (dtor)


Originally Ref T145, T647
2020-06-12 18:42:35 +01:00
Klaus Basan
049ded16cc Allow some long lasting validation functions to be stopped/interrupted from "outside" 2020-06-12 18:42:35 +01:00
Klaus Basan
f3bfaa3179 Minimal string concat improvements 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
fe1e976093 Ref T773, style 2020-06-12 18:42:34 +01:00
Klaus Basan
e21dab0605 Ref T773, if possible skip update of situations with elevation in interpolator 2020-06-12 18:42:34 +01:00
Klaus Basan
181c2b8061 Ref T773, improved info texts and statistics values 2020-06-12 18:42:34 +01:00
Klaus Basan
f2096bd826 Ref T773, style 2020-06-12 18:42:34 +01:00
Klaus Basan
e611f5109d Clearer message text 2020-06-12 18:42:34 +01:00
Klaus Basan
ab41c1e930 Ref T773, utility functions to clean cache and find max. elevation 2020-06-12 18:42:34 +01:00
Klaus Basan
466c761616 Ref T773, gcc/clang warnings
Remark: "assuming signed overflow does not occur when assuming that (X - c) > X is always false"
2020-06-12 18:42:33 +01:00
Klaus Basan
55b28e24a6 Ref T773, average elevation from cached (on ground) elevations 2020-06-12 18:42:33 +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
ee421fe33c Ref T773, also log. middle position (2nd) - useful for spline 2020-06-12 18:42:33 +01:00
Klaus Basan
5604cff6bf Ref T773, audit "null" elevation if tried to be stored 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
287d96afea Ref T773, added "hasMeanSeaLevelValue" and consistently use it 2020-06-12 18:42:32 +01:00
Klaus Basan
0ccc7a9cba Ref T773, log.elev.info as well 2020-06-12 18:42:32 +01:00
Klaus Basan
af12325856 Ref T773, always set setup for interpolation logger 2020-06-12 18:42:32 +01:00
Klaus Basan
a629b70724 Ref T773, clear log when written, set object name for logger 2020-06-12 18:42:31 +01:00
Klaus Basan
5f1bd14fcf Ref T773, style 2020-06-12 18:42:31 +01:00
Klaus Basan
812619470b Ref T773, style and comments 2020-06-12 18:42:28 +01:00
Klaus Basan
9924eb4551 [FS family] improved parsing of quoted model strings 2020-06-12 18:42:28 +01:00
Klaus Basan
b2d94e5f63 [FS family] model loader improvements
* better load message handling, display details
* allow to load without "air" files in dev. environment (testing)
2020-06-12 18:42:27 +01:00
Mat Sutcliffe
de037af702 [xplane] Allow disabling terrain probe for diagnosing performance issues 2020-06-12 18:42:24 +01:00
Mat Sutcliffe
0017df0bb3 Fix missing BLACK_METAMEMBER in CXSwiftBusSettings 2020-06-12 18:42:23 +01:00
Mat Sutcliffe
48d1521d3a Correct filename extension 2020-01-07 19:57:25 +00:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
12fbd87bbc Ref T723 [xswiftbus] UI/settings for TCAS enabled and debug mode
* UI checkboxes added
* Qt free settings updated
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
0f6b7d910e Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic 2020-01-07 19:57:24 +00:00
Mat Sutcliffe
8d204cded1 Ref T723 [xswiftbus] Expose configuration for render phase debug messages 2020-01-07 19:57:24 +00:00
Klaus Basan
e1498adc8e Minor fixes, style
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
386a0ccd5d [XPlane] Model set must not contain ACF models
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Klaus Basan
e9f8be013c [FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display) 2020-01-07 19:57:19 +00:00
Klaus Basan
11187870de Fixed missing compare index, message placeholder, and minor style fixes 2020-01-07 19:57:17 +00:00
Klaus Basan
6a95abb194 [UI] Change distributor buttons to BB/XCSL
XPlane standard DOES NOT make sense, as it adds AI aircraft
2020-01-07 19:46:16 +00:00
Klaus Basan
f986e9ca8b Style 2020-01-07 19:46:15 +00:00
Klaus Basan
9a4fe0ea48 Ref T732, improved simulator type resolution for network 2019-10-11 19:00:19 +01:00
Klaus Basan
b408c8ffed Style 2019-09-16 22:41:38 +01:00
Roland Rossgotterer
e8b14c435f Check that X-Plane OBJ8 file exists 2019-09-16 22:41:33 +01:00
Roland Rossgotterer
e0b52db77a [MinGW] Fix many unresolved symbols 2019-09-16 22:41:33 +01:00
Klaus Basan
79c947f8fa Style 2019-09-16 22:41:32 +01:00
Klaus Basan
507e059438 More detailled validation messages "which models look odd" 2019-09-16 22:41:31 +01:00
Klaus Basan
7b8db694cc Use BLACK_AUDIT_X because this is a check for external data 2019-09-16 22:41:31 +01:00