Mat Sutcliffe
74d5afd123
[xswiftbus] Fixed inverted value of terrain probe enabled setting
2020-06-12 18:42:31 +01:00
Mat Sutcliffe
de037af702
[xplane] Allow disabling terrain probe for diagnosing performance issues
2020-06-12 18:42:24 +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
0f6b7d910e
Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
8d204cded1
Ref T723 [xswiftbus] Expose configuration for render phase debug messages
2020-01-07 19:57:24 +00:00
Klaus Basan
85a3a0ee99
Style
2019-09-16 22:41:36 +01:00
Klaus Basan
902d18339a
Improved manual changing of aircraft and reset
...
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-16 22:41:32 +01:00
Klaus Basan
0e3cba35ff
Minor style changes
2019-09-16 22:41:31 +01:00
Klaus Basan
f8c73c772a
Continue to send CTraffic values if a plane is NOT found, do NOT return
2019-09-16 22:41:27 +01:00
Klaus Basan
62f5ddab99
Follow aircraft allow to zoom in/out
...
* renamed sniffer
* ignore keystrokes if NO aircraft is followed
* allow to zoom in/out my multiplying the distance
2019-09-16 22:41:25 +01:00
Klaus Basan
0d29471144
Reset keydown (follow aircraft) if mouse no longer moves
2019-09-16 22:41:25 +01:00
Klaus Basan
55d0eb97d0
Ref T709, also log model name (so we can see if a particular model causes a crash)
2019-09-16 22:41:21 +01:00
Klaus Basan
0da1881003
Ref T709, added support for taxi lights in XPlane, using the "bundle lights" flag
2019-09-16 22:41:19 +01:00
Mat Sutcliffe
463ed4bfbd
Ref T709 Made settings provider non-static.
2019-09-16 22:41:16 +01:00
Klaus Basan
93bf6cb44c
Ref T709, avoid camera below ground if aircraft is on ground
2019-09-16 22:41:15 +01:00
Klaus Basan
55690b423f
Ref T709, review points
...
* overload "normalize"
* renamed to CSettingsProvider
2019-09-16 22:41:15 +01:00
Klaus Basan
add649c321
Ref T709, improved normalization and space pressed handling, unit test
2019-09-16 22:41:14 +01:00
Klaus Basan
cdffc11c99
Ref T715, use "night texture mode" in traffic class
2019-09-16 22:41:13 +01:00
Klaus Basan
e908593847
Ref T709, style
2019-09-16 22:41:13 +01:00
Klaus Basan
0605c2d139
Ref T709, static "ownAircraftString" and improved logging
2019-09-16 22:41:12 +01:00
Klaus Basan
61072c70ce
Ref T709, further checks and voodoo as "follow aircraft still crashes
2019-09-16 22:41:12 +01:00
Klaus Basan
79d0109e5a
Ref T709, check on screen w/h and report warning instead of info. Also log missing traffic object.
2019-09-16 22:41:05 +01:00
Klaus Basan
be261a2dd4
Ref T709, normalize degrees to +/i180degs
2019-09-16 22:41:04 +01:00
Klaus Basan
2df218ff99
Ref T709, return 0 if there is no camera position (nullptr)
2019-09-16 22:41:04 +01:00
Klaus Basan
b539964906
Ref T709, style
2019-09-16 22:41:04 +01:00
Klaus Basan
447152bd13
Ref T709, only update settings if changed
2019-09-16 22:41:04 +01:00
Klaus Basan
73b8e606e2
Ref T709, further aircraft camera pos. checks and init zoom to 1.0
...
Attempts to avoid the follow aircraft crash
2019-09-16 22:41:02 +01:00
Klaus Basan
4a0101feed
Ref T709, update labels every n-th frame
2019-09-16 22:41:02 +01:00
Klaus Basan
01f90fc9bf
Ref T709, check position for "follow aircraft"
2019-09-16 22:41:01 +01:00
Klaus Basan
f9c87326fb
Ref T709, changed to settings provider
...
* CPlugin is the provider
* it is "kept" in DBus object for traffic, service, weather
2019-09-16 22:41:01 +01:00
Klaus Basan
1440c4d2e9
Ref T709, changed to "static" settings as it needs to be used in static functions such as "CTraffic::preferences"
2019-09-16 22:40:57 +01:00
Klaus Basan
8845d1d35c
Ref T709, style
2019-09-16 22:40:57 +01:00
Klaus Basan
60305d461f
Ref T709, style
2019-09-16 22:40:55 +01:00
Klaus Basan
f6690136f2
Ref T709, added DBus signatures and use CSettings class in service class
...
* CSettings objects will be shared among all services (traffic, weather, service)
* It is "global" for plugin
2019-09-16 22:40:54 +01:00
Mat Sutcliffe
b36172437b
Ref T710 Propagate libxplanemp CSL load error messages as swift validation errors.
2019-09-16 22:40:45 +01:00
Roland Rossgotterer
8943db5b2b
Revert "[xSwiftBus] Automatically find and load CSL packages"
...
This reverts commit 61adfefa7a .
2019-05-15 17:19:56 +02:00
Roland Rossgotterer
aebf07511e
[XSwiftBus] Allocate big memory buffers on the heap instead of stack
2019-05-14 11:37:54 +02:00
Roland Rossgotterer
61adfefa7a
[xSwiftBus] Automatically find and load CSL packages
...
ref T657
2019-05-13 11:21:05 +02:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
acdbf9d43d
Ref T470 CTraffic::getRemoteAircraftData uses NaN to represent
...
an unknown vertical offset.
2019-02-22 20:23:30 +00:00
Roland Rossgotterer
901cf34bc8
Fix X-Plane follow aircraft
...
This commit fixes two bugs:
- The camera position was never initialized until space was pressed. The camera position was therefore random
- Instead of saving the camera position, we actually want to save the delta camera position.
ref T465
2018-12-11 17:42:49 +01:00
Roland Rossgotterer
49bd38d722
[XSwiftBus] Add hasMultiplayerPlanesAquired() DBus API
...
This function will return whether X-Plane multiplayer planes have been acquired by XSwiftBus or if not, who else acquired them.
2018-11-29 20:54:26 +01:00
Roland Rossgotterer
ec8245ea53
[XSwiftBus] Give PQ variables a unit
...
ref T313
2018-11-29 20:54:26 +01:00
Roland Winklmeier
9bb75a6f2e
Rotate camera in follow plane view only if space key is pressed
...
This commits merges the two orbit plane functions together in CTraffic.
The separation was necessary since XSwiftBus needed to be started manually
and until started, the pointer to CTraffic was invalid. Since XSwiftBus
is started automatically, it can be merged into one function again.
This commit also adds the feature to rotate the camera only if the space key
is pressed. This is equal to how FSX/P3D do it. Using the right mouse was
not possible, since X-Plane SDK does not offer that option.
ref T360
2018-11-04 17:42:42 +01:00
Roland Winklmeier
f3f3ebc306
Cleanup aircraft in X-Plane after DBusConnection drops
...
ref T392
2018-10-07 16:17:25 +02:00
Roland Winklmeier
ebe23a694b
Fix GCC7 fallthrough warnings
2018-10-05 17:39:58 +02:00
Roland Winklmeier
616cc241f4
[XSwiftBus] Convert setPlanesTransponders to list setter
...
ref T374
2018-10-03 03:03:41 +02:00
Roland Winklmeier
65d00dca6e
[XSwiftBus] Fix plural in CTraffic::setPlanesSurfaces
2018-10-03 03:03:41 +02:00
Roland Winklmeier
cfc9c3166e
Decouple flightloop processing from DBus
...
There are needs to not only run DBus tasks, but also different generic
tasks during the processing loop.
2018-10-03 03:03:40 +02:00
Roland Winklmeier
f637b2996d
Fix floating point comparison
2018-08-07 20:40:59 +02:00