Commit Graph

9338 Commits

Author SHA1 Message Date
Lars Toenning
5724d286d0 Add 8.33 kHz spacing helper methods
Related to #186
2023-02-10 19:08:36 +01:00
Lars Toenning
b3e5539ec2 Enable 8.33 kHz frequency spacing support
Related to #186
2023-02-10 19:08:32 +01:00
Lars Toenning
92351fa8ee Fix rounding of 8.33 kHz spacing frequencies
Related to #186
2023-02-10 19:08:13 +01:00
Lars Toenning
a85905532e [UI] Add GroupBox around FGSwiftbus DBus settings 2023-02-07 18:47:17 +01:00
Lars Toenning
65b4251a3c Move FGSwiftBus settings to own class 2023-02-07 18:47:17 +01:00
Lars Toenning
c1dc5b0b06 Add icon and tooltips to plugin selector 2023-02-06 20:58:23 +01:00
Mat Sutcliffe
27662996fd Remove swift-project.net and fir-berlin.de 2023-02-03 19:21:43 +00:00
Mat Sutcliffe
88badf9c7e [XP] Ignore altitude delta when remote aircraft is on ground 2023-01-24 20:15:16 +00:00
Lars Toenning
69ec713d18 Reset altitude delta for XP11 to zero 2023-01-08 17:38:54 +01:00
Mat Sutcliffe
6e72437824 Guard against window being off-screen
QDesktopWidget::screenNumber can return -1
2022-11-14 18:26:06 +00:00
Mat Sutcliffe
1e29100102 Use new simvar to compensate for MSFS temperature effect on altitude 2022-11-14 18:12:36 +00:00
Mat Sutcliffe
b3e312e1d3 Use new dataref to compensate for XP12 temperature effect on altitude 2022-11-14 18:12:35 +00:00
Mat Sutcliffe
ec54be653d Add new datarefs for X-Plane 12 2022-11-06 15:33:15 +00:00
Mat Sutcliffe
2efdd6f05e Debug "QThread destroyed while thread is still running" 2022-10-28 18:45:08 +01:00
Mat Sutcliffe
39b6305e2e Delete worker threads in a less convoluted manner 2022-10-28 18:45:08 +01:00
Mat Sutcliffe
9f37edeadc Style 2022-09-04 19:47:17 +01:00
oktal3700
3743287d1c Fix regression in fatal log message handler
Don't bypass extra handling of fatal messages when
invoked in the main thread from a different thread.
2022-09-04 19:47:17 +01:00
oktal3700
6c9b2890a7 Remove wrong assert
CG can be negative.
2022-08-27 16:08:11 +01:00
Lars Toenning
ddc7b3f87b Issue #168 Trigger notification sounds
"Text message on ATC frequency" and "Text message on UNICOM" sounds
weren't triggered before.
2022-06-22 22:33:17 +02:00
Lars Toenning
521859f9ac Remove broken launcher news widget
The links for news are broken.
As most announcements are published via Discord nowadays, remove it for now.
2022-06-20 23:43:45 +02:00
Lars Toenning
963c4ec495 Remove link to web map
swift web map is not running anymore
2022-06-20 23:43:45 +02:00
Lars Toenning
315df4bceb Remove unused method parameters 2022-06-20 23:43:45 +02:00
Lars Toenning
e5a82d67f9 Declare empty constructor as default 2022-06-20 23:43:45 +02:00
Lars Toenning
be86a63298 Remove unused network settings 2022-06-20 23:43:45 +02:00
Lars Toenning
3949bf8652 Refactoring math functions
Remove unused math header
Move math constants to own file
Remove unused math methods
2022-06-20 23:43:45 +02:00
Lars Toenning
9974e67afb Remove unused header 2022-06-20 23:43:45 +02:00
Lars Toenning
2d5d120a68 Directly access obfuscation functions
There is no need to inherit from Obfuscation as all members are static anyway.
2022-06-20 23:38:48 +02:00
Lars Toenning
8b5d02c62b Use QRecursiveMutex
QMutex with QMutex::Recursive is deprecated
2022-06-20 23:38:48 +02:00
Lars Toenning
6ada735774 Remove unused Base template parameter 2022-06-20 23:38:48 +02:00
Lars Toenning
f5d3d59a86 Use C++17 nested namespaces 2022-06-20 23:38:48 +02:00
Lars Toenning
d1f41daba2 Remove aggregate include headers
They are only used for registermetadata. Explicitly mentioning the
dependencies/headers there will reduce work to maintain two separate files.
2022-06-20 23:38:48 +02:00
Lars Toenning
1a1b5429d5 Partially revert "Remove unused stringutils methods"
This partially reverts commit 0c1a5a5c97.
2022-06-05 22:47:41 +02:00
Mat Sutcliffe
5818a44d96 Issue #128 Adjust text message frequency to nearest frequency in use 2022-05-25 19:47:35 +01:00
Lars Toenning
d4fdc6e17b Prevent saving invalid values
If a value has not changed and should be saved to a file, only the key (and the invalid value) was passed to the save function. The save function does not check this case or read the value from the cache.
This happens when changing simulator paths as the settings are updated and saved separately.
2022-05-25 19:47:35 +01:00
Lars Toenning
05293feb8f Initialize sim connection status for logincomponent
When using distributed mode and the simulator is already connected to swiftCore, the GUI will not trigger the update on the login component via the simulatorStatusChanged signal.
Therefore we will  trigger the initial update manually (same is already done for the simulator connection LED).
2022-05-25 19:47:34 +01:00
Lars Toenning
0c1a5a5c97 Remove unused stringutils methods 2022-05-25 19:47:34 +01:00
Lars Toenning
beeabb51c2 Remove unused adfsystem 2022-05-25 19:47:34 +01:00
Lars Toenning
c0efc9ea81 Clean up includes 2022-05-25 19:47:34 +01:00
Mat Sutcliffe
8386786386 Update xplanemp2 2022-05-25 19:47:33 +01:00
Mat Sutcliffe
59a27a0d72 Send slowfast before ordinary position update
This solves a server-side performance issue.
2022-05-25 19:47:33 +01:00
Mat Sutcliffe
117f01902a [Velocity] Add length unit and rename time unit 2022-02-20 14:33:08 +00:00
Lars Toenning
66c97cfe2e [FG] Set velocities to 0 if simulator is paused 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
5a01272258 [XP] Set velocity to zero when paused 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
8a203046ed [XP] For own aircraft elevation, use dataref instead of terrain probe 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
d2fadccf4e [FSD] Add rehost packet ($XX) for VATSIM 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
5106859ed9 [FSD] Refactor m_socket member 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
f945f296c8 [FSD] Add slowfast and stopped packets for Velocity 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
edc175d133 Rename member 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
0482634d81 Ignore ordinary situations after a visual situation is received 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
a90957ee56 Add a flag indicating whether a situation has a velocity 2022-02-20 14:33:07 +00:00