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
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
dc790cee8d
Ref T683, FSUIPC calculate CG
2019-09-16 22:39:49 +01:00
Klaus Basan
daeea07090
Ref T683, style
2019-09-16 22:39:49 +01:00
Klaus Basan
71e09b008f
Ref T681, renamed to rememberElevationAndSimulatorCG and style
2019-09-16 22:38:08 +01:00
Klaus Basan
6d490e9a49
Ref T681, preparations to use CG from DB
...
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +01:00
Klaus Basan
718d186e46
Emulated driver UI/situation form size
2019-09-16 20:29:58 +01:00
Klaus Basan
a646e122af
Avoid ASSERT from emulated driver
...
* not all plugins are installed
* use default simulator if there is no simulator info
2019-09-16 20:29:44 +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
7340301c29
No ASSERT when missing callsign/ids, VERIFY is enough
2019-09-16 20:29:41 +01:00
Klaus Basan
2e67b94512
Added P3D v4.5 SimConnect
2019-09-16 20:29:38 +01:00
Klaus Basan
05805f4d89
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
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
b1d265bc0b
Renamed FSX data definition
2019-09-16 20:29:36 +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
Klaus Basan
f1ff410e64
FlightGear, applied agreed style
2019-09-16 20:29:34 +01:00
Roland Rossgotterer
8943db5b2b
Revert "[xSwiftBus] Automatically find and load CSL packages"
...
This reverts commit 61adfefa7a .
2019-05-15 17:19:56 +02:00
Klaus Basan
2e6d415c14
Allow to enable trace for P3D/FSX SB offsets
2019-05-13 11:21:09 +02:00
Klaus Basan
2c4133316a
Minor FSX/P3D style changes
2019-05-13 11:21:07 +02:00
Roland Rossgotterer
61adfefa7a
[xSwiftBus] Automatically find and load CSL packages
...
ref T657
2019-05-13 11:21:05 +02:00
Roland Rossgotterer
99bcee87aa
[FS9] Properly set onground flag when converting situation to FS9
2019-05-13 11:21:04 +02:00
Klaus Basan
dd7930337a
Better detect simExit on FSX, dispatch error just warning in that case
2019-05-13 11:21:03 +02:00
Klaus Basan
669402c7e0
Log simulator status for dispatch errors (FSX/P3D)
2019-05-13 11:21:02 +02:00
Klaus Basan
da2b3e05fd
Minor interpolator improvements, display 2nd invalid version instead of first
2019-05-13 11:21:02 +02:00
Klaus Basan
7d025c6293
Ref T650, also remember SB offset setting
2019-05-13 11:21:01 +02:00
Klaus Basan
b9634f9927
Minor FSX driver updates
2019-05-13 11:21:00 +02:00
Klaus Basan
cbf5c1c445
Ref T650, save FSX/P3D specific settings
2019-05-13 11:20:56 +02:00
Klaus Basan
0cefe1d1e4
Ref T650, simulator setting UI of SimulatedObject can be used
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
Klaus Basan
4522cb5fe5
Ref T650, SimObject can handle SimulatedObject type (compared to NonATC)
2019-05-13 11:20:55 +02:00
Klaus Basan
6d936dc1cc
Ref T650, added FSX SimConnect symbols (funtion names)
2019-05-13 11:20:55 +02:00
Klaus Basan
af0b6a925d
Typo
2019-05-13 11:20:54 +02:00
Lars Toenning
e42a205f5e
Ref T632, porting fix to FG driver
2019-05-13 11:20:50 +02:00
Lars Toenning
d61814f8e9
FG: Add version number check
2019-05-13 11:20:50 +02:00
Lars Toenning
a34b222c3e
Adjusting var names to used units
2019-05-13 11:20:49 +02:00
Lars Toenning
6eeba19f37
Ref T646 Directly getting pressure altitude from FG
2019-05-13 11:20:49 +02:00
Klaus Basan
c56775e815
Ref T637, allow 3 letter ICAOs in FP
...
* strict or lenient airport check
* allow to enter 3 letter ICAO codes in FP
2019-05-13 11:20:48 +02:00
Roland Rossgotterer
d21e9e60e8
Don't stop connection to xswiftbus if versions do not match
...
Keep the version error to bring it to the users attenion and convince him
to upgrade. But let the connection proceed since the interface changes so
rarely.
This also adds version information for swift and xswiftbus sides.
Reviewers: #gatekeepers, msutcliffe
Subscribers: msutcliffe
Maniphest Tasks: T628
Differential Revision: https://dev.swift-project.org/D104
2019-05-13 11:20:47 +02:00
Klaus Basan
6a9de7389a
Guards in emulated driver
2019-05-13 11:20:44 +02:00
Klaus Basan
2519241da8
Ref T632, remove invalid callsigns
2019-05-13 11:20:43 +02:00
Klaus Basan
94a5741537
Ref T632, verify empty callsign
...
THis is the fix:
"if (!simulatedAircraft.hasCallsign()) { continue; } // removed in provider"
2019-05-13 11:20:42 +02:00
Klaus Basan
52ef14b24d
Simulated driver, update rendered aircraft
2019-05-13 11:20:41 +02:00
Klaus Basan
599064fe6c
Use models from centralized model cache
...
* no copy needed
* cache is synchronized when loading models
2019-05-13 11:20:40 +02:00
Klaus Basan
a553dfc708
Ref T632, minor improvements for no callsign
2019-05-13 11:20:40 +02:00
Klaus Basan
9fd3925238
Style
2019-05-13 11:20:40 +02:00
Klaus Basan
927903ec53
XSwiftBus spelling
2019-05-13 11:20:39 +02:00
Klaus Basan
b093d02f49
Bring a modal window back to front when opening a dialog
...
Otherwise it can happen the modal window in background blocks the other UI.
2019-05-13 11:20:39 +02:00
Klaus Basan
9f8f70c22a
Ref T609, set send/receive COM1/2 from P3D/FSK
2019-05-13 11:20:38 +02:00
Klaus Basan
9e1f437326
Use a default simulator for emulated driver to avoid ASSERT
2019-05-13 11:20:37 +02:00
Mat Sutcliffe
7e25360d3c
Ref T603 Different message if xswiftbus version string is empty.
2019-05-13 11:20:32 +02:00