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
b128d40342
Ref T773, return flag if elevation was set for a ground position
2020-06-12 18:42:33 +01:00
Klaus Basan
25b30ccf34
Ref T773, style/typo
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
8f4c4a249c
[5.14.1] UI adjustments
...
* OS native check of screen resolution (Qt free, experimental)
* changed rounding
* use string for scale factor so we can use fractions as 2/3
* utility functions to clean numbers, parse fractions
It looks like:
* my WIN10 scaling is 250%
* obviously swift rounds that to 3 (device ratio)
* now using FLOOR policy down-rounding to 2
* rational: scaling up (scale factor) is better as down-scaling as the factors would be clearer
* 2->3 1.5, but 3->2 means 0.66667
2020-06-12 18:42:30 +01:00
Klaus Basan
86c8568bf2
Fixes some CLANG warnings (QtC IDE checks, nevertheless does not harm to fix them)
2020-06-12 18:42:30 +01:00
Klaus Basan
0482b9883d
[DB readers] misc fixes found during "datastore down" investigation
...
* added CEntityFlags::AircraftCategoryEntity in config lists
* flag to name
* missed initial reading of categories
* style
2020-06-12 18:42:30 +01:00
Klaus Basan
00ed15f111
Ref T775, special handling for "broadcast" messages
...
* identify broadcast messages
* do NOT play sound
* use "own" tab for text messages (group together)
2020-06-12 18:42:29 +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
Klaus Basan
1238357749
String utility function for balanced quotes
2020-06-12 18:42:26 +01:00
Klaus Basan
b9c6541a55
Add default unit for "rec.gnd.positions" radius
...
* utility functions
* append default unit to PQ string if needed
2020-06-12 18:42:25 +01:00
Klaus Basan
481833b003
BLACK_AUDIT_X for killTimer, trace Qt killTimer warnings in "our" code
2020-06-12 18:42:24 +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
4bfa5d5f40
Fix assert due to NaN in CXSwiftBusTrafficProxy::getElevationAtPosition
2020-01-25 16:55:51 +00:00
Klaus Basan
bd39b0638c
Q_UNREACHABLE fix, minor style adjustments
2020-01-18 20:15:24 +01:00
Klaus Basan
785dc7f016
[XPlane][FG] Q_UNREACHABLE removal follow up
...
* removed CSimulatorXPlane::connectionFromString as this only works for session DBus
* renamed to "checkConnectionViaSessionBus"
* discussed around here: https://discordapp.com/channels/539048679160676382/539925070550794240/668105458300485652
2020-01-18 18:46:19 +01:00
Klaus Basan
6284ed0c5a
Minor style adjustments
2020-01-18 02:48:28 +01:00
Klaus Basan
455dc23b84
Utility function "isDefault" in settings cache
2020-01-15 02:44:32 +01:00
Klaus Basan
143ac8576a
Log.category for DBus server
2020-01-15 02:44:32 +01:00
Mat Sutcliffe
35cfaebc7d
[xplane] Added display of simulation time ratio in simulator component
2020-01-13 18:53:30 +00:00
Klaus Basan
f8e8318902
Log.category for FSD and minor style changes
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
f056d4fcd6
New schema for the 4th segment of the swift version number
...
Based on a count of the number of commits since
any of the first 3 segments were changed.
2020-01-07 19:57:26 +00: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
Mat Sutcliffe
25946d1141
QDataStream has operators for enums since Qt 5.14
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
1f0c65135d
Use qmake $$files function to match wildcards
...
See https://bugreports.qt.io/browse/QTBUG-81003
2020-01-07 19:57:24 +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
a6a787fdd7
Metar, slight style adjustments
2020-01-07 19:57:23 +00:00
Klaus Basan
10a6b06a59
Ref T764, display flight plan of other aircraft
2020-01-07 19:57:23 +00:00
Klaus Basan
fc9bb1277d
[PQ] implemented "comparePropertyByIndex" for CAltitude for correct sorting
...
Bug report: https://discordapp.com/channels/539048679160676382/594962359441948682/651162172717662239
2020-01-07 19:57:22 +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
b9ea40e8d1
[FSD] wallop message sending incomplete fixed
2020-01-07 19:57:22 +00:00
Klaus Basan
ef4640e66f
[Hotkey] Style
2020-01-07 19:57:21 +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
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