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
08d7cddfe5
Style
2019-09-16 22:40:40 +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
7b03ed5aec
Ref T554, signal if auto publish data are written
2019-09-16 22:40:07 +01:00
Klaus Basan
16e19ad6d3
Fixed typo, style
2019-09-16 22:40:07 +01:00
Klaus Basan
6cefb5175d
Avoid issues if simulator is NOT yet set in emulateed driver
2019-09-16 22:39:54 +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
6d490e9a49
Ref T681, preparations to use CG from DB
...
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +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
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
d8729cea1e
Ref T668, CG override per "dot" command
2019-05-23 13:00:26 +02:00
Roland Rossgotterer
a7509669f9
Refactor crashpad initialization
...
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
94e65e3bc4
No ASSERT without callsign, just VERIFY/ignore
...
https://discordapp.com/channels/539048679160676382/568904623151382546/575712119513677826
2019-05-13 11:21:01 +02:00
Klaus Basan
57c6d8ac77
Ref T623, ignore/unignore dot command
2019-05-13 11:20:45 +02:00
Klaus Basan
275006dad4
Ref T632, more detailled entry check for adding a remote aircraft (finds empty callsign)
2019-05-13 11:20:41 +02:00
Klaus Basan
303e8b0f88
Ref T632, in snapshot avoid to add aircraft which are no longer in range
2019-05-13 11:20:41 +02:00
Klaus Basan
989c998e66
Also log rendering setup in crashinfo
2019-05-13 11:20:41 +02:00
Klaus Basan
22f140a494
Write info about the weather into the crashinfo file
2019-05-13 11:20:40 +02:00
Klaus Basan
599064fe6c
Use models from centralized model cache
...
* no copy needed
* cache is synchronized when loading models
2019-05-13 11:20:40 +02:00
Klaus Basan
48da5da393
Avoid crash during shutdown
2019-04-11 22:12:04 +01:00
Klaus Basan
daf39a9835
Ref T554, FSX/P3D use "rememberElevationAndCG" for CG, so also auto publish info is written
2019-04-11 22:11:44 +01:00
Klaus Basan
b57003c4e8
Style, typo
2019-04-11 22:11:35 +01:00
Klaus Basan
6ca6d12851
Added "isWeatherActivated" based on the discussion with LT
2019-04-11 22:11:34 +01:00
Klaus Basan
961afa531b
Ref T554, collect auto-publish data in simulator
2019-04-11 22:11:33 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
dd655bcb25
Ref T486 Using QRandomGenerator.
2019-02-22 20:34:53 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
2019-02-22 20:23:46 +00:00
Mat Sutcliffe
333ea1b8df
Fixed clazy warnings: empty QStringLiteral.
2019-02-22 20:23:32 +00:00
Klaus Basan
cb422d72cf
Misc. style issues interpolation/model adding
2018-11-22 19:55:02 +01:00
Klaus Basan
b452cd7530
Ref T410, show number of SB4 packets received under simulator/information
2018-11-16 02:49:55 +01:00
Klaus Basan
3eb46690c0
Removed clamped messages
2018-11-16 02:49:55 +01:00
Klaus Basan
64b0ec87b1
Ref T423, changed strategy to force position updates
...
* force update for "some time", and remove all sent information
* no longer update some cycles, but for some time
* updated FSX/P3D/XPlane drivers
2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1
Detect emulated driver before casting to avoid crashs
2018-11-16 02:49:51 +01:00
Klaus Basan
2b8e388ba1
Ref T423, force update if simulator was paused or interrupted before
...
* force full updates for some cycles "m_updateAllRemoteAircraftCycles"
* only use "emitSimulatorCombinedStatus" to emit changed simulator status
* renamed to "finishUpdateRemoteAircraftAndSetStatistics"
* override "forced" in "getInterpolationSetupConsolidated"
This addresses the issue that aircraft appear below ground after moving the aircraft
2018-11-06 01:41:47 +01:00
Klaus Basan
4d7ca00324
Ref T421, interpolation log message follow up, deprecated "clampedLog"
2018-11-05 01:39:51 +01:00
Klaus Basan
a871579479
Ref T370, added public removeAllRemoteAircraft
...
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +02:00
Klaus Basan
dcefa88133
Display plugin name if simulator info is not available
2018-09-24 00:51:38 +02:00
Klaus Basan
527f666d1f
Ref T370, remove models from FSX/P3D
...
* clearAllRemoteAircraftData also removes aircraft (from simulator)
* debugVerifyStateAfterAllAircraftRemoved only makes sense if removing aircraft and then emit the messages
2018-09-23 20:12:32 +02:00
Klaus Basan
da2a7f6506
Ref T348, get specialized settings
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Klaus Basan
a6499751f0
Ref T335, style/messages
2018-09-12 17:40:46 +02:00
Klaus Basan
7e9f3a6c7f
Ref T342, distance of airport can be recalculated
2018-09-12 17:40:38 +02:00
Klaus Basan
55690846fe
Ref T312, ignore not running listeners checking again via button
2018-09-08 15:36:25 +02:00
Klaus Basan
2c1055cc2e
Ref T312, fixed thread safety of listeners start/stop/check
2018-08-27 18:58:23 +02:00
Klaus Basan
1d7b3bd180
Ref T312, simulator factory not copyable plus check function (bypassing timer)
2018-08-27 18:58:14 +02:00
Klaus Basan
d7b1ed8d31
Hint for simulator if network is connected (slightly related T307)
2018-08-19 14:31:56 +02:00
Klaus Basan
6897abe912
Style, singleShot guard, Doxygen
2018-08-09 01:38:52 +02:00