Klaus Basan
70766beea8
Ref T786, make sure to request weather if scenario/settings have changed and/or weather was activated
2020-06-12 18:42:50 +01:00
Klaus Basan
9430bb55cb
Ref T786, make sure pending requests can time out and are removed
...
Avoid one broken requests blocks everything
2020-06-12 18:42:50 +01:00
Klaus Basan
055ecbc022
cockpit UI, changed order of RX/TX
2020-06-12 18:42:50 +01:00
Klaus Basan
50f8b09b62
Ref T786, weather data parser smaller improvements
2020-06-12 18:42:50 +01:00
Klaus Basan
8fe11c7633
Ref T786, used weather data printer code for weather description (to QString)
2020-06-12 18:42:50 +01:00
Klaus Basan
0bf9ddbe2c
Simulator settings, always display settings directory
...
RP FSC eV discussion
https://discordapp.com/channels/539048679160676382/594962359441948682/700487653556224070
2020-06-12 18:42:50 +01:00
Klaus Basan
42cd7b9ad8
Ref T786, UI weather component aligned to identifier
2020-06-12 18:42:50 +01:00
Klaus Basan
579a3b28e1
Ref T786, emulated sim. dialog weather support
...
* display weather
* request weather
2020-06-12 18:42:50 +01:00
Klaus Basan
026e19add0
Ref T786, use identifier based requestWeatherGrid in simulator plugins
2020-06-12 18:42:50 +01:00
Klaus Basan
58583d3ffa
Ref T786, simulator context
...
* use identifier based "requestWeatherGrid"
* injectWeatherGrid now public
* clean m_lastWeatherPosition if weather is de-activated
* inject weather CContextSimulator::onWeatherGridReceived
1) this automatically injects the weather, the callback is not needed
2) the callback was the part which crashed
2020-06-12 18:42:50 +01:00
Klaus Basan
e7875c3af8
Style
2020-06-12 18:42:49 +01:00
Klaus Basan
7304013eea
Ref T786, weather manager
...
* adjusted to new requestWeatherGrid
* use fetchNextWeatherDataDeferred to make sure follow up calls are decoupled
* for callbacks use weatherRequest.callback.singleShot so it is called in correct thread
2020-06-12 18:42:49 +01:00
Klaus Basan
cc77183b05
Ref T786, changed provider interface, addded identifier based version
...
* virtual void requestWeatherGrid(const BlackMisc::Geo::ICoordinateGeodetic &position, const BlackMisc::CIdentifier &identifier)
* CWeatherGridAware function do not need to be virtual
2020-06-12 18:42:49 +01:00
Klaus Basan
d5a81a349b
Style
2020-06-12 18:42:49 +01:00
Klaus Basan
3be498a347
Ref T786, make sure callbacks are called in correct thread
...
* callback.singleShot
* shutdown guards, "myself"
* BLACK_VERIFY
* Qt::QueuedConnection
2020-06-12 18:42:49 +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
cfc748420c
Ref T786, stub for getting description of weather grid
2020-06-12 18:42:49 +01:00
Klaus Basan
0fa6a6e4c3
Ref T786, singleShot for CSlot
2020-06-12 18:42:49 +01:00
Klaus Basan
388138203e
[FSD] Send correct pilot rating, use threadsafe getters in some places
...
The thread safety is still premature for the FSD client class.
However, most likely no critical as those values have to be preset and never change.
2020-06-12 18:42:49 +01:00
Klaus Basan
000d0da92a
[UI] Internals page
...
* changed to callsign completer (combobox too long)
* allow to display own parts
2020-06-12 18:42:49 +01:00
Klaus Basan
ea4a8f2462
[XP] Minor fixes/style XPlane driver
2020-06-12 18:42:49 +01:00
Klaus Basan
4d7468f913
[FSD] Check attributes of full JSON parts
2020-06-12 18:42:48 +01:00
Klaus Basan
70c88f0982
[UI] Make completer length font size relative
2020-06-12 18:42:48 +01:00
Klaus Basan
668659248e
Send distance if own aircraft has been moved
2020-06-12 18:42:48 +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
828b57f5a2
[AFV] Log. messages
2020-06-12 18:42:48 +01:00
Klaus Basan
d96c5e51e3
Weather support in emulated driver
2020-06-12 18:42:48 +01:00
Klaus Basan
926684fb87
[Weather] Weather data printer
...
* removed slots
* typo
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
Klaus Basan
df69ef47a0
[UI] Default sizes for dock widgets plus some smaller fixes:
...
* renamings
* reset all to defaults
* sizes
2020-06-12 18:42:48 +01:00
Klaus Basan
465c8fd81d
[Weather] Minimal style fixes
2020-06-12 18:42:48 +01:00
Klaus Basan
0d66a995ce
Context menus to temp.disable parts (for single aircraft) and "0" zero pitch
2020-06-12 18:42:48 +01:00
Klaus Basan
9618073a04
[Context] "isRemoteAircraftSupportingParts" as context function (not only provider function)
2020-06-12 18:42:48 +01:00
Klaus Basan
148368ca0c
Some fixes for interpolation setups
...
* added missing signal
* refresh list on reload button press
* display pitch value
* list ctor for single object
2020-06-12 18:42:48 +01:00
Klaus Basan
9b031bb582
[PQ] Allow to provide a default unit for parsing, e.g. "0" -> "0ft"
2020-06-12 18:42:47 +01:00
Klaus Basan
92fdbd3117
[UI] Estimate height of plugin selector
2020-06-12 18:42:47 +01:00
Klaus Basan
21e109e5e2
[AFV] Simulator settings changed signal
...
* in the cockpit "sync." can now be enabled/disabled
* settings signal allows to update UI in settings UI
2020-06-12 18:42:47 +01:00
Klaus Basan
e839820940
Check UNC path to avoid "hanging" if other machine is not reachable
2020-06-12 18:42:47 +01:00
Klaus Basan
04562a6651
Style, as_const
2020-06-12 18:42:46 +01:00
Klaus Basan
afa5ba1fee
[FS9] Doxygen, no need to make enum value const
2020-06-12 18:42:46 +01:00
Klaus Basan
a3f646a792
[FS9] Function for at least halfway correct engine type
2020-06-12 18:42:46 +01:00
Klaus Basan
1ab1e8ca70
[FG] Fixed UnitTest which got broken by the FG "modelstring" changes
2020-06-12 18:42:46 +01:00
Klaus Basan
a0aae420e2
[AFV] First premature version of editable TX/RX flags
2020-06-12 18:42:46 +01:00
Klaus Basan
ea8198d26e
[AFV] Allow to set the tx/rx values for the AFV client
...
Simplified function
2020-06-12 18:42:46 +01:00
Klaus Basan
63cc2a7e3e
[AFV] Utility functions to update simulator settings
2020-06-12 18:42:46 +01:00
Klaus Basan
124432ceb1
[FS9] Experimental fix for FS9 autoconnect
...
No idea if this fixes the auto-connect issue, should not harm either
2020-06-12 18:42:46 +01:00
Klaus Basan
933fb2d758
[FS9], timer guard "myself"
2020-06-12 18:42:46 +01:00
Klaus Basan
c3aac2f581
[Weather] Ref T786, fixes some values for "thunderstorm" plus some smaller fixes
2020-06-12 18:42:46 +01:00
Klaus Basan
f14184ddc0
Style and minor UI tweaks
2020-06-12 18:42:45 +01:00
Klaus Basan
70f487cd01
Ref T778, turn XCSL models offset NULL into 0 (zero)
2020-06-12 18:42:45 +01:00