Roland Rossgotterer
3baab2ae4d
Add initial simulator plugin support for FS2020
...
This adds simulator plugin support for FS2020. It still pretends to be FSX until full integration is completed.
2020-09-16 22:59:58 +01:00
Mat Sutcliffe
43bb72788e
Issue #77 Break dependency of pixmap on statusmessage
2020-08-29 14:16:23 +01:00
Mat Sutcliffe
89659fdeaa
Issue #77 Break cyclic dependency statusmessage <-> jsonexception
2020-08-29 14:16:19 +01:00
Mat Sutcliffe
b80114213d
Issue #77 Move mixin classes to separate files
...
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
8e065a8fef
Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
...
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
802576eda9
Issue #77 Rename
2020-08-29 14:16:11 +01:00
Mat Sutcliffe
2dc86652c2
Issue #77 Include style
2020-08-28 00:45:26 +01:00
Mat Sutcliffe
ced60a4768
Issue #79 Path elements below the root are no longer salient in xpmp2
2020-08-21 18:54:28 +01:00
Mat Sutcliffe
3ea0c7f2a5
Issue #17 Report errors for unsupported CSL formats
2020-08-10 22:02:24 +01:00
Mat Sutcliffe
f3c4af3121
Fix stuttering by adding basic linear interpolation in xswiftbus
2020-08-05 19:45:42 +01:00
Mat Sutcliffe
5548d8af2d
Issue #17 Udjust to model string changes in xplanemp2
2020-08-02 23:01:30 +01:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Mat Sutcliffe
e8a0a0b6ba
Issue #15 Register CSequence as a sequential container metatype
2020-07-31 00:57:46 +01:00
Mat Sutcliffe
670b1a1986
Fix cppcheck and compiler warnings
2020-06-29 18:34:16 +01:00
Mat Sutcliffe
78987a678f
Suppress Qt 5.15 deprecation warnings
2020-06-29 18:34:14 +01:00
Klaus Basan
947e393b03
[P3D] Support for v5, wrong path used for validation
...
* guess version in validation
* changed some values to v5 as default
* search also for future versions of P3D (e.g. v5)
2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc
Replace deprecated endl with Qt::endl
2020-06-12 18:42:54 +01:00
Klaus Basan
e50520c0aa
Added a component for aircraft parts
...
* internals page and log.display both use that component
* complete parts code now encapsulated
2020-06-12 18:42:53 +01:00
Mat Sutcliffe
26af392085
Ignore null pointer warnings in rapidjson
2020-06-12 18:42:53 +01:00
Klaus Basan
95ca63ce6d
Ref T786, fixed weather sample
...
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
f9bb71c8ee
Ref T786, FSX/P3D METAR (weather inject)
...
* allow to select which layers are converted to METAR string
* allow to pass sim.flag (FSX/P3D)
* winds aloft seem to crash FSX, disabled(!)
2020-06-12 18:42:51 +01:00
Klaus Basan
1bdcd4ac9a
[Parts] Experimental try with aircraft parts, see https://discordapp.com/channels/539048679160676382/539846348275449887/701438699048796280
2020-06-12 18:42:50 +01:00
Klaus Basan
d5a81a349b
Style
2020-06-12 18:42:49 +01:00
Klaus Basan
4d7468f913
[FSD] Check attributes of full JSON parts
2020-06-12 18:42:48 +01:00
Klaus Basan
8278a7d5e6
[P3D] Adjustments for P3D v5
...
* guess version
* added new version selection
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
e839820940
Check UNC path to avoid "hanging" if other machine is not reachable
2020-06-12 18:42:47 +01:00
Klaus Basan
04562a6651
Style, as_const
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
12403700ea
Distributor value object improvements
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
8206fc6bb9
Ref T778, special terrain probe value handling for XP
...
* only request terrain probe up to a max. distance
* detect "isSuspiciousTerrainValue"
* See also https://discordapp.com/channels/539048679160676382/539925070550794240/696786452855390218
2020-06-12 18:42:44 +01:00
Klaus Basan
cfa96a3aeb
Ref T778, utility functions
2020-06-12 18:42:44 +01:00
Klaus Basan
b71dfe482c
Ref T778, further elevation verifications
2020-06-12 18:42:44 +01:00
Klaus Basan
bce78aa18e
Ref T778, QReadWriteLock::Recursive
2020-06-12 18:42:44 +01:00
Klaus Basan
1821b6e6c5
Ref T778, added/improved removeElevationValues, cleanElevationValues
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
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
6eb767f938
Minor style, typo
2020-06-12 18:42:41 +01:00
Klaus Basan
1642502aae
Distributor filter improvements
...
* if all or none simulator is selected do not filter
* also select if there is no (NULL) simulator
2020-06-12 18:42:41 +01:00
Klaus Basan
6841297c6e
Ref T776, matching flag "ForceModeFlag"
2020-06-12 18:42:39 +01:00
Klaus Basan
3d1dad989e
[TCAS] Fixed "mixed" values for debug/TCAS xswiftbus.conf file
...
Also only update if simulator XPlane is not connected, otherwise values are updated there
This allows to update the values BEFORE XPlane starts and avoids a restart
2020-06-12 18:42:38 +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
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