Commit Graph

272 Commits

Author SHA1 Message Date
Mat Sutcliffe
bd8a563d11 [xswiftbus] Workaround for shortcoming of qmake INSTALLS wildcard expansion
When using wildcards in the `files` member of an `INSTALLS` variable,
the files must exist when qmake is run or the wildcards won't be expanded.
The libevent and libpng libraries are copied to `$$DestRoot/lib` as a
post-build step in `blackmisc.pro`, so I work around with a shell command.
2021-04-09 15:17:17 +01:00
Mat Sutcliffe
37255096e9 [Install] Don't hardcode version numbers of externals 2021-04-09 15:17:07 +01:00
Mat Sutcliffe
fb3a611948 Fix mistake in xswiftbus which could crash X-Plane 2020-08-26 22:45:13 +01:00
Mat Sutcliffe
97945e5676 Issue #79 Restore error message for unknown models
This was lost due to the model string case sensitivity lookup step.
2020-08-21 18:54:27 +01:00
Mat Sutcliffe
a43b8b00bc [xswiftbus] Add labels when pushing positions to xplanemp2 2020-08-17 19:14:56 +01:00
Mat Sutcliffe
e6d2bb152e [xswiftbus] Set maximum draw distance for labels 2020-08-17 19:14:55 +01:00
Mat Sutcliffe
60c3e02598 Update xplanemp2 2020-08-17 19:14:55 +01:00
Mat Sutcliffe
e710c777ab Issue #17 Fix aircraft labels setting not being updated in xswiftbus
Also related tidying up.
2020-08-13 18:05:19 +01:00
Mat Sutcliffe
19d88d1740 Issue #17 Restore aircraft labels with math and logic cribbed from LiveTraffic's XPMP2 2020-08-12 20:09:23 +01:00
Mat Sutcliffe
c615b45e78 Issue #17 Updated datarefs for X-Plane 11.50 2020-08-12 20:08:10 +01:00
Mat Sutcliffe
54a590a3c3 Update xplanemp2 2020-08-10 22:00:27 +01:00
Mat Sutcliffe
d431ab58d8 Update xplanemp2 for TCAS 2020-08-06 21:56:05 +01:00
Mat Sutcliffe
f9011af44a Fix for Visual Studio 2019 16.7 2020-08-06 20:30:01 +01:00
Mat Sutcliffe
f3c4af3121 Fix stuttering by adding basic linear interpolation in xswiftbus 2020-08-05 19:45:42 +01:00
Mat Sutcliffe
41d11b7efe Fix #67 by unregistering XPMP2's flight loop callback
and instead calling it from within our own flight loop callback
2020-08-05 19:17:14 +01:00
Mat Sutcliffe
5548d8af2d Issue #17 Udjust to model string changes in xplanemp2 2020-08-02 23:01:30 +01:00
Mat Sutcliffe
cdd95a3a0b Issue #17 Change FPS hook render phase due to Vulkan changes 2020-08-02 23:01:30 +01:00
Mat Sutcliffe
43ae2d0ad4 Issue #17 Remove old libxplanemp submodule 2020-08-02 23:01:30 +01:00
Mat Sutcliffe
0d52c4ca47 Issue #17 Using xplanemp2 2020-08-02 23:01:29 +01:00
Mat Sutcliffe
926390d8f6 Style and dead code removal 2020-08-02 23:01:29 +01:00
Mat Sutcliffe
0a6d9e6081 Issue #17 Remove aircraft labels (not supported in xpmp2) 2020-08-02 23:00:22 +01:00
Mat Sutcliffe
1b2b33cf90 Issue #17 Add xplanemp2 submodule 2020-08-02 23:00:21 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Mat Sutcliffe
170727fca2 Update libxplanemp 2020-06-29 18:34:16 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Mat Sutcliffe
d4ee4896c1 Update libxplanemp 2020-06-29 18:34:14 +01:00
Mat Sutcliffe
6e30da2c48 Update libxplanemp 2020-06-12 18:42:53 +01:00
Klaus Basan
6ceb91ac4f Ref T778, fix getRemoteAircraftData
* send waterFlags as DBus int
* waterFlags.clear()
* CDBusMessage::appendArgument(const std::vector<bool> &array)

squash! Ref T778, fix getRemoteAircraftData
2020-06-12 18:42:45 +01:00
Klaus Basan
b5d100b71b Ref T778, style 2020-06-12 18:42:45 +01:00
Mat Sutcliffe
22ebf6c5ea Ref T778 XSwiftBus traffic service prodives water/land flag for elevations 2020-06-12 18:42:44 +01:00
Mat Sutcliffe
7c4fe83799 Ref T778 XSwiftBus service emits a signal when scenery is loaded 2020-06-12 18:42:44 +01:00
Roland Rossgotterer
e997940be9 Update libxplanemp 2020-06-12 18:42:42 +01:00
Klaus Basan
87a9059a05 [XSwiftBus] Fix, write the string not the enum value 2020-06-12 18:42:40 +01:00
Klaus Basan
fd3ad207bd [XSwiftBus] Allow to write an updated xswiftbus.conf file
In a distributed core/UI swift we need to write on XPlane side
2020-06-12 18:42:39 +01:00
Klaus Basan
80e97f749f [XSwiftBus] Misc. style fixes 2020-06-12 18:42:38 +01:00
Klaus Basan
db81acf574 [XSwiftBus] Added missing return
https://discordapp.com/channels/539048679160676382/539925070550794240/689926933642870868
2020-06-12 18:42:38 +01:00
Klaus Basan
e9decab36a Avoid ERROR: Missing XSWIFTBUS_COMMIT variable
see discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/687795747403595847
2020-06-12 18:42:38 +01:00
Lars Toenning
42fd0ed86e Add support for non multi-arch linux distros 2020-06-12 18:42:37 +01:00
Mat Sutcliffe
9aac7576c1 [xswiftbus] Fixed line number counting in config parser 2020-06-12 18:42:37 +01:00
Mat Sutcliffe
a6eaa57f05 [xswiftbus] Fixed wrong error message in config parser 2020-06-12 18:42:36 +01:00
Mat Sutcliffe
e6207198ad [xswiftbus] Fixed wrong config variable name 2020-06-12 18:42:36 +01:00
Klaus Basan
3174e15b53 [XSwiftBus] Add timestamp for logger 2020-06-12 18:42:36 +01:00
Mat Sutcliffe
99033f8538 Update libxplanemp 2020-06-12 18:42:36 +01:00
Klaus Basan
57153d45d7 Ref T773, style 2020-06-12 18:42:35 +01:00
Klaus Basan
6221102b97 Minor follow up of "settings" for terrain probe (style) 2020-06-12 18:42:34 +01:00
Mat Sutcliffe
f4f34341e6 [xswiftbus] getElevationAtPosition also returns latitude and longitude 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
74d5afd123 [xswiftbus] Fixed inverted value of terrain probe enabled setting 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
4ca3a925ce [xswiftbus] FramePeriodSampler: hook into a different render phase
Was previously using cockpit phase,
which wouldn't work when the view was external.
2020-06-12 18:42:24 +01:00
Mat Sutcliffe
de037af702 [xplane] Allow disabling terrain probe for diagnosing performance issues 2020-06-12 18:42:24 +01:00
Mat Sutcliffe
e50bb6d5c7 [xplane] Add monitoring of the number of minutes behind due to low FPS 2020-06-12 18:42:23 +01:00