Commit Graph

264 Commits

Author SHA1 Message Date
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
Mat Sutcliffe
377b2f6a3e [xplane] Add monitoring of the number of track miles lost due to low FPS 2020-06-12 18:42:23 +01:00
Mat Sutcliffe
3a73933cf1 [xswiftbus] Stop logging probe failures after a certain number
To avoid flooding the log with messages.
2020-06-12 18:42:22 +01:00
Mat Sutcliffe
90b307d868 [xswiftbus] log message when terrain probe fails to find ground elevation 2020-06-12 18:42:22 +01:00
Mat Sutcliffe
e1a894f81a [xswiftbus] use $$files in qmake so files show up in VS IDE solution explorer 2020-06-12 18:42:22 +01:00
Klaus Basan
143ac8576a Log.category for DBus server 2020-01-15 02:44:32 +01:00
Mat Sutcliffe
9dee6acef9 Update libxplanemp 2020-01-13 18:53:31 +00:00
Mat Sutcliffe
0a2001a68e [xswiftbus] Use std::string_view for performance in CDBusMessage
This avoids repeated dynamic memory allocations in dbusMessageHandler
methods and elsewhere due to repeatedly constructing temporary strings.

std::string_view is a C++17 feature but also part of the Library
Fundamentals TS and available in all our compilers.
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
0c444ca45c [xswiftbus] Using raw string literal delimiter so parentheses can be embedded in the XML 2020-01-13 18:53:31 +00:00