Klaus Basan
46d417c5a2
Ref T778, style and comments, debug hints
2020-06-12 18:42:43 +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
4522cb5fe5
Ref T650, SimObject can handle SimulatedObject type (compared to NonATC)
2019-05-13 11:20:55 +02:00
Klaus Basan
5c46fa3afa
CLANG style
2019-04-11 22:11:39 +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
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
b6ce9e0408
Ref T245, a P3D version of follow aircraft, still experimental
...
* testing approaches camera, observer, and guessing view name
* SimObject code for camera/observer
* functions aircraft situation -> FSX formats
2018-11-04 17:42:48 +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
c26af17b2f
Ref T348, probe improvements
...
* use oldest probe (round robin)
* only init probes once
* release AI control for probes
2018-09-17 18:28:28 +02:00
Klaus Basan
8e4369b41c
Ref T348, style/removed unused function
2018-09-17 18:28:26 +02:00
Klaus Basan
13ebf6bafe
Ref T348, updated utility functions in CSimConnectObject/CAircraftCfgEntriesList, also fixed bug that type need to be updated to probe setting when aircraft changes
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:14 +02:00
Klaus Basan
fe86f1a2db
Ref T348, "verify model" functions moved to FSX common
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:11 +02:00
Klaus Basan
3ee17120b7
Ref T335, improved CSimConnectObject
...
- support for outdated objects
- count exceptions/directly removed incidents
2018-09-12 17:40:57 +02:00
Klaus Basan
2020c04f52
Ref T335, improved probe support for CSimConnectObject/CSimConnectObjects. We will no longer use 2 separate object lists for probes/aircraft.
2018-09-09 02:54:39 +02:00
Klaus Basan
a10e31e36e
Ref T317, detect the special states
...
* pending added, but removed
* pending removed, but added again
2018-08-31 20:08:11 +02:00
Klaus Basan
a1470200eb
Ref T307, using "isReadyToSend" to detect if we can send AI object updates
2018-08-22 12:31:58 +02:00
Klaus Basan
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +02:00
Klaus Basan
b7df378868
Minor fixes include order
2018-06-27 12:49:17 +02:00
Klaus Basan
7a745d2ce6
Ref T275, improved request id handling for FSX/P3D
...
* base reange for request IDs
* all operations use offsets
* we can conclude what an id is used for (debugging)
plus
* minor Doxygen fixes
* some renamings
2018-06-27 12:49:11 +02:00
Klaus Basan
e9e68de255
Ref T245, experimental camera support for P3D
...
* removed deprecated functions of SimObject
* specific P3D initEvent function
2018-06-27 12:49:03 +02:00
Klaus Basan
6f5b4c5de8
Ref T275, used "pending" function (FSX/P3D) to check if we can request position data
2018-06-13 14:00:30 +02:00
Klaus Basan
8f336a9631
Ref T273, Ref T275 FSX/P3D uses simulator common function to skip sending equal parts/situations
2018-06-13 13:59:57 +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
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
1f3e5c6abf
Formatting, minor tweaks
2018-05-08 16:06:43 +02:00
Klaus Basan
efac4f1f27
Ref T260, added functions for probes to CSimConnectObject
2018-05-08 16:06:37 +02:00
Klaus Basan
f1faeef84a
Ref T259, Ref T243 added functions to use guessed parts in
...
* sim object
* XPlane aircraft
* forward aircraft model to interpolator for guessing
2018-05-08 16:06:32 +02:00
Klaus Basan
52dd7a754c
Ref T259, Ref T243 access to last interpolated situation to check if near ground
2018-05-04 23:03:08 +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
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
333a92ff63
Ref T259, Ref T243 renaming to CInterpolationAndRenderingSetupPerCallsign
2018-04-13 23:36:34 +02:00
Klaus Basan
5f7842163b
Ref T231, Ref T232 utility functions
2018-01-30 20:31:09 +01:00
Klaus Basan
2fbc7acc7d
Ref T229, track sent position in SimObject
2018-01-30 20:29:51 +01:00
Klaus Basan
868ae7ec74
Ref T180, stop requesting data when aircraft is removed
2017-11-09 20:02:58 +01:00
Klaus Basan
02c45588c3
Ref T180, CSimConnectObject improvements / added CSimConnectObject::getInterpolatedParts
2017-11-09 20:02:54 +01:00
Klaus Basan
fa50e6a8ea
Ref T180, formatting
2017-11-09 20:02:40 +01:00
Klaus Basan
822ef11c02
Ref T180, formatting
2017-11-09 04:42:11 +01:00
Klaus Basan
40dcd9c167
Ref T180, remove aircraft
...
* utility function getAllCallsigns
* allow to trace sendId (in removing)
* make sure aircraft are not added again by upfront clearing lists
2017-11-09 04:42:09 +01:00
Klaus Basan
924d4aab7f
Ref T180, get interpolated situation utility function in CSimConnectObject, returning the aircraft situation if there is no interpolation value
2017-11-04 21:44:44 +01:00
Klaus Basan
e5261c3e99
Ref T180, added utility function getInterpolatorInfo() allowing to log some info about interpolator
2017-11-04 21:44:42 +01:00
Klaus Basan
d5bb1733f4
Ref T180, formatting / const
2017-11-04 16:03:40 +01:00
Klaus Basan
61a23d700b
Ref T171, driver formatting
2017-10-18 22:58:22 +02:00
Klaus Basan
6d26c96569
Ref T27, preparation for refactoring, turned private slots into normal member functions
...
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Klaus Basan
3a6df31c99
refs #916 , interpolator mode utility functions for SimObjects
2017-04-18 00:00:56 +01:00
Mathew Sutcliffe
6e488533f5
refs #896 Using CInterpolatorMulti in simulator drivers.
2017-04-18 00:00:30 +01:00
Klaus Basan
03b8739158
refs #895 , add initial parts when aircraft is added in FSX
...
plus some utility functions
2017-04-17 23:58:09 +01:00
Klaus Basan
8b1c8c068b
refs #895 , reset to "invalid" sentParts when object is added
...
(makes sure the parts are sent at least once)
2017-04-17 23:57:58 +01:00
Klaus Basan
4a0ddfb5d1
refs #895 , renamed data structure to DataDefinitionRemoteAircraftPartsWithoutLights
2017-04-17 23:57:53 +01:00