Commit Graph

369 Commits

Author SHA1 Message Date
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
7b6568f3b9 refactor: Use using instead of typedef 2024-11-12 20:58:26 +01:00
Lars Toenning
cc1e41fc59 refactor: Rename remaining "black" identifiers 2024-11-11 15:11:40 +01:00
Lars Toenning
6d1812b164 refactor: Rename blackgui to swift::gui 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
8604ddf06a refactor: Split InterpolationStatus related classes into separate files 2024-10-21 20:33:20 +02:00
Lars Toenning
e8ae835827 refactor: Fix spelling mistake 2024-10-21 20:33:20 +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
ed83671196 refactor(fsx): Simplify condition 2024-10-13 15:29:11 +02:00
Lars Toenning
de7b820112 refactor: Remove weather support 2024-10-13 15:20:57 +02:00
Lars Toenning
9824390f80 fix: Enable probe config only when the sim is running locally
Enabling the terrain probe only works when running locally because it
directly accesses the simulator plugin.
2024-10-13 08:52:33 +02:00
Lars Toenning
48dccd937f refactor: Remove FSX specific method from context
This method was only uses to provide a secondary way installing the
terrain probe. For simplicity we should only provide a single way to
install the probe (through the config wizard).
2024-10-13 08:52:33 +02:00
Lars Toenning
b2ecee8a94 refactor: Use CFileUtils to save the file
Other methods in this component to open and delete the file only worked
in a local environment as well. For simplification allow writing this
file locally only as well.
2024-10-13 08:52:33 +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
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
eac7a5dc13 Add missing include 2023-10-31 21:59:10 +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
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
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
312dec792b Doxygen style 2021-09-18 15:07:48 +01: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
308081cfcc Enable MSFS 64 bit build 2021-07-13 17:51:59 +01:00
Roland Rossgotterer
7e04a2c40f [MSFS] Rename FS2020 to MSFS 2021-07-13 17:51:58 +01:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00: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
30d6e639ca Disable minimize/maximize/close buttons of simulator settings windows 2020-08-13 23:32:38 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +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