Commit Graph

296 Commits

Author SHA1 Message Date
Klaus Basan
26afc5160d Improved logging of "adding aircraft" so we can see details such as the model string 2019-09-16 22:41:17 +01:00
Klaus Basan
b60f84244b Ref T609, renamed to Transmit/Receive for COM sync. 2019-09-16 22:41:06 +01:00
Klaus Basan
fab65c23b1 Ref T554, changed signature to pass model (object) and not only modelstring
Allows to test if data have changed before "remembering them for auto publish"
2019-09-16 22:40:34 +01:00
Klaus Basan
718221b90e Ref T683, moved m_skipCockpitUpdateCycles to FS common so it can be used with P3D/FSX and FS9 2019-09-16 22:39:51 +01:00
Klaus Basan
0360704b0b Ref T683, "updateOwnSituationAndGroundElevation"
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Klaus Basan
fc2f7b4a12 Ref T683, move "m_ownAircraftUpdateCycles" one level up so it can be used in FS9 2019-09-16 22:39:50 +01:00
Klaus Basan
daeea07090 Ref T683, style 2019-09-16 22:39:49 +01:00
Klaus Basan
71e09b008f Ref T681, renamed to rememberElevationAndSimulatorCG and style 2019-09-16 22:38:08 +01:00
Klaus Basan
c1ffad33bd Ref T650, using FSX SimulatedObject type decrease exeption counter when successfully added
* normally adding the SimObject fails first,
* then the workaround is used (but exception counter is 1)
* this means a 2nd time the object cannot be changed, as there is already a counter number > 0
2019-09-16 20:29:42 +01:00
Klaus Basan
7340301c29 No ASSERT when missing callsign/ids, VERIFY is enough 2019-09-16 20:29:41 +01:00
Klaus Basan
2e67b94512 Added P3D v4.5 SimConnect 2019-09-16 20:29:38 +01:00
Klaus Basan
05805f4d89 Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-09-16 20:29:37 +01:00
Klaus Basan
f7add9f33e Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-09-16 20:29:37 +01:00
Klaus Basan
b1d265bc0b Renamed FSX data definition 2019-09-16 20:29:36 +01:00
Klaus Basan
a86e98ca3a Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed 2019-09-16 20:29:35 +01:00
Klaus Basan
2e6d415c14 Allow to enable trace for P3D/FSX SB offsets 2019-05-13 11:21:09 +02:00
Klaus Basan
2c4133316a Minor FSX/P3D style changes 2019-05-13 11:21:07 +02:00
Klaus Basan
dd7930337a Better detect simExit on FSX, dispatch error just warning in that case 2019-05-13 11:21:03 +02:00
Klaus Basan
669402c7e0 Log simulator status for dispatch errors (FSX/P3D) 2019-05-13 11:21:02 +02:00
Klaus Basan
da2b3e05fd Minor interpolator improvements, display 2nd invalid version instead of first 2019-05-13 11:21:02 +02:00
Klaus Basan
7d025c6293 Ref T650, also remember SB offset setting 2019-05-13 11:21:01 +02:00
Klaus Basan
b9634f9927 Minor FSX driver updates 2019-05-13 11:21:00 +02:00
Klaus Basan
cbf5c1c445 Ref T650, save FSX/P3D specific settings 2019-05-13 11:20:56 +02:00
Klaus Basan
0cefe1d1e4 Ref T650, simulator setting UI of SimulatedObject can be used 2019-05-13 11:20:56 +02:00
Klaus Basan
680c47074f Ref T650, driver class support for SimulatedObject type AI aircraft
* use SimulatedObject object if NON ATC type failed (for helicopters)
* SimObject can handle SimulatedObject type (compared to NonATC)
* Send ATC data to simulator
2019-05-13 11:20:56 +02:00
Klaus Basan
4522cb5fe5 Ref T650, SimObject can handle SimulatedObject type (compared to NonATC) 2019-05-13 11:20:55 +02:00
Klaus Basan
6d936dc1cc Ref T650, added FSX SimConnect symbols (funtion names) 2019-05-13 11:20:55 +02:00
Klaus Basan
af0b6a925d Typo 2019-05-13 11:20:54 +02:00
Klaus Basan
c56775e815 Ref T637, allow 3 letter ICAOs in FP
* strict or lenient airport check
* allow to enter 3 letter ICAO codes in FP
2019-05-13 11:20:48 +02:00
Klaus Basan
9f8f70c22a Ref T609, set send/receive COM1/2 from P3D/FSK 2019-05-13 11:20:38 +02:00
Klaus Basan
daf39a9835 Ref T554, FSX/P3D use "rememberElevationAndCG" for CG, so also auto publish info is written 2019-04-11 22:11:44 +01:00
Klaus Basan
5c46fa3afa CLANG style 2019-04-11 22:11:39 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
2031ba3d8b Ref T528, avoid crash (assert) if simulator object is not accessible (remote UI)
Also disable some UI elements in that case + display an info
2019-02-22 20:36:08 +00:00
Mat Sutcliffe
077fd8c35a Ref T525 Avoid directly calling getLogCategories. 2019-02-22 20:35:52 +00:00
Klaus Basan
6470c61d0a Ref T515, added failover flag for addingRemoteModelFailed
* adjusted signatures
* renamings and minor style adjustments
2019-02-22 20:35:41 +00:00
Mat Sutcliffe
7cb581f865 Ref T488 Fixed cppcheck warnings. 2019-02-22 20:34:57 +00:00
Mat Sutcliffe
5a17f43a5b Ref T488 Update cppcheck suppressions. 2019-02-22 20:34:56 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Roland Rossgotterer
d639187f91 Convert static common simulator plugins to shared ones
Test Plan:
- Check that the new shared libraries are packaged in all platform installers.
- check that plugins are loaded properly on all platforms.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Maniphest Tasks: T471

Differential Revision: https://dev.swift-project.org/D79
2019-02-22 20:34:50 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
462172a87f Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
8979b5257e Fixed clazy warnings: returning void expression. 2019-02-22 20:23:34 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Klaus Basan
59343c6c24 Minor style fixes 2018-12-14 19:57:31 +01:00
Klaus Basan
39a77d9c16 Ref T443, P3D v4.4 combobox 2018-12-11 11:40:49 +01:00
Klaus Basan
ec6b7ed37d Ref T437, some FSUIPC style/message adjustments 2018-12-01 05:17:41 +01:00
Klaus Basan
07eac1d46f Ref T436, used interpolated situation if possible for new FSX/P3D aircraft 2018-11-30 22:02:04 +01:00