Roland Winklmeier
521e2044cf
Update libxplanemp including a fix when parsing invalid X-Plane CSLs
...
ref T333
2018-09-17 18:28:20 +02:00
Roland Winklmeier
d682df243a
Fix loading of older OBJ8 CSL modelsets
...
- Fix support for older modelsets not using the texture for OBJ8 feature
- Small error when xsb_aircraft.txt was outside the object folder
ref T326
2018-09-12 17:01:45 +02:00
Roland Winklmeier
2392a27a59
Add missing include
2018-08-26 10:04:58 +02:00
Roland Winklmeier
88ce557c80
Replace left over Q_OS_MAC macro with APL in xswiftbus
2018-08-25 22:12:08 +02:00
Roland Winklmeier
a19ccabf35
Refactor shared X-Plane model parser in common header only functions
...
ref T290
2018-08-24 21:27:00 +02:00
Roland Winklmeier
3774f2b60f
Fix cppcheck warnings and cleanup suppression config
...
- redundantAssignment
- knownConditionTrueFalse
2018-08-09 01:25:41 +02:00
Roland Winklmeier
000bdee457
Properly default initialze DBus dispatcher
2018-08-09 01:25:39 +02:00
Roland Winklmeier
f637b2996d
Fix floating point comparison
2018-08-07 20:40:59 +02:00
Roland Winklmeier
05e0480bb4
Move XPlane gnd flag handling from parts to situation
...
ref T276
2018-08-07 20:40:57 +02:00
Roland Winklmeier
9f8f29f8fd
Remove obsolete and commented Qt code from XSwiftBus
2018-08-07 20:40:54 +02:00
Roland Winklmeier
ce0b63f8f1
Add simple config file support to XSwiftBus
...
This adds a simple configuration file to XSwiftbus. So far, only the
xswiftbus DBus server is configured.
ref T291
2018-08-07 20:40:52 +02:00
Roland Winklmeier
1ead5fc356
Add WARNING_LOG macro to xswiftbus
2018-08-07 20:40:48 +02:00
Roland Winklmeier
488ff96ce6
Add DBus P2P support to XSwiftBus
...
ref T291
2018-08-07 20:40:43 +02:00
Roland Winklmeier
fd45de89d9
Fix CDBusConnection::isConnected
...
ref T291
2018-08-07 20:40:42 +02:00
Roland Winklmeier
a764fa0d03
Move DBus event processing from DBusConnection to DBusDispatcher
...
ref T291
2018-08-07 20:40:41 +02:00
Roland Winklmeier
59da68da5e
Delay setting the DBusConnection for a DBusObject
...
Previously, the DBusconnection had to be set at construction time and could
not be changed over the DBusObject life time. Now a new connection can be
set anytime and as often as required.
The shared ownership is now also properly implemented by shared pointers.
ref T291
2018-08-07 20:40:40 +02:00
Roland Winklmeier
01085f24b3
Allow DBusMessage sender and destination values to be empty
...
ref T291
2018-08-07 20:40:39 +02:00
Roland Winklmeier
ef8c7d7d1c
Fix rare crash and swift not being notified about a failed plane adding
...
This fixes are rare case, that no XPMP plane could be created (no model
was found) and this was not signaled to swift.
2018-08-07 20:40:36 +02:00
Roland Winklmeier
dc9b2a42f7
Fix the correct naming of altitude and elevation
2018-08-07 20:40:34 +02:00
Roland Winklmeier
d05b2982cb
Align argument names in XSwiftBus traffic introspection file
2018-08-07 20:40:33 +02:00
Roland Winklmeier
cff12d78fb
Style improvement
2018-08-07 20:40:31 +02:00
Klaus Basan
52513db63f
Ref T290, XPlane refactoring
...
* typo getRemoteAircraftsData -> getRemoteAircraftData (no "s")
* typo getEelevationAtPosition (double "Ee")
* get functions "const"
* added unit for some variables such as latitudeDeg
2018-07-17 19:04:50 +02:00
Klaus Basan
78bcc31a0c
Ref T290, style
2018-07-14 19:47:35 +02:00
Klaus Basan
6fd32bb00d
Ref T288, XPlane model in login component
2018-07-13 01:44:43 +02:00
Roland Winklmeier
128edcd118
Update libxplanemp
2018-06-18 03:04:27 +02:00
Roland Winklmeier
87ba7183cc
Add new command to jump to previous plane in follow plane view
...
ref T269
2018-06-18 03:04:25 +02:00
Roland Winklmeier
e55103ccdf
Rename all variables and functions to be similar to followPlaneView
2018-06-18 03:04:24 +02:00
Roland Winklmeier
10b8cf5fea
Add new command to jump to next plane in follow plane view
...
ref T269
2018-06-18 03:04:22 +02:00
Roland Winklmeier
0b607f9e0b
Add own aircraft to X-Plane plane view menu
...
ref T269
2018-06-13 13:59:17 +02:00
Roland Winklmeier
654cc1621e
Align the position and surface variable names to plural
2018-06-13 13:59:16 +02:00
Roland Winklmeier
33963041cc
Implement followAircraft for X-Plane
...
ref T266
2018-06-13 13:59:13 +02:00
Klaus Basan
8fad39fdaf
Jenkins Win64 build warnings
2018-06-01 01:30:55 +02:00
Klaus Basan
1336aa05f9
Fixed XSwiftBus pro as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1526231272000077
2018-05-18 00:25:06 +02:00
Roland Winklmeier
dab41045d3
[xswiftbus] Check if plane exists already before adding a new one
2018-05-12 21:40:02 +02:00
Roland Winklmeier
48b1b78d81
Update libxplanemp submodule
2018-05-12 21:40:00 +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
7de5c06c7a
[xswiftbus] Fix destroying of removed menu items
2018-05-08 16:06:57 +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
631ffdb191
Explicit cast to avoid compile warning on Win64
2018-05-08 16:06:33 +02:00
Klaus Basan
0d76cc8d3e
Formatting
2018-05-08 16:06:33 +02:00
Klaus Basan
c1ac229875
Formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
291780244b
Added utility functions to avoid warnings converting int/double to float
2018-05-08 16:06:32 +02:00
Klaus Basan
75c481228f
Missing include, fixing missing M_PI
...
Using the little "PI = std::acos(-1);" trick to avoid include issues
2018-05-08 16:06:31 +02:00
Roland Winklmeier
da94b6c0df
Change dimensions and font of xswiftbus message window
2018-05-08 16:06:31 +02:00
Roland Winklmeier
6fec158534
[xswiftbus] Move CAircraftModel into its own file
2018-05-08 16:06:31 +02:00
Roland Winklmeier
45a846da03
Fix clang warnings
2018-05-08 16:06:30 +02:00
Roland Winklmeier
37e592759c
[xswiftbus] Plane View Menu
...
FSX/P3D have a nice feature to follow a remote aircraft with the camera.
X-Plane was missing this feature, since for X-Plane the remote aircrafts
are not known. However, from a plugin point of view, we know them and where
they are. So we can manually control the camera and provide a similar
feature.
This is still very simple. As soon as you move the mouse, the PoV angle will
change. In future updates, it should be change only while the right mouse
button is pressed.
2018-05-08 16:06:30 +02:00
Roland Winklmeier
6a8ae67e06
[xswiftbus] Make xswiftbus completely Qt free
2018-05-08 16:06:30 +02:00
Roland Winklmeier
b0a8fcaa45
[xswiftbus] Remove BlackMisc dependency
...
There were only very few classes used from Blackmisc after the interpolator
was moved to the driver. Therefore replace those few classes with
a simple alternative and remove BlackMisc from xswiftbus.
2018-05-08 16:06:30 +02:00