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
4850e20160
Ref T307, request/object id are DWORD (unsigned)
2018-08-22 12:31:56 +02:00
Klaus Basan
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +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
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
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
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
f95eadd748
Ref T180, interpolator provides default situation on its own, no need to check
2017-11-09 04:42:13 +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
df3dbff8e3
Ref T180, directly add parts/situation in CSimConnectObject ctor
2017-11-04 21:44:17 +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
Mathew Sutcliffe
a89e042ff8
Prevent inserting default-constructed elements in CSimulatorFsxCommon::m_simConnectObjects.
...
Hopefully this fixes null pointer dereference of CSimConnectObject::m_interpolator.
2017-05-14 15:04:31 +01: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
d3e49d4cf1
refs #863 , enabled spline interpolator for FSX
2017-04-17 23:57:44 +01:00
Klaus Basan
70045c046d
refs #891 , moved common parts for FSX/P3D to fsxcommon
...
* driver / listener common parts
* config common parts
2017-04-17 23:57:14 +01:00