Klaus Basan
6688b56e49
Fixed "SimConnect.lib(commClient.obj) : error LNK2019: unresolved external symbol __imp_CoTaskMemFree" on Win64 systems
...
* discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1528793410000485
* This problem was obviously related to commit Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
2018-06-18 03:04:20 +02:00
Klaus Basan
2b3b0bd9ee
Ref T275, FSX/P3D check if SimObject has been removed
2018-06-18 03:04:19 +02:00
Klaus Basan
c5fb428fa9
Ref T280, using the QHash<CCallsign, T> definitions to unify use cases
2018-06-14 14:40:16 +02:00
Klaus Basan
444c7a18ba
Ref T275, use getSimObjectForObjectId / getProbeForObjectId
...
* added getProbeForObjectId
* used getSimObjectForObjectId where not yet used
2018-06-13 14:00:31 +02:00
Klaus Basan
6f5b4c5de8
Ref T275, used "pending" function (FSX/P3D) to check if we can request position data
2018-06-13 14:00:30 +02:00
Klaus Basan
db8939c499
Ref T275, isShuttingDownOrDisconnected as stricter check
2018-06-13 14:00:25 +02:00
Klaus Basan
44f01d8d97
Ref T275, asynchronous version triggerUpdateRemoteAircraftFromSimulator and only fast updates for moving aircraft
2018-06-13 14:00:24 +02:00
Klaus Basan
a27f2b3a9c
Style, typos
2018-06-13 14:00:21 +02:00
Klaus Basan
4975ecd712
Ref T275, improved tracing for FSX
...
* getStatisticsSimulatorSpecific for simulator specific traces/logs
* trace CSimulatorFsxCommon::SimConnectProc times
* trace which receive id is handled in SimConnectProc
* allow to limit aircraft updates (max FPS)
* handle airport updates outside SimConnectProc
2018-06-13 14:00:19 +02:00
Klaus Basan
bdf58ff538
Ref T275, utility functions to trace request ids
2018-06-13 14:00:18 +02:00
Klaus Basan
0f931eeeb3
Ref T268, moved changeRemoteAircraftModel/Enabled to CSimulatorCommon and removed duplicated code
2018-06-13 14:00:09 +02:00
Klaus Basan
de4c7852a6
Style, formatting
2018-06-13 14:00:08 +02:00
Klaus Basan
f728efb3be
Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
...
Remark: See also https://swift-project.slack.com/archives/G7GD2UP9C/p1528277800000196
2018-06-13 14:00:07 +02:00
Klaus Basan
78747782e4
Ref T270, Ref T275 FSX/P3D .pro files adjusted
2018-06-13 14:00:06 +02:00
Klaus Basan
11aa3052f7
Ref T270, Ref T275 FSX/P3D auto trace sendId
...
In case of problems sendId tracing is automatically switched on for some tome
2018-06-13 14:00:05 +02:00
Klaus Basan
8f336a9631
Ref T273, Ref T275 FSX/P3D uses simulator common function to skip sending equal parts/situations
2018-06-13 13:59:57 +02:00
Klaus Basan
f3edf14186
Ref T273, Ref T275 XPlane uses simulator common function to skip sending equal parts/situations
2018-06-13 13:59:56 +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
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
f6a598fe45
Ref T270, adjusted emulated so it can update interpolation statistics
2018-06-13 13:59:37 +02:00
Klaus Basan
686b27af6e
Ref T270, style
2018-06-13 13:59:28 +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
5d6952031d
Formatting
2018-06-13 13:59:20 +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
f7a0c69fc8
Ref T270, push front for sequence and unified "insert" -> "push_back"
...
Remark: "CSequence::insert" is a synonym "push_back". This makes it clearer that push_back is used.
2018-06-01 01:30:33 +02:00
Klaus Basan
90f84149ed
Ref T270, changes to context/and interpolation log display so we can display "internals" of airspace monitor
2018-06-01 01:30:24 +02:00
Klaus Basan
8a522b5e6d
Ref T270, signal requestedElevation
2018-05-29 00:56:37 +02:00
Klaus Basan
a3f12a866b
Hint that FS9 is experimental
2018-05-22 13:23:57 +02:00
Klaus Basan
35d78b641a
Fix clang warnings as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1526463295000266
...
Reported in CLANG test build here: https://build.swift-project.org/job/macos_test_job/4/warnings10Result/
2018-05-22 13:20:02 +02:00
Klaus Basan
2ae8f5b03f
Ref T270, added CSimulatorPluginCommon as base class in driver project
...
* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
2018-05-18 00:25:11 +02:00
Klaus Basan
afe4a09218
Formatting
2018-05-18 00:25:10 +02:00
Klaus Basan
9c33c5d9fc
Ref T245, Ref T261, added functions for "follow plane", "setup changed" signal in context and simulator interface
2018-05-18 00:25:01 +02:00
Klaus Basan
e851934ce8
Ref T261, FSX clamped logging to avoid "status message overflow" if something goes wrong in interpolator.
...
In interpolator scenarios it can happen plenty of error log messagesa re generated in a short time. This can cause hanging.
2018-05-14 02:27:36 +02:00
Klaus Basan
6c50c4ea72
Formatting, minor tweaks
2018-05-12 21:40:23 +02:00
Klaus Basan
43cc99710a
Shutdown guard
2018-05-12 21:40:20 +02:00
Roland Winklmeier
d743ec98fa
Remove unused code
2018-05-12 21:40:04 +02:00
Roland Winklmeier
2fd4d286d6
Refactor retrieving remote aircraft data
...
Instead of requesting it individually for each callsign and waiting for a
signal from xswiftbus, pass in a list of callsigns and use async callback
to read the data.
2018-05-08 16:06:57 +02:00
Roland Winklmeier
bf8ed5c006
Load X-Plane remote aircrafts one by one sequentially
2018-05-08 16:06:57 +02:00
Roland Winklmeier
0ad18cd0a4
Fix sending of parts to X-Plane
2018-05-08 16:06:56 +02:00
Roland Winklmeier
848da69fe1
Group sending of all plane positions and surfaces into a single DBus call
2018-05-08 16:06:56 +02:00
Klaus Basan
2e7e210010
Ref T261, allow to enable/disable "fix scenery offset" via setup
...
* added UI functions
* fixed setup model
* use setup in interpolator
2018-05-08 16:06:55 +02:00
Klaus Basan
0808cdb223
Ref T261, further unify interpolator handling
...
* return interpolation results parts/situation in one step
* base class init for each interpolation step, less redundant code
* removed old interpolation/parts function
* adjusted unit tests and simulator objects (such as SimObject)
2018-05-08 16:06:52 +02:00
Klaus Basan
cb522fedd7
Formatting
2018-05-08 16:06:50 +02:00
Klaus Basan
0dca6db4bf
Check pointer for QTimer::singleShot
2018-05-08 16:06:50 +02:00
Klaus Basan
3d2a74a652
Ref T261, interpolator mode is now part of setup
...
* added attribute in setup
* adjusted UI
* adjusted interpolator / simulator functions
2018-05-08 16:06:49 +02:00