Klaus Basan
5fea046c0b
Style and log messages
2020-01-07 19:46:18 +00:00
Klaus Basan
441ca41ee3
[FS9] Log. messages
2020-01-07 19:46:18 +00:00
Roland Rossgotterer
5efa52cba6
Update aircraft parts in FS9 plugin
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
84248fc1b0
Fix double deletion of CLobbyClient during shutdown
2019-10-18 10:36:24 +02:00
Klaus Basan
b408c8ffed
Style
2019-09-16 22:41:38 +01: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
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
51ce3778b6
FS9 style
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
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
fa6101d02b
Ref T683, use slow updates in FS9 for thins not to be updated every cycle
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
a86e98ca3a
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
2019-09-16 20:29:35 +01:00
Roland Rossgotterer
99bcee87aa
[FS9] Properly set onground flag when converting situation to FS9
2019-05-13 11:21:04 +02:00
Roland Rossgotterer
3c9b2bd833
[FS9] Mark FS9 as not longer experimental
2019-04-11 22:12:07 +01:00
Roland Rossgotterer
3e6b7b07f4
[FS9] Shutdown driver if connection to FSUIPC is lost
2019-04-11 22:12:07 +01:00
Roland Rossgotterer
6a5e59b76a
[FS9] Implement time synchronisation
2019-04-11 22:11:51 +01:00
Roland Rossgotterer
464528da9a
[FS9] Send position and params update right after client is connected
2019-04-11 22:11:51 +01:00
Roland Rossgotterer
e0fe7ab1d0
[FS9] Ignore DirectPlay position updates
...
Those position updates to not contain pressure altitude.
2019-04-11 22:11:51 +01:00
Roland Rossgotterer
6dfd0aff12
Fix gcc warning
2019-04-11 22:11:50 +01:00
Roland Rossgotterer
b0fd4e03b2
Implement CSimulatorFs9::updateOwnSimulatorCockpit
2019-04-11 22:11:49 +01:00
Klaus Basan
0e916864cb
Ref T546, disable provider for FS9
2019-04-11 22:11:31 +01:00
Klaus Basan
bfc7ac97c0
Ref T546, style
2019-04-11 22:11:31 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Roland Rossgotterer
e68693a35e
[FS9] Handle CoInitializeEx being previously called with different flags
2019-02-22 20:36:24 +00:00
Roland Rossgotterer
d6d2c0cc80
[FS9] Stop using Fs9Host and Fs9Client as CContinuousWorkers
...
Both were continuous workers since a blocking IDirectPlay8Peer::SendTo()
method was used. Since we use the default async method now, we don't need
the threaded implementation any longer. It still could happen that GUI
blocks for too long, but that would happen also for other simulator drivers.
ref T433
2019-02-22 20:36:21 +00:00
Roland Rossgotterer
949e013f0b
[FS9] Update DirectPlay SendTo flags to use async and guaranteed delivery
2019-02-22 20:36:21 +00:00
Roland Rossgotterer
fa08c6bf15
[FS9] Enable FSUIPC by default for FS9
2019-02-22 20:36:21 +00:00
Mat Sutcliffe
7cb581f865
Ref T488 Fixed cppcheck warnings.
2019-02-22 20:34:57 +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
Roland Rossgotterer
d639187f91
Convert static common simulator plugins to shared ones
...
Test Plan:
- Check that the new shared libraries are packaged in all platform installers.
- check that plugins are loaded properly on all platforms.
Reviewers: #swift_pilot_client, msutcliffe
Reviewed By: #swift_pilot_client, msutcliffe
Maniphest Tasks: T471
Differential Revision: https://dev.swift-project.org/D79
2019-02-22 20:34:50 +00:00
Klaus Basan
d6fad99474
Ref T437, renamed CFsuipc functions to align with FSUIPC code
2018-11-22 19:55:04 +01:00
Klaus Basan
034525316e
Ref T437, fixed missing update of "m_simTransponder" which caused SB area changes to be ignored
...
* also added SELCAL hints
* sync m_simTransponder
2018-11-22 19:55:04 +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
4ff531c6c4
Fixed CLANG warnings for FS9
2018-11-04 17:43:06 +01:00
Klaus Basan
93bcbc0755
Ref T421, function to get interpolation messages from the simulator drivers
2018-11-04 17:42:47 +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
Roland Winklmeier
3804612bed
Fix the initial weather request in case last position is null
...
calculateGreatCircleDistance returns false immediately if any of the
arguments was null.
ref T324
2018-09-12 17:01:51 +02:00
Klaus Basan
f85c6bcc30
Style and check condition
2018-09-08 15:31:03 +02:00
Klaus Basan
68beaa6d9d
Ref T312, added checkImpl/check in simulator listeners
2018-08-27 18:58:15 +02:00
Klaus Basan
359d56b6f6
Weather uses null altitude, https://swift-project.slack.com/archives/G7GD2UP9C/p1534378412000100
2018-08-16 14:44:14 +02:00
Klaus Basan
e21328a5a6
Style
2018-08-16 14:44:11 +02:00
Roland Winklmeier
a36023f6d8
Add missing copy constructor and assignment operators
2018-08-09 01:25:46 +02:00
Klaus Basan
fbfbdedb65
Ref T294, display simulator internals correctly
...
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
a27f2b3a9c
Style, typos
2018-06-13 14:00:21 +02:00
Klaus Basan
181ed36f3d
Ref T270, interpolator optimization by passing aircraft number
...
Rational: Except for FS9 we interpolate all aircraft in one loop at the same time. This can cause that some steps are always done at the same time for all aircraft of that loop. By passing the number we can more equally distribute such tasks, avoiding peaks.
2018-06-13 13:59:39 +02:00
Roland Winklmeier
4aaccb44c3
Cleanup the enabled modules in all sub projects
...
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
a3f12a866b
Hint that FS9 is experimental
2018-05-22 13:23:57 +02:00
Klaus Basan
2ae8f5b03f
Ref T270, added CSimulatorPluginCommon as base class in driver project
...
* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
2018-05-18 00:25:11 +02:00