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
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
fc2f7b4a12
Ref T683, move "m_ownAircraftUpdateCycles" one level up so it can be used in FS9
2019-09-16 22:39:50 +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
2e6d415c14
Allow to enable trace for P3D/FSX SB offsets
2019-05-13 11:21:09 +02:00
Klaus Basan
7d025c6293
Ref T650, also remember SB offset setting
2019-05-13 11:21:01 +02:00
Klaus Basan
cbf5c1c445
Ref T650, save FSX/P3D specific settings
2019-05-13 11:20:56 +02:00
Klaus Basan
680c47074f
Ref T650, driver class support for SimulatedObject type AI aircraft
...
* use SimulatedObject object if NON ATC type failed (for helicopters)
* SimObject can handle SimulatedObject type (compared to NonATC)
* Send ATC data to simulator
2019-05-13 11:20:56 +02: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
7f7cf2e031
Ref T436, underflow detection for FSX
...
* utility functions
* force gnd flag to avoid underflow
2018-11-22 19:55:04 +01:00
Klaus Basan
7bd3d2793e
Ref T437, FSX common improvements
...
* some SB area fixes like SIMCONNECT_CLIENT_DATA_SET_FLAG_DEFAULT
* use either SB area or FSUIPC
* also write XPDR via FSUIPC
2018-11-22 19:55:03 +01:00
Klaus Basan
82467da45b
Ref T436, correct file name handling (UNC) and validate FSX position
2018-11-22 19:55:03 +01:00
Klaus Basan
10b242cec8
Ref T437, update cockpit from FSUIPC
2018-11-22 19:55:03 +01:00
Klaus Basan
ebde8e7360
Ref T436, style
2018-11-22 19:55:03 +01:00
Klaus Basan
22f17bec44
Ref T437, renamed SB4 to SB3 (as the extension was already available in SB3)
2018-11-22 19:55:02 +01: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
212460f676
Ref T410, simConnectProc / FsxCommon SB area
...
* count number of received data
* set network and SB running flag
2018-11-05 01:39:51 +01:00
Klaus Basan
e98a420d5d
Improved FSX/P3D time sync
2018-11-05 01:39:51 +01: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
38bd626638
Exclude emulated driver from FSX settings as this will cause issues
...
The emulated driver looks like P3D/FSD, but is a different class
2018-11-04 17:42:47 +01:00
Klaus Basan
35b8b29d10
Ref T410, preparation and UI adjustments
...
Foo
2018-11-04 17:42:43 +01:00
Klaus Basan
177ee27654
Make FSUIPC/SB offsets configurable
...
* based https://swift-project.slack.com/archives/CC6THKCAZ/p1538387046000100
* "dot" commands added
* Plugin settings
2018-10-05 17:39:57 +02:00
Klaus Basan
e0594271f1
Ref T379, use own "toFsxChar" conversion so we can adjust it
2018-10-05 17:39:57 +02:00
Klaus Basan
5323cb09d7
Ref T372, fixed freeze so aircraft is really stable
...
see https://swift-project.slack.com/archives/G96QTUBEG/p1537784648000100
2018-09-25 02:14:03 +02: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
22160c146e
Ref T370, further remove models improvements
...
* timer checks not only for add, but also for remove
* renamed to facilitate changes
2018-09-23 20:12:47 +02:00
Klaus Basan
754049971d
Ref T357, Ref T348, probe improvements
...
- release AI also traces id
- info that probe is disabled in error case
2018-09-17 18:28:46 +02: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
42f6cd9d30
Ref T348, FSX common improvements
...
- listener only logs changed messages
- changed name of terrain probe object to "water drop" (other object is not available on P3D x86)
- reset timestamp when adding pended
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:19 +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
409cc6c164
Ref T335, FSX/P3D improvements
...
- eceptions for an added object will be handled, retry once, then disable
- add/directly remove agains tried twice, then disabled
- disable aircraft in severe cases
- adjusted signal, indicate aircraft was enabled
2018-09-12 20:28:55 +02:00
Klaus Basan
bbd6a70162
Ref T335, improve FSX/P3D probe/aircraft handling
...
- probes handled in same sim object list as aircraft
- init probes at beginning, probes can be disabled
- better handle SIMCONNECT_EXCEPTION_CREATE_OBJECT_FAILED:
- CSimulatorFsxCommon::verifyAddedTerrainProbe
- use "SimConnect_AICreateSimulatedObject" for probes
2018-09-09 02:54:41 +02:00
Klaus Basan
68beaa6d9d
Ref T312, added checkImpl/check in simulator listeners
2018-08-27 18:58:15 +02:00
Klaus Basan
44d9fa35a4
Ref T307, logAndTraceSendId as traceable function for SimConnect calls
...
* ts for tracing now time + offset
* SimConnect calls will be traced
2018-08-21 22:10:24 +02:00
Klaus Basan
3a7519f4bd
Ref T307, style
2018-08-21 22:10:23 +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
83e2fcf85e
FSX listener adjustments, timer requires "this" parent here
...
https://swift-project.slack.com/archives/G7GD2UP9C/p1534445228000100
2018-08-16 21:08:02 +02:00
Klaus Basan
7d2c063aba
Clang QtC warnings fixed for FSX common
2018-08-16 14:44:13 +02:00
Klaus Basan
e904a288ad
Ref T268, statistics functions moved to interface
2018-07-09 22:30:52 +02:00
Klaus Basan
8a0b76e6d9
Use string conversion for FSX listener
2018-07-09 22:30:40 +02:00
Klaus Basan
2798d36435
Ref T275, FSX/P3D obtain model string and CG when model is added and set it in the providers
2018-07-09 22:30:23 +02:00
Klaus Basan
1f689a8830
Ref T275, Ref T280, Ref T245 FSX simulator improvements
...
* request model info
* stricter checks (asserts)
* display simulator debug messages in simulator view (not as normal status message)
2018-07-09 22:30:16 +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
abdecaf9d8
Ref T275, count simconnectProc calls and how often it was doing nothing
2018-06-27 12:49:06 +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
69193f089a
Minor tweaks, style
2018-06-25 02:04:35 +02:00
Klaus Basan
d864789890
Ref T280, FSX/P3D also measure time of inner SimConnectProc to see if SimConnect_CallDispatch has any influence
2018-06-18 03:04:51 +02:00