Klaus Basan
58524a63ea
[UI] Smaller UI adjustments
2020-06-12 18:42:54 +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
Klaus Basan
8278a7d5e6
[P3D] Adjustments for P3D v5
...
* guess version
* added new version selection
2020-06-12 18:42:48 +01:00
Klaus Basan
4e45249142
Use "fixed "gear down" if on ground.
...
Reason: Some sims do send incorrect gear down.
Follow up of T778
2020-06-12 18:42:48 +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
46d417c5a2
Ref T778, style and comments, debug hints
2020-06-12 18:42:43 +01:00
Klaus Basan
829777bf3a
Ref T778, added "likelyOnGroundElevation" as parameter for "ememberElevationAndSimulatorCG"
2020-06-12 18:42:43 +01:00
Klaus Basan
a7ae5290d0
Utility function
2020-06-12 18:42:33 +01:00
Klaus Basan
25b30ccf34
Ref T773, style/typo
2020-06-12 18:42:33 +01:00
Klaus Basan
86c8568bf2
Fixes some CLANG warnings (QtC IDE checks, nevertheless does not harm to fix them)
2020-06-12 18:42:30 +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
19c9a51c38
Style
2019-09-16 22:41:34 +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
fc2f7b4a12
Ref T683, move "m_ownAircraftUpdateCycles" one level up so it can be used in FS9
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
2e67b94512
Added P3D v4.5 SimConnect
2019-09-16 20:29:38 +01:00
Klaus Basan
05805f4d89
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
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
Klaus Basan
2e6d415c14
Allow to enable trace for P3D/FSX SB offsets
2019-05-13 11:21:09 +02:00
Klaus Basan
2c4133316a
Minor FSX/P3D style changes
2019-05-13 11:21:07 +02:00
Klaus Basan
dd7930337a
Better detect simExit on FSX, dispatch error just warning in that case
2019-05-13 11:21:03 +02:00
Klaus Basan
669402c7e0
Log simulator status for dispatch errors (FSX/P3D)
2019-05-13 11:21:02 +02:00
Klaus Basan
da2b3e05fd
Minor interpolator improvements, display 2nd invalid version instead of first
2019-05-13 11:21:02 +02:00
Klaus Basan
7d025c6293
Ref T650, also remember SB offset setting
2019-05-13 11:21:01 +02:00
Klaus Basan
b9634f9927
Minor FSX driver updates
2019-05-13 11:21:00 +02:00
Klaus Basan
cbf5c1c445
Ref T650, save FSX/P3D specific settings
2019-05-13 11:20:56 +02:00
Klaus Basan
0cefe1d1e4
Ref T650, simulator setting UI of SimulatedObject can be used
2019-05-13 11:20:56 +02:00
Klaus Basan
680c47074f
Ref T650, driver class support for SimulatedObject type AI aircraft
...
* use SimulatedObject object if NON ATC type failed (for helicopters)
* SimObject can handle SimulatedObject type (compared to NonATC)
* Send ATC data to simulator
2019-05-13 11:20:56 +02:00
Klaus Basan
4522cb5fe5
Ref T650, SimObject can handle SimulatedObject type (compared to NonATC)
2019-05-13 11:20:55 +02:00
Klaus Basan
6d936dc1cc
Ref T650, added FSX SimConnect symbols (funtion names)
2019-05-13 11:20:55 +02:00