Commit Graph

263 Commits

Author SHA1 Message Date
Thomas Zobler
4bfc444989 fix: msfs2020 simconnect interface restored 2025-12-22 18:35:19 +01:00
Thomas Zobler
c44f8710a8 feat: Summary of all changes to the new model loader 2025-12-01 22:39:30 +01:00
Lars Toenning
edbabe34be refactor: Remove airport view 2024-12-30 10:08:50 +01:00
Lars Toenning
efc7796f1b refactor: Remove timesync feature
This is directly available by new simulators.
2024-12-30 10:08:49 +01:00
tzobler
940b7281c9 feat: add native msfs2024 support 2024-12-20 14:18:26 +01:00
Lars Toenning
8e775990ae refactor: Clean up simconnect settings 2024-11-30 17:32:48 +01:00
Lars Toenning
1a0b2a8c5f refactor: clang format line length 2024-11-17 09:25:46 +01:00
Lars Toenning
97eed9562a refactor: clang-format 2024-11-16 21:40:55 +01:00
Lars Toenning
528b0cc255 feat: Add MSFS support
Co-Authored-By: Roland Rossgotterer <roland.rossgotterer@gmail.com>
Co-Authored-By: tzobler <tzobler@t-online.de>
2024-11-15 20:54:14 +01:00
Lars Toenning
cc1e41fc59 refactor: Rename remaining "black" identifiers 2024-11-11 15:11:40 +01:00
Lars Toenning
3a2447770f refactor: Rename blackcore to swift::core 2024-11-11 15:11:39 +01:00
Lars Toenning
9142a3649b refactor: Rename blackmisc to swift::misc 2024-11-11 15:11:39 +01:00
Lars Toenning
9c879aea1c refactor: Rename verify macros 2024-11-11 13:02:36 +01:00
Lars Toenning
0db0c16668 refactor: Rename BlackConfig to swift::config 2024-11-11 13:02:35 +01:00
Lars Toenning
3af2fe2304 refactor: Move interpolation-related files to new subdirectory 2024-10-21 20:35:38 +02:00
Lars Toenning
a27c2b3f51 refactor: Move OnGround information to own class 2024-10-21 20:33:21 +02:00
Lars Toenning
78d0dc4435 refactor: Change variable type of aircraftNumber
The aircraft number should always be positive
2024-10-21 20:33:19 +02:00
Lars Toenning
de7b820112 refactor: Remove weather support 2024-10-13 15:20:57 +02:00
Lars Toenning
18d0b1eefc refactor(fs): Move FSUIPC from fscommon to FS9
With default settings, FSUIPC was not really used
by FS simulators (except FS9) as the transponder
mode readout was done with SB offsets through SimConnect.
For simplification, this removes FSUIPC from fscommon and moves it to FS9.
Therefor this also removes the option for FSX/P3D users to toggle FSUIPC.
2024-04-16 21:23:08 +02:00
Lars Toenning
6cf9dfaecf refactor: Remove aircraft highlighting/blinking functionality
This functionality was not documented. Further, this feature likely does
not work great in all simulators because adding and removing aircrafts
might take longer than a second.
2024-03-21 22:48:29 +01:00
Lars Toenning
748bfcdc15 refactor: Clean up ISimulator 2024-03-21 22:48:29 +01: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
970b7c3650 clang-format src 2023-04-18 16:07:19 +02: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
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
ebe59bcae5 8.33 kHz spacing support for Microsoft simulators
Related to #186
2023-02-10 19:08:39 +01:00
Mat Sutcliffe
1e29100102 Use new simvar to compensate for MSFS temperature effect on altitude 2022-11-14 18:12:36 +00:00
Roland Rossgotterer
bdacb59b61 Issue #97 Read aircraft velocity and rotation from SimConnect 2022-01-29 14:40:55 +00:00
Lars Toenning
45a5ce5a6a Issue #131 Sync date when time-sync is enabled for FSX/P3D 2021-11-28 12:52:54 +00:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Roland Rossgotterer
7e04a2c40f [MSFS] Rename FS2020 to MSFS 2021-07-13 17:51:58 +01:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Roland Rossgotterer
3baab2ae4d Add initial simulator plugin support for FS2020
This adds simulator plugin support for FS2020. It still pretends to be FSX until full integration is completed.
2020-09-16 22:59:58 +01:00
Mat Sutcliffe
802576eda9 Issue #77 Rename 2020-08-29 14:16:11 +01:00
Mat Sutcliffe
e8a0a0b6ba Issue #15 Register CSequence as a sequential container metatype 2020-07-31 00:57:46 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Klaus Basan
cb505ae2c7 [FSX/P3D] Log.injected weather METAR string 2020-06-12 18:42:56 +01:00
Klaus Basan
114b36e611 [FSX/P3D] Simplified listener
* removed inner SimConnect_CallDispatch loop/CApplication::processEventsFor
* keep connection open, and check dispatch queue
2020-06-12 18:42:53 +01:00
Klaus Basan
2497e689af [FSX/P3D] self adjusting timer for listener
P3D with remote connections caan be SLOW before running in a timeout
2020-06-12 18:42:52 +01:00
Klaus Basan
9235f3232e Improvements during shutdown
* stop listeners
* check if airspace monitor and FSD still exist
* stop listeners on "aboutToShutdown()"
* check for processEventsFor(500)
2020-06-12 18:42:52 +01:00
Klaus Basan
f9bb71c8ee Ref T786, FSX/P3D METAR (weather inject)
* allow to select which layers are converted to METAR string
* allow to pass sim.flag (FSX/P3D)
* winds aloft seem to crash FSX, disabled(!)
2020-06-12 18:42:51 +01:00
Klaus Basan
17cebfb8d3 Ref T786, further checks (shutdown, empty values) 2020-06-12 18:42:51 +01:00
Klaus Basan
026e19add0 Ref T786, use identifier based requestWeatherGrid in simulator plugins 2020-06-12 18:42:50 +01:00
Klaus Basan
fbf63457c1 Ref T786, make sure injectWeather is called in the correct thread 2020-06-12 18:42:49 +01:00
Mat Sutcliffe
22ebf6c5ea Ref T778 XSwiftBus traffic service prodives water/land flag for elevations 2020-06-12 18:42:44 +01:00
Klaus Basan
829777bf3a Ref T778, added "likelyOnGroundElevation" as parameter for "ememberElevationAndSimulatorCG" 2020-06-12 18:42:43 +01:00
Klaus Basan
25b30ccf34 Ref T773, style/typo 2020-06-12 18:42:33 +01:00
Klaus Basan
123387f1a7 Style 2020-01-07 19:57:18 +00:00