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
Klaus Basan
9baa10c5f8
Style
2018-07-09 22:30:14 +02:00
Klaus Basan
7a4f723fc0
Fixes so that P3D code compiles on Win32 (FSX)
2018-07-03 21:02:31 +02:00
Klaus Basan
b7df378868
Minor fixes include order
2018-06-27 12:49:17 +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
dff5c90853
Ref T275, move simulator info into env. provider
2018-06-27 12:49:05 +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
e90027e3fc
Ref T280, using "result.getPartsStatus().isReusedParts"
2018-06-20 00:58:38 +02:00
Klaus Basan
2c55015d26
Ref T275, ctor and option to check if gnd elevation "is better"
2018-06-18 20:55:06 +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
Klaus Basan
9777bf963c
Style
2018-06-18 03:04:32 +02:00
Klaus Basan
2b3b0bd9ee
Ref T275, FSX/P3D check if SimObject has been removed
2018-06-18 03:04:19 +02:00
Klaus Basan
c5fb428fa9
Ref T280, using the QHash<CCallsign, T> definitions to unify use cases
2018-06-14 14:40:16 +02:00
Klaus Basan
444c7a18ba
Ref T275, use getSimObjectForObjectId / getProbeForObjectId
...
* added getProbeForObjectId
* used getSimObjectForObjectId where not yet used
2018-06-13 14:00:31 +02:00
Klaus Basan
6f5b4c5de8
Ref T275, used "pending" function (FSX/P3D) to check if we can request position data
2018-06-13 14:00:30 +02:00
Klaus Basan
db8939c499
Ref T275, isShuttingDownOrDisconnected as stricter check
2018-06-13 14:00:25 +02:00
Klaus Basan
44f01d8d97
Ref T275, asynchronous version triggerUpdateRemoteAircraftFromSimulator and only fast updates for moving aircraft
2018-06-13 14:00:24 +02:00
Klaus Basan
a27f2b3a9c
Style, typos
2018-06-13 14:00:21 +02:00
Klaus Basan
4975ecd712
Ref T275, improved tracing for FSX
...
* getStatisticsSimulatorSpecific for simulator specific traces/logs
* trace CSimulatorFsxCommon::SimConnectProc times
* trace which receive id is handled in SimConnectProc
* allow to limit aircraft updates (max FPS)
* handle airport updates outside SimConnectProc
2018-06-13 14:00:19 +02:00
Klaus Basan
bdf58ff538
Ref T275, utility functions to trace request ids
2018-06-13 14:00:18 +02:00
Klaus Basan
f728efb3be
Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
...
Remark: See also https://swift-project.slack.com/archives/G7GD2UP9C/p1528277800000196
2018-06-13 14:00:07 +02:00