Commit Graph

9025 Commits

Author SHA1 Message Date
Lars Toenning
1deaeba584 Add CMake support 2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b Remove qmake files 2023-11-01 22:23:15 +01:00
Lars Toenning
8e8b079e21 Add missing header guard 2023-10-31 21:59:10 +01:00
Lars Toenning
eac7a5dc13 Add missing include 2023-10-31 21:59:10 +01:00
Lars Toenning
d29705a01b Throw error when parsed JSON is invalid
Without this error detection, the malformed bootstrap.json
stayed undetected. Hence, the old VATSIM FSD HTTP URL was used.
2023-10-05 18:27:18 +02:00
Lars Toenning
77d7559477 Update VATSIM HTTP address 2023-10-05 18:27:18 +02:00
Lars Toenning
bfc27f61a4 Print splashscreen text in separate statusbar 2023-10-05 18:27:18 +02:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
7ef0e6e1eb Fix cppcheck warnings 2023-04-18 16:07:19 +02:00
Lars Toenning
a065c8e737 [ci] Skip datarefs.inc with cppcheck 2023-04-18 16:07:19 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
oktal3700
f1ce792b98 Assert that infinite quantity is not allowed 2023-04-08 20:15:13 +01:00
Lars Toenning
d151f9ffff Ignore new GCC warning
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-04-06 17:08:03 +02:00
Lars Toenning
72ac4e6b47 Fix doxygen warnings
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Mat Sutcliffe
b43d093b67 Bypass double precision issues in CComSystem::isSameFrequency 2023-03-12 19:00:03 +00:00
Mat Sutcliffe
d1b1ee9c06 Guard against aircraft with more than 4 engines
Fixes assert failure "index out of range" in QList<T>::at
2023-03-12 19:00:02 +00:00
Mat Sutcliffe
dfc288bfd7 Refactor rehosting logic in FSD client 2023-03-12 19:00:02 +00:00
Lars Toenning
6dc2492d29 Bootstrap: Remove wasLoadedFromWeb flag 2023-03-03 12:23:43 +01:00
Lars Toenning
acf8df95a6 Adjust rehosting with automatic server 2023-03-01 20:45:22 +01:00
Lars Toenning
c4cfdc1fcc Remove EOL feature 2023-02-28 21:12:24 +01:00
Lars Toenning
a62da56d5f Use HTTP to get VATSIM IP in automatic mode 2023-02-28 08:29:58 +01:00
Lars Toenning
466e0dbae4 Read VATSIM servers from servers.json 2023-02-28 08:29:58 +01:00
Lars Toenning
ec42553910 Always read bootstrap.json from local file
This simplifies the bootstrap phase and synchronization.
2023-02-27 15:31:28 +01:00
Lars Toenning
fbd9255f56 Add getter for server file to CApplication 2023-02-27 15:31:11 +01:00
Lars Toenning
4f43633231 Add VATSIM server JSON to CGlobalSetup 2023-02-27 15:28:08 +01:00
Lars Toenning
4ce5ffc141 Fix propertyByIndex for CGlobalSetup 2023-02-27 15:27:48 +01:00
Lars Toenning
32bdab8982 [FSX/MSFS] Fix COM TX/RX sync
After the 8.33 kHz commits, changes of the TX/RX status were only
transmitted from the sim to GUI if frequencies changed.
2023-02-11 16:36:02 +01:00
Lars Toenning
e2fb684ac8 Increase upper frequency limit for 8.33 kHz spacing
Related to #186
2023-02-10 19:08:56 +01:00
Lars Toenning
cc6f0d151d Round to 8.33 kHz channel when receiving text messages
Related to #186
2023-02-10 19:08:49 +01:00
Lars Toenning
ab3203043c [AFV] Use CComSystem helper to compare frequencies 2023-02-10 19:08:49 +01:00
Lars Toenning
d51e4646c6 Clarify CSimulatedAircraft method name 2023-02-10 19:08:49 +01:00
Lars Toenning
8747b91ea6 Remove unused ChannelSpacing parameter 2023-02-10 19:08:49 +01:00
Lars Toenning
76b591bf06 Rename CAtcStation frequency related methods 2023-02-10 19:08:49 +01:00
Lars Toenning
7fdb1035d1 Remove unused methods 2023-02-10 19:08:48 +01:00
Lars Toenning
a96d792e25 Adapt channel comparison for 8.33 kHz spacing
Related to #186
2023-02-10 19:08:44 +01:00
Lars Toenning
ebe59bcae5 8.33 kHz spacing support for Microsoft simulators
Related to #186
2023-02-10 19:08:39 +01:00
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