Commit Graph

3976 Commits

Author SHA1 Message Date
Roland Winklmeier
d46318be5e Use interpolated timestamp in order to get corresponding parts
So far the current timestamp was used to get the aircraft parts. This
caused aircraft jumps during takeoff and landing as soon as the on ground
flag changed.
2017-01-10 23:45:04 +00:00
Roland Winklmeier
518a0debb4 Fix CAircraftEngine to QString conversion
Instead of the actual engine number, the ASCII character with number
0-3 was printed.
2017-01-10 23:45:03 +00:00
Roland Winklmeier
7e1a3d4ef2 Aircraft parts history component
This frame component allows to display the current aircraft parts
and the received history for a given callsign.

refs #835
2017-01-10 23:45:01 +00:00
Roland Winklmeier
4994bf12b2 Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history
of received aircraft parts. If needed the history can be retrieved
via context methods.

refs #835
2017-01-10 23:45:00 +00:00
Klaus Basan
a210b029f1 Fixed issues shown by new cppcheck rules
#831
2017-01-10 23:44:56 +00:00
Klaus Basan
5adb86ae83 refs #836, display elevation in UI
* added has hasGroundElevation
* added elevation to sim.values
2017-01-10 23:44:55 +00:00
Klaus Basan
1a500340f0 refs #836, elevation for own FSX/P3D aircraft in driver
plus some minor improvements such as const where applicable
2017-01-10 23:44:52 +00:00
Mathew Sutcliffe
7e85422da7 refs #837 CAircraftSituation altitude is part of its position. 2017-01-10 23:44:40 +00:00
Mathew Sutcliffe
7e1ed21662 refs #837 Height in feet, for consistency. 2017-01-10 23:44:37 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
544a1cca45 refs #837 Don't misuse coordinate height as ground elevation, use a separate member instead. 2017-01-10 23:44:31 +00:00
Mathew Sutcliffe
b252673928 refs #837 Using new abbreviated syntax for null units. 2017-01-10 23:44:30 +00:00
Mathew Sutcliffe
0ca9fe0a8a refs #837 Abbreviated syntax for specifying a null unit. 2017-01-10 23:44:28 +00:00
Roland Winklmeier
e82d06849c Upgrade and cleanup cppcheck suppressions to version 1.76.1
Also renamed the suppressions file to the standard name.

refs #831
2017-01-10 23:44:25 +00:00
Klaus Basan
cad1eb4952 Removed no longer existing directory 2016-12-15 04:35:55 +01:00
Klaus Basan
9bce443ced Removed unused function 2016-12-15 04:06:23 +01:00
Klaus Basan
0acbeed141 refs #834, reset the loading flag (was missing and the bug itself) 2016-12-15 04:06:21 +01:00
Klaus Basan
73ba4e5ff2 refs #834, improved default value for last set/models simulator
Remark: The bug itself was slightly related to the default value, as only the default loader suffered from a not reset flag
2016-12-15 04:06:20 +01:00
Klaus Basan
5107d55115 refs #833, use isShuttingDown in readers
(a bit stricter than this->isAbandoned)
2016-12-15 04:02:00 +01:00
Mathew Sutcliffe
0beb7faf06 refs #824 Collect and load CSL packages upon connecting to xbus. 2016-12-13 18:33:19 +00:00
Roland Winklmeier
d7a0a0ee79 libxplanemp update
CSLLoaderThread files got removed, so remove their exception as well
2016-12-13 18:32:26 +00:00
Roland Winklmeier
db6b3b07fa Ignore empty lines and comments when parsing xsb_aircraft.txt 2016-12-13 18:32:26 +00:00
Roland Winklmeier
aa368c45ea Don't include private libxplanemp headers 2016-12-13 18:32:26 +00:00
Klaus Basan
4e5413ff3f refs #832, overlay messages may be overridden with pending confirmation dialogs
found during #832
2016-12-13 19:02:26 +01:00
Klaus Basan
e0b38fb296 refs #832, unnecessary restriction to single entity
(assert removed)
2016-12-13 19:02:25 +01:00
Klaus Basan
16b9c88abf Some UI finetuning 2016-12-13 19:02:24 +01:00
Klaus Basan
3b2468632a refs #830, improved widget style detection 2016-12-13 19:02:23 +01:00
Klaus Basan
eb3b2252a2 refs #830, use settings in views
also avoid changing style when not needed
2016-12-13 19:02:22 +01:00
Klaus Basan
fd5f82f1f1 Minor adjustments of update time UI, allow to reset values
Follow up of refs #814
2016-12-13 19:02:21 +01:00
Klaus Basan
c90ae32c7e refs #830, UI for selection mode settings 2016-12-13 19:02:20 +01:00
Klaus Basan
f3037f083a refs #830, settings for global GUI properties
(such as widget style, selection mode)
2016-12-13 19:02:19 +01:00
Klaus Basan
1d773f2264 Minor GUI adjustments 2016-12-13 19:02:18 +01:00
Klaus Basan
e55867c297 refs #829, use settings for own model set
(ignore excluded models)
2016-12-13 19:02:17 +01:00
Klaus Basan
fcb8df92b1 refs #829, ui for model settings 2016-12-13 19:02:16 +01:00
Klaus Basan
d4ca4bb0f1 refs #829, settings for model related properties 2016-12-13 19:02:15 +01:00
Klaus Basan
06ccf46eb1 refs #829, utility function 2016-12-13 19:02:14 +01:00
Klaus Basan
b69008e0b3 refs #829, consolidated settings for simulator/messages
* move traits from blackcore to blackmisc
* renamed CSimulatorSettings/Messages
2016-12-13 19:02:13 +01:00
Klaus Basan
763e92cc2a refs #814, fixed wrong default values for update times causing CPU overload
* use 10s as conservative default value
* check in assert if update time is correct
2016-12-13 19:02:11 +01:00
Klaus Basan
7e69ff7f70 refs #814, some adjustments because of MS comment
(performance of airline view)
2016-12-13 19:02:09 +01:00
Klaus Basan
608e39ee9a refs #828, added function to show matrix from ui 2016-12-13 19:02:08 +01:00
Klaus Basan
7b11b1fb54 refs #828, added function to generate HTML file with matrix
* added utility functions
* adjusted existing functions
2016-12-13 19:02:07 +01:00
Klaus Basan
8488909a44 refs #828, added HTML template 2016-12-13 19:02:06 +01:00
Klaus Basan
3a55748955 refs #825, do not render aircraft without callsign
(those are likely already gone: logoff, crash)
2016-12-13 19:02:03 +01:00
Klaus Basan
35bed0ea20 refs #825, improved matcher
* display top scores
* preselect by combined type
2016-12-13 19:02:01 +01:00
Klaus Basan
3b25781a06 refs #825, utility functions
* allow to prefer color liveries (idea: when no airline is found, a neutral livery looks better)
* pick randomly among equal scores
2016-12-13 19:02:00 +01:00
Mathew Sutcliffe
78099c0ebe refs #824 X-Plane model loader: set exclude flag for flyable aircraft. 2016-12-13 19:01:59 +01:00
Mathew Sutcliffe
6bfbaefdc8 CFileLogger: group messages by category. 2016-12-13 19:01:58 +01:00
Mathew Sutcliffe
8e6422d2be Added assert. 2016-12-13 19:01:57 +01:00
Klaus Basan
603bfd9dc4 refs #787, using digest signals in load component 2016-12-13 19:01:56 +01:00
Klaus Basan
364725548d refs #823, always gear down on ground 2016-12-13 19:01:55 +01:00