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
Klaus Basan
0808cdb223
Ref T261, further unify interpolator handling
...
* return interpolation results parts/situation in one step
* base class init for each interpolation step, less redundant code
* removed old interpolation/parts function
* adjusted unit tests and simulator objects (such as SimObject)
2018-05-08 16:06:52 +02:00
Klaus Basan
3d2a74a652
Ref T261, interpolator mode is now part of setup
...
* added attribute in setup
* adjusted UI
* adjusted interpolator / simulator functions
2018-05-08 16:06:49 +02:00
Klaus Basan
3031e5b648
Ref T261, set client provider in simulator
...
Needed to obtain client capabilities
2018-05-08 16:06:48 +02:00
Klaus Basan
a7f1e15f39
Ref T259, Ref T243 pass the providers along the hierarchy
2018-04-13 23:37:49 +02:00
Klaus Basan
785e35ee88
Formatting
2018-04-13 23:37:48 +02:00
Klaus Basan
9abc57bb3d
Ref T259, Ref T243 remove aircraft parts and situations from interpolator
...
* no longer using the add parts/situations signals
* will use the remote aircraft provider parts directly
Result: all parts/situations are stored only once in memory and in one single place
2018-04-13 23:37:37 +02:00
Klaus Basan
0c06ac26f7
Ref T259, Ref T243 removed interpolation hints
...
* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
2018-04-13 23:37:18 +02:00
Klaus Basan
b8de29201a
Ref T259, Ref T243 adjusted simulator classes to use new setup provider
2018-04-13 23:36:42 +02:00
Klaus Basan
011f31ad2b
Formatting
2018-04-13 23:36:37 +02:00
Klaus Basan
55534cbb09
Formatting
2018-04-13 23:36:12 +02:00
Klaus Basan
4b7237ce1b
Ref T259, Ref T243 adjusted providers to use common base classes
2018-04-06 02:56:57 +02:00
Klaus Basan
9517ce7d7c
Ref T259, formatting
2018-04-05 02:52:50 +02:00
Klaus Basan
897a6f301f
Ref T232, aircraft can be re-added or removed via "dot-commands"
...
* can be used for testing
* utility functions to find inconsistent aircraft states
* reset highlight state
2018-01-30 20:31:59 +01:00
Klaus Basan
3ee5e68054
Ref T238, comments and formatting
2018-01-30 20:31:56 +01:00
Klaus Basan
dac1ee85f9
Ref T232, some (dispatch) timer code was duplicated
...
* fixed a bug, where a non existing timer was killed
* unified code in base class
2018-01-30 20:30:20 +01:00