Klaus Basan
495312019d
Smaller improvements in matching messages/style
2019-07-16 20:22:38 +02:00
Klaus Basan
0be7dafdd2
Renamed function id Directory utils and added string only version
2019-07-16 20:22:37 +02:00
Klaus Basan
a0d5fcdf42
Minor performance improvement of subdir check
...
* follow T689
* no need to always get and init simulator directory as it will not change
2019-07-01 19:32:46 +02:00
Klaus Basan
0f9f088d98
Added network to UNIT tests (needed for CUrl
...
Other includes where needed
2019-06-30 23:52:20 +02:00
Mat Sutcliffe
b3be42da45
fixup! Ref T689 Add validation that XP model directories are within the XP sim directory.
2019-06-29 15:36:35 +01:00
Mat Sutcliffe
982861f132
Ref T689 Add validation that XP model directories are within the XP sim directory.
2019-06-26 22:08:51 +01:00
Roland Rossgotterer
7b9d94f78c
[GFS] Properly validate cloud pressure levels
...
For some reason, the parser returned 0.0 instead of 9.998e20 for undefined values.
Atmospheric pressure levels cannot be lower than 1000, hence use this as the lower boundary.
In all other circumstances, the pressure level needs to be set (either to real value or to nan) for the follow up code to detect undefined values.
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
4ff449a4d3
[GFS] Handle added parameters in GFS 0.25 files
...
Template 4.0 did not use to have TCDC, PRATE, CSNOW and CRAIN parameters. Ignore them for now.
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
e60fc6730c
[GFS] Update NOAA GFS download url to reflect new directory query
2019-06-25 23:57:45 +02:00
Roland Rossgotterer
54d406d620
Style
2019-06-25 23:57:44 +02:00
Lars Toenning
1837815f30
Ref T686 Adding check for model set before adding plane to FG.
2019-06-19 17:09:45 +02:00
Klaus Basan
1ae585fc9d
Avoid issues if simulator is NOT yet set in emulateed driver
2019-06-16 03:03:04 +02:00
Klaus Basan
c893e0fa2b
Ref T683, moved m_skipCockpitUpdateCycles to FS common so it can be used with P3D/FSX and FS9
2019-06-13 17:37:29 +02:00
Klaus Basan
bddbc1a690
Ref T683, use slow updates in FS9 for thins not to be updated every cycle
2019-06-13 17:37:28 +02:00
Klaus Basan
bf8de29762
Ref T683, "updateOwnSituationAndGroundElevation"
...
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-06-13 17:37:28 +02:00
Klaus Basan
85eae8c8cb
Ref T683, move "m_ownAircraftUpdateCycles" one level up so it can be used in FS9
2019-06-13 01:18:10 +02:00
Klaus Basan
43f3ac8a4e
Ref T683, FSUIPC calculate CG
2019-06-13 01:18:09 +02:00
Klaus Basan
24e9ffb398
Ref T683, style
2019-06-13 01:18:09 +02:00
Klaus Basan
1a9ec78bb3
Ref T681, renamed to rememberElevationAndSimulatorCG and style
2019-06-13 01:18:07 +02:00
Klaus Basan
86431a46c7
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-06-13 01:18:05 +02:00
Klaus Basan
b898846352
Emulated driver UI/situation form size
2019-06-09 01:02:46 +02:00
Klaus Basan
b07488c732
fixup! Avoid ASSERT from emulated driver
2019-05-26 00:23:45 +02:00
Klaus Basan
f33ffc32be
Avoid ASSERT from emulated driver
...
* not all plugins are installed
* use default simulator if there is no simulator info
2019-05-25 23:14:33 +02:00
Klaus Basan
d6ac08c4ee
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-05-25 17:10:35 +02:00
Klaus Basan
0690750d16
No ASSERT when missing callsign/ids, VERIFY is enough
2019-05-25 03:35:49 +02:00
Klaus Basan
8409ac19d6
Added P3D v4.5 SimConnect
2019-05-25 03:35:48 +02:00
Klaus Basan
a1af715868
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-05-25 03:35:38 +02:00
Klaus Basan
4cdbb1f831
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-05-23 13:13:01 +02:00
Klaus Basan
69d33eae75
Renamed FSX data definition
2019-05-23 13:13:01 +02:00
Klaus Basan
03fce676be
Ref T669, also interpolation Ref T668, remove last sent values if aircraft is removed
2019-05-23 13:13:00 +02:00
Klaus Basan
8e22bc0ced
FlightGear, applied agreed style
2019-05-23 13:13:00 +02: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