Commit Graph

6140 Commits

Author SHA1 Message Date
Klaus Basan
f2820d81a4 Ref T286, multi caches/setting utility functions to check other versions 2018-07-09 22:30:34 +02:00
Klaus Basan
a2bca21715 Ref T286, moved server settings into "network" namespace (not VATSIM specific) 2018-07-09 22:30:33 +02:00
Klaus Basan
2da0186dd2 Ref T286, "humanReadable" functions 2018-07-09 22:30:32 +02:00
Klaus Basan
698c8871bc Ref T286, utility functions for copy caches/settings 2018-07-09 22:30:31 +02:00
Klaus Basan
fa09a6e53b Ref T286, JSON utility functions 2018-07-09 22:30:30 +02:00
Klaus Basan
3b371d3177 Ref T286, static JSON functions for container 2018-07-09 22:30:29 +02:00
Klaus Basan
07a47923d8 View minor fix for "row selected" 2018-07-09 22:30:27 +02:00
Klaus Basan
61e2ffb7da Ref T286, signal for "other swift version" 2018-07-09 22:30:26 +02:00
Klaus Basan
50858a33e4 Special names for CMD args so it can be debugged if something goes wrong 2018-07-09 22:30:25 +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
ca87784509 Ref T275, remember CG per model string 2018-07-09 22:30:22 +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
7e8c0cc99d Fixes: emit signals at end and check sGui 2018-07-09 22:30:19 +02:00
Klaus Basan
b551aaf874 Ref T275, Ref T280, airspace monitor improvements
* improved when when we add aircraft by waiting for at least 2 positions
* reset rendered flag
* check ecosysstem
2018-07-09 22:30:18 +02:00
Klaus Basan
8898bf6be5 Ref T285, allow to re-init all aircraft
* aircraft will be removed, then added again as new
* this will go thru the full cycle and matching
2018-07-09 22:30:17 +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
c1208dd68c Return const & 2018-07-03 21:02:32 +02:00
Klaus Basan
7a4f723fc0 Fixes so that P3D code compiles on Win32 (FSX) 2018-07-03 21:02:31 +02:00
Klaus Basan
f4d40b2d39 Ref T285, applied new style (private instead private slots) and Qt::QueuedConnection in mapping component 2018-06-27 12:49:18 +02:00
Klaus Basan
b7df378868 Minor fixes include order 2018-06-27 12:49:17 +02:00
Klaus Basan
eaa40e8289 Per default enable matching log 2018-06-27 12:49:16 +02:00
Klaus Basan
40582fcf59 Some smaller fixes in prephase of T285 2018-06-27 12:49:15 +02:00
Klaus Basan
7bb6d84e93 Fixed "random integer", RAND_MAX applies to diff of high/low, not high 2018-06-27 12:49:13 +02:00
Klaus Basan
350d7257c2 Ref T275, unit tests for FSX/P3D
In that very case testing the offsets for request ids
2018-06-27 12:49:12 +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
e6ac7eb4df Add Qt += network 2018-06-27 12:49:09 +02:00
Klaus Basan
bc0b4502cf Ref T275, move some simple implementations into ISimulator
Goal: merge CSimulatorCommon/ISimulator
2018-06-27 12:49:08 +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
e46076afa5 Externals P3D V4.2 2018-06-21 17:46:32 +02:00
Klaus Basan
7b4733fbdd Ref T275, adjusted setup component
* ignore "same as global"
* Qt::QueuedConnection
2018-06-21 00:53:42 +02:00
Klaus Basan
d3796fc65a Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign" 2018-06-20 00:58:47 +02:00
Klaus Basan
b0c54b4a9f Better detect debugger attached in watchdog 2018-06-20 00:58:46 +02:00
Klaus Basan
fc1a2bbb0f Ref T275, Ref T280, avoid nan (not a number) values in PQs/elevation 2018-06-20 00:58:45 +02:00
Klaus Basan
d99a7639e8 Ref T275, fixed CInterpolationAndRenderingSetupPerCallsign::isEqualToGlobal 2018-06-20 00:58:44 +02:00
Klaus Basan
0aa5836b62 Ref T275, detect when objects have been deleted in view and using that signal in setup component 2018-06-20 00:58:43 +02:00
Klaus Basan
73ea22530c Ref T275, override simulator setup provider functions to emit signals
* the provider itself is no QObject and cannot emit signals
* removed redundant function setInterpolationAndRenderingSetup
2018-06-20 00:58:41 +02:00
Klaus Basan
e0b95859c1 Ref T275, unified elevation missed info -> getElevationsFoundMissedInfo() 2018-06-20 00:58:40 +02:00
Klaus Basan
984f06f79f Ref T275, Ref T280, fix parts guessing: do not return after initial guessing, also do 2nd step 2018-06-20 00:58:39 +02:00
Klaus Basan
e90027e3fc Ref T280, using "result.getPartsStatus().isReusedParts" 2018-06-20 00:58:38 +02:00
Klaus Basan
3f14be6517 Ref T275, Ref T280, parts guessing and interpolating can have different ratios 2018-06-20 00:58:37 +02:00
Klaus Basan
65c94cf2c3 Style 2018-06-20 00:58:36 +02:00
Klaus Basan
7cc350974c Ref T275, added "latestOnGroundProviderElevation" to improve average elevation 2018-06-18 20:55:09 +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
2625c3fb6b Ref T275, new function to estimate ground elevation and some provider functions
* added "averageElevationOfNonMovingAircraft". Idea: aircraft in the vicinity not moving or on ground likely have the same airport elevation
* added "isWithinRange"
* added "latestRemoteAircraftSituations" / "remoteAircraftSituation" in provider
2018-06-18 03:21:15 +02:00