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
Klaus Basan
f80e093a0a
Ref T717, function to send parts/situation for testing and in the model browser
2019-09-16 22:41:37 +01:00
Klaus Basan
6151f434c6
Ref T717, simulator "is test" conditions where required
2019-09-16 22:41:37 +01:00
Klaus Basan
85a3a0ee99
Style
2019-09-16 22:41:36 +01:00
Klaus Basan
838e41051c
Ref T717, simulator adjustments to support "TEST AIRCRAFT"
2019-09-16 22:41:35 +01:00
Klaus Basan
25532497d6
Fixed FS9/FSX message handling as reported here: https://discordapp.com/channels/539048679160676382/567139633964646411/612104936574156870
2019-09-16 22:41:22 +01:00
Klaus Basan
26afc5160d
Improved logging of "adding aircraft" so we can see details such as the model string
2019-09-16 22:41:17 +01:00
Klaus Basan
b60f84244b
Ref T609, renamed to Transmit/Receive for COM sync.
2019-09-16 22:41:06 +01:00
Klaus Basan
fab65c23b1
Ref T554, changed signature to pass model (object) and not only modelstring
...
Allows to test if data have changed before "remembering them for auto publish"
2019-09-16 22:40:34 +01:00
Klaus Basan
718221b90e
Ref T683, moved m_skipCockpitUpdateCycles to FS common so it can be used with P3D/FSX and FS9
2019-09-16 22:39:51 +01:00
Klaus Basan
0360704b0b
Ref T683, "updateOwnSituationAndGroundElevation"
...
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Klaus Basan
daeea07090
Ref T683, style
2019-09-16 22:39:49 +01:00
Klaus Basan
71e09b008f
Ref T681, renamed to rememberElevationAndSimulatorCG and style
2019-09-16 22:38:08 +01:00
Klaus Basan
c1ffad33bd
Ref T650, using FSX SimulatedObject type decrease exeption counter when successfully added
...
* normally adding the SimObject fails first,
* then the workaround is used (but exception counter is 1)
* this means a 2nd time the object cannot be changed, as there is already a counter number > 0
2019-09-16 20:29:42 +01:00
Klaus Basan
7340301c29
No ASSERT when missing callsign/ids, VERIFY is enough
2019-09-16 20:29:41 +01:00
Klaus Basan
f7add9f33e
Slow parts update and using event for flaps, as sim. variable sets the flaps, but then always retracts it.
...
https://swift-project.slack.com/archives/G96QTUBEG/p1558454646002200
2019-09-16 20:29:37 +01:00
Klaus Basan
b1d265bc0b
Renamed FSX data definition
2019-09-16 20:29:36 +01:00
Klaus Basan
a86e98ca3a
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
2019-09-16 20:29:35 +01:00