Commit Graph

6070 Commits

Author SHA1 Message Date
Klaus Basan
1f00c71fea Ref T246, allow to copy model set or create 1st model set as dialog from mapping tool 2018-06-13 13:59:55 +02:00
Klaus Basan
0f83b1560c Ref T131, added a warning messages about conflicts using XSwiftBus 2018-06-13 13:59:54 +02:00
Klaus Basan
bc7a9ca40e Emulated driver UI, messages in splitter 2018-06-13 13:59:53 +02:00
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
f3a7eef458 Increased number of cycles when displaying interpolation log. in simulator 2018-06-13 13:59:51 +02:00
Klaus Basan
6664e8a8ca As another improvement of voice testing beautified/simplified audio UI a bit 2018-06-13 13:59:50 +02:00
Klaus Basan
b257c693ff Ref T243, Ref T273, improved elevation fetching
* slightly shorter lock time
* transfer elevation from last situation
2018-06-13 13:59:49 +02:00
Klaus Basan
a3b8d776a0 Ref T273, high level functions to compare "equal" situations
Remark: "==" compares a lot of attributes, those will only compare values to determine equal PBH/vector ...
2018-06-13 13:59:48 +02:00
Klaus Basan
6f8d980d2c Exclude some more cmd line args. from being passed from launcher 2018-06-13 13:59:47 +02:00
Klaus Basan
c6f3d4e2f2 Ref T270, mark interpolator as unit test
* if we use "recycled" parts, we have to store also the last status
* mark unit test so "recycling" is disabled
* status flag for "reused"
2018-06-13 13:59:46 +02:00
Klaus Basan
84428b1284 Ref T270, log display can trigger display in sim and further improvements
* log display can trigger displayed log in simulator
* check prerequisites for log and display overlay
* made component identifiable
* pre-load parts
2018-06-13 13:59:45 +02:00
Klaus Basan
c750ad1dfc As a follow up of voice testing
* allow to directly go from ATC component to audio component (control volume)
* reordered keypad a bit
* audio setup, "private slots" -> "private"
2018-06-13 13:59:44 +02:00
Klaus Basan
6fb620a8f6 Clearer warning 2018-06-13 13:59:43 +02:00
Klaus Basan
c518c3d0b0 Ref T270, made lights comparable and use it with parts 2018-06-13 13:59:42 +02:00
Klaus Basan
532adef747 Ref T270, some formatter improvements
* return info about wrong type in string formatter
* style
2018-06-13 13:59:41 +02:00
Roland Winklmeier
990035dd6a Update externals
* vatlib 0.9.8 (without opus codec)
2018-06-13 13:59:40 +02:00
Klaus Basan
181ed36f3d Ref T270, interpolator optimization by passing aircraft number
Rational: Except for FS9 we interpolate all aircraft in one loop at the same time. This can cause that some steps are always done at the same time for all aircraft of that loop. By passing the number we can more equally distribute such tasks, avoiding peaks.
2018-06-13 13:59:39 +02:00
Klaus Basan
d39978a1d0 Style 2018-06-13 13:59:38 +02:00
Klaus Basan
f6a598fe45 Ref T270, adjusted emulated so it can update interpolation statistics 2018-06-13 13:59:37 +02:00
Klaus Basan
2b9d9027a0 Ref T270, performance improvement by keeping less elevations cached
Rational: the idea was to keep track of ground elevations of all aircraft and hence using them for other aircraft on ground. But the "hit" ratio is bad, so we only keep a small number of elevations ("the last ones") and use those. The size of the cache is dynamically adjusted. Not moving aircraft are still found in that much smaller list.
2018-06-13 13:59:36 +02:00
Klaus Basan
87b96f8910 Cleanup: toFormattedQString was not really used and just redirecting toQString
* marked deprecated
* and replaced by toQString
2018-06-13 13:59:35 +02:00
Klaus Basan
b8829cca56 Minor interpolator unit test adjustment 2018-06-13 13:59:34 +02:00
Klaus Basan
eeaa5d8bf6 Ref T270, interpolation log improvements
* last interpolation tab
* display scenery offset
* UI formatting
* using COverlayMessagesFrame
2018-06-13 13:59:33 +02:00
Klaus Basan
04110447c8 Minor UI adjustment for margins 2018-06-13 13:59:32 +02:00
Klaus Basan
240d2777a5 Ref T270, unified some function names in CAircraftParts and set default timestamp values in parts when guessing 2018-06-13 13:59:31 +02:00
Klaus Basan
f82010a1da Ref T270, fixes in interpolator
* interpolatedParts already "logs", do not do it twice
* performance: only recalculate "this->remoteAircraftSituationsAndChange(setup)" when there are new situations, not every interpolation step
2018-06-13 13:59:30 +02:00
Klaus Basan
686b27af6e Ref T270, style 2018-06-13 13:59:28 +02:00
Klaus Basan
38b6e3c997 Unit test to test interpolation setup 2018-06-13 13:59:27 +02:00
Klaus Basan
de0a827f87 Ref T270, also display update aircraft (interpolation) request time
* made some ISimulator functions public, so they can be used in UI
* added members for request times
* better "shutdown" / "disconnect" detection
2018-06-13 13:59:26 +02:00
Klaus Basan
fe8eb89d8b Avoid crash when closing interpolation log display
Remark: This is a hack solving the issue, but it is not clear why it is needed
2018-06-13 13:59:25 +02:00
Klaus Basan
5ff1e82cb7 QTimer::singleShot "guard" 2018-06-13 13:59:24 +02:00
Klaus Basan
b9c3e87394 Ref T270, display average value as double in log display 2018-06-13 13:59:23 +02:00
Klaus Basan
aa7363dcad Ref T270, Ref T268, plugin common / simulator improvements
* connect with "about to quit"
* added interface declarations
* sim statistics, use common function setStatsRemoteAircraftUpdate and double for average values
2018-06-13 13:59:22 +02:00
Klaus Basan
2923df27e2 Use fully qualified names in signals as there was an unrecognized type with Qt::QueuedConnection 2018-06-13 13:59:21 +02:00
Klaus Basan
5d6952031d Formatting 2018-06-13 13:59:20 +02:00
Klaus Basan
d1782cf014 Use encapsulated network setup and display correct server tab, follow up of Ref T272 2018-06-13 13:59:19 +02:00
Klaus Basan
839a836926 Encapsulated last network server used in network setup. Will allow to retrieve ecosystem for T272 2018-06-13 13:59:18 +02:00
Roland Winklmeier
0b607f9e0b Add own aircraft to X-Plane plane view menu
ref T269
2018-06-13 13:59:17 +02:00
Roland Winklmeier
654cc1621e Align the position and surface variable names to plural 2018-06-13 13:59:16 +02:00
Roland Winklmeier
c437c2eabd Simplify the X-Plane traffic plane positions and surfaces API 2018-06-13 13:59:14 +02:00
Roland Winklmeier
33963041cc Implement followAircraft for X-Plane
ref T266
2018-06-13 13:59:13 +02:00
Roland Winklmeier
794137fc94 Align the CSimulatorXPlane API with its base class
Some functions were protected in the base class and in a different order.
This is all corrected now.
2018-06-02 02:08:48 +02:00
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
8fad39fdaf Jenkins Win64 build warnings 2018-06-01 01:30:55 +02:00
Klaus Basan
efba4d99d3 Ref T213, Ref T271 opt-in for crash dumps 2018-06-01 01:30:53 +02:00
Klaus Basan
c7f77c6892 Load settings before contexts are loaded, see https://swift-project.slack.com/archives/G7GD2UP9C/p1527537764000022
* load local settings before core facade is created
* or load it in the next step, in case there are no contexts
2018-06-01 01:30:50 +02:00
Klaus Basan
4021822753 Setting UI improvement
* pressing shift while clicking the button shows overview
* hint in overview, that there are shortcuts
2018-06-01 01:30:48 +02:00
Klaus Basan
0ef58f03ba Warning if there is no XP-directory 2018-06-01 01:30:45 +02:00
Klaus Basan
7bee8e9ee8 Formatting 2018-06-01 01:30:42 +02:00
Klaus Basan
4788c25ecb Some fixes of status message view
* push_front as default (in most cases we have "latest first"
* as follow up of t270 use CListModelTimestampObjects
2018-06-01 01:30:39 +02:00