Klaus Basan
19ec4c3cf1
Ref T357, FSX settings component allows to copy terrain probe via context
2018-09-17 18:28:45 +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
8e4369b41c
Ref T348, style/removed unused function
2018-09-17 18:28:26 +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
0e1cf965e1
Ref T348, preset terrain probe checkbox
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:18 +02:00
Klaus Basan
849bc0b9d0
Ref T348, style
2018-09-17 18:28:15 +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
bea69e682e
Trigger FSX/P3D send id tracing always for an exception
2018-09-17 18:28:10 +02:00
Klaus Basan
44b1273085
UI FSX settings component
2018-09-12 20:30:32 +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
3ee17120b7
Ref T335, improved CSimConnectObject
...
- support for outdated objects
- count exceptions/directly removed incidents
2018-09-12 17:40:57 +02:00
Roland Winklmeier
3804612bed
Fix the initial weather request in case last position is null
...
calculateGreatCircleDistance returns false immediately if any of the
arguments was null.
ref T324
2018-09-12 17:01:51 +02:00
Klaus Basan
b1013b6c66
Ref T335, UI to enable/disable terrain probe
2018-09-09 02:55:12 +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
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
97f5661690
Comment for driver added
2018-09-08 15:36:21 +02:00
Klaus Basan
b4e17ed091
Ref T322, renamings
2018-09-08 15:36:21 +02:00
Klaus Basan
f85c6bcc30
Style and check condition
2018-09-08 15:31:03 +02:00
Klaus Basan
a062607520
Ref T317, fix CLANG warning for SimConnect
...
- casting functions in "simconnectfunctions.h"
- using correctly casted values
- some other smaller fixes
2018-09-01 20:13:56 +02:00
Klaus Basan
dc1613d600
Fixed "geometry warning"
2018-09-01 03:11:42 +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
68beaa6d9d
Ref T312, added checkImpl/check in simulator listeners
2018-08-27 18:58:15 +02:00
Roland Winklmeier
597283dde1
Only link to SimConnect SP1 and XPack
...
SimConnect RTM is missing two important symbols:
- SimConnect_Text
- SimConnect_SubscribeToFacilities
Therefore remove it from the probing list.
2018-08-22 13:23:10 +02:00
Roland Winklmeier
53bb5aa9d9
Fix clang warnings
2018-08-22 13:23:10 +02:00
Klaus Basan
536cf15d37
Ref T307, style/messages
2018-08-22 12:31:59 +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
4850e20160
Ref T307, request/object id are DWORD (unsigned)
2018-08-22 12:31:56 +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
cbb0805c7e
Style
2018-08-19 14:31:47 +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
359d56b6f6
Weather uses null altitude, https://swift-project.slack.com/archives/G7GD2UP9C/p1534378412000100
2018-08-16 14:44:14 +02:00
Klaus Basan
7d2c063aba
Clang QtC warnings fixed for FSX common
2018-08-16 14:44:13 +02:00
Klaus Basan
e21328a5a6
Style
2018-08-16 14:44:11 +02:00
Klaus Basan
3a09749103
UI for FSX settings adjustments
2018-08-16 14:44:08 +02:00
Roland Winklmeier
5a5fffa08c
Test and report if any SimConnect symbol could not be loaded
2018-08-16 14:33:58 +02:00
Roland Winklmeier
ce99c0535f
Check if SimConnect was properly loaded before attempting to use it
...
This commit adds a check that loadAndResolveSimConnect actually succeeds and
moves it right before SimConnect_Open is called.
The method itself was improved to check whether symbols got loaded already
in a previous run, before doing everything again.
2018-08-16 14:33:57 +02:00
Klaus Basan
fbfbdedb65
Ref T294, display simulator internals correctly
...
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
88098dddf7
Ref T268, allow to log loopback situations
...
* those are situations reported back from simulator
* and can be logged
2018-07-19 02:52:06 +02:00
Roland Winklmeier
b16af78142
Load SimConnect dynamically at runtime.
...
Previously the FSX/P3D driver tried to link a very specific SimConnect version
from the Windows Assembly cache. This caused issues with machines
which did not have this specific version of SimConnect in the assembly
cache since drivers refused to load without much information. Having a different
version of SimConnect in the assembly cache or even in the bin folder did
not help.
To fix this problem, SimConnect is now loaded and resolved manually at
runtime. This allows to try loading different versions from the assembly
cache or prefer to load the shipped one.
For this, the manifests are linked into the binary's resource section and
activated manually before loading. This has the positive effect, that
loading errors can be handled by code instead of raising a cryptic error and
aborting.
2018-07-12 18:29:45 +02:00
Klaus Basan
e904a288ad
Ref T268, statistics functions moved to interface
2018-07-09 22:30:52 +02:00
Klaus Basan
a21a510d82
Use Non ATC aircraft
2018-07-09 22:30:45 +02:00
Klaus Basan
8a0b76e6d9
Use string conversion for FSX listener
2018-07-09 22:30:40 +02:00
Klaus Basan
ac406d43f6
Ref T286, renaming / adding utility functions in simulator info
2018-07-09 22:30:24 +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
c168262159
Ref T275, utility functions in simulated aircraft, sim object ..
2018-07-09 22:30:21 +02:00
Klaus Basan
6bcded9264
Style
2018-07-09 22:30:20 +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