Commit Graph

35 Commits

Author SHA1 Message Date
Klaus Basan
c6d184cd3b Ref T118, fix for simconnect.h not including windows.h 2017-10-31 15:39:11 +01:00
Klaus Basan
41f5999094 Ref T118, changed to P3D v4.1 2017-10-31 15:39:10 +01:00
Klaus Basan
c5da828679 Ref T171, typo and formatting for interpolation logger/multi 2017-10-18 22:58:38 +02:00
Klaus Basan
b6333e69d8 Ref T171, made remote aircraft provider and web service "protected slots" -> "protected"
* Unlike in other cases, the remote aircraft provider slots are also very frequently called. So besides "style", it might be also useful here to avoid the extra MOC layers.
* Also renamed 2 web service signals and made web service connections Qt::QueuedConnection
2017-10-18 22:58:24 +02:00
Klaus Basan
61a23d700b Ref T171, driver formatting 2017-10-18 22:58:22 +02:00
Klaus Basan
66773d7593 Ref T111, allow to set SELCAL in simulator 2017-09-24 19:51:55 +01:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Klaus Basan
654c35f666 Ref T111, use Q_DECLARE_FLAGS SimulatorStatus instead of int
* changed emitSimulatorCombinedStatu
* changed connected slots/functions
2017-09-24 19:51:10 +01:00
Klaus Basan
380da41544 Handling during shuttdown
* Do not start new event loop when shutting down
* FSX Listener end checking when shutting down
* in same step fixed: FSX driver can connect to P3D and FSX but not vice versa
2017-09-24 19:50:35 +01:00
Roland Winklmeier
984b30aef3 Enable P3D-v4 64 bit build
Summary:
This commit enables P3D-v4 for 64 bit including all dependent libraries.
Those binaries are not yet installed, since they are considered
experimental.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D30
2017-09-24 19:49:16 +01:00
Klaus Basan
645faf8373 Ref T27, improved adding of sim objects
* only add one object at a time
* only query object values (from sim) when object is confirmed
* better debug logging (can be switched on)
* physicallyAddRemoteAircraftImpl for better tracing of added objects
* wait until light state is available
2017-09-24 19:48:57 +01:00
Klaus Basan
6d26c96569 Ref T27, preparation for refactoring, turned private slots into normal member functions
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Roland Winklmeier
5a40e86ecf Add 32 and 64 bit FSUIPC library projects
Summary:
So far we were linking against the prebuilt FSUIPC user library,
compiled with VS2010 many years ago. The source of this user library is
part of the FSUIPC SDK, so we can benefit from modern compilers and
include it into our source tree.
This version contains some very small wide char fixes compared to the
official FSUIPC SDK source.
It also includes the new 64 bit version.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D29
2017-06-27 13:37:52 +02:00
Roland Winklmeier
79556260bd Remove QtConcurrent from list of Qt modules
Summary:
QtConcurrent isn't used any longer in swift code, so we can remove it
from the list of enabled modules. Disabling it causes the QtConcurrent
header path to be removed from the include paths and we no longer
unnecessarily link against it.

Reviewers: msutcliffe

Reviewed By: msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D25
2017-06-09 12:29:59 +02:00
Mathew Sutcliffe
a89e042ff8 Prevent inserting default-constructed elements in CSimulatorFsxCommon::m_simConnectObjects.
Hopefully this fixes null pointer dereference of CSimConnectObject::m_interpolator.
2017-05-14 15:04:31 +01:00
Klaus Basan
f34e80ea62 refs #935, avoid issues when shutting down 2017-04-19 19:31:02 +01:00
Roland Winklmeier
aafe211b5c Make simulator listeners safe against multiple starts
refs #909
2017-04-18 00:06:03 +01:00
Klaus Basan
0fb96206c5 refs #916, interpolator mode for FSX 2017-04-18 00:01:05 +01:00
Klaus Basan
3a6df31c99 refs #916, interpolator mode utility functions for SimObjects 2017-04-18 00:00:56 +01:00
Klaus Basan
622a2f0937 refs #911, backend function in listener
Can provide information of the system which was connected
2017-04-18 00:00:47 +01:00
Klaus Basan
8a2eef66ae refs #911, formatting FSX/P3D connect info 2017-04-18 00:00:45 +01:00
Klaus Basan
566b6aabf3 refs #911, settings UI for simConnect.cfg improved
* only work with local file, a remote file can be adjusted in the core`s settings
* set UI port/address from file
* formatting/renaming
2017-04-18 00:00:41 +01:00
Klaus Basan
b21f5f18e7 refs #911, fixed some UI strings 2017-04-18 00:00:37 +01:00
Mathew Sutcliffe
6e488533f5 refs #896 Using CInterpolatorMulti in simulator drivers. 2017-04-18 00:00:30 +01:00
Klaus Basan
61dc32e894 refs #910, display SimConnect info in settings 2017-04-18 00:00:11 +01:00
Klaus Basan
83c0dd6dfa refs #910, check SimConnect DLL in listener
(preliminary version before we know P3D string variety)
2017-04-18 00:00:09 +01:00
Klaus Basan
0f2680ba2a Formatting #910 2017-04-18 00:00:06 +01:00
Klaus Basan
c277b26c05 refs #908, detect and check version of P3D or FSX in listener
* added version simulator name etc. to listener
* checking simulator
* simplified CSimulatorFsxCommonListener::SimConnectProc
2017-04-17 23:59:30 +01:00
Klaus Basan
4a984ea1de refs #908, formatting 2017-04-17 23:59:28 +01:00
Klaus Basan
03b8739158 refs #895, add initial parts when aircraft is added in FSX
plus some utility functions
2017-04-17 23:58:09 +01:00
Klaus Basan
7427847bb4 refs #895, CPartsStatus(bool supportsParts) 2017-04-17 23:58:03 +01:00
Klaus Basan
8b1c8c068b refs #895, reset to "invalid" sentParts when object is added
(makes sure the parts are sent at least once)
2017-04-17 23:57:58 +01:00
Klaus Basan
4a0ddfb5d1 refs #895, renamed data structure to DataDefinitionRemoteAircraftPartsWithoutLights 2017-04-17 23:57:53 +01:00
Klaus Basan
d3e49d4cf1 refs #863, enabled spline interpolator for FSX 2017-04-17 23:57:44 +01:00
Klaus Basan
70045c046d refs #891, moved common parts for FSX/P3D to fsxcommon
* driver / listener common parts
* config common parts
2017-04-17 23:57:14 +01:00