Commit Graph

2043 Commits

Author SHA1 Message Date
Klaus Basan
f54bb1d9e9 Ref T441, improved messages for issues in model set (like duplicates) 2018-12-05 04:03:42 +01:00
Klaus Basan
6ef10b92ab Fixed non-saving crashdump setting and some improvements for setup
Registration for "Settings::CCrashSettings::registerMetadata()" was missing
2018-12-02 18:26:49 +01:00
Roland Rossgotterer
060c3ee492 Remove the warning about conflicting X-Plane plugins
This warning got superseded by the return value from CTraffic::acquireMultiplayerPlanes. All plugins can live side by side as long as nobody else has multiplayer planes acquired. If so, we warn the user directly and tell him the plugin name.
2018-11-29 20:54:26 +01:00
Klaus Basan
394147dcb9 Server handling
* added tower view as hardcoded
* renamed to predefined servers
* utility functions to add/remove FSD setup flags
2018-11-29 20:54:25 +01:00
Klaus Basan
4792dbf8d1 Ref T420, setting to save "auto logoff"
* added flag in settings
* use in login component
2018-11-29 20:54:25 +01:00
Klaus Basan
d704a8aeab Simulator update returns info what was updated 2018-11-29 20:54:25 +01:00
Klaus Basan
e7e82c3ab1 Style, minor fixes 2018-11-25 18:26:45 +01:00
Klaus Basan
62860eb30b Ref T436, allow to set a global offset altitude for testing (example: ".altos ? -10m") 2018-11-23 02:43:11 +01:00
Klaus Basan
7f7cf2e031 Ref T436, underflow detection for FSX
* utility functions
* force gnd flag to avoid underflow
2018-11-22 19:55:04 +01:00
Klaus Basan
0ab4a18bda Set correct model type and added model type "TypeReverseLookup" 2018-11-22 19:55:02 +01:00
Klaus Basan
cb422d72cf Misc. style issues interpolation/model adding 2018-11-22 19:55:02 +01:00
Klaus Basan
2ba89ec10c Cleaner setup load messages 2018-11-22 19:54:52 +01:00
Klaus Basan
dac6a2ca1a Ref T432, context functions to get ATC stations by COM frequency 2018-11-16 02:49:56 +01:00
Klaus Basan
a6b7b10651 Ref T420, signal when simulator no longer is vital 2018-11-16 02:49:56 +01:00
Klaus Basan
b452cd7530 Ref T410, show number of SB4 packets received under simulator/information 2018-11-16 02:49:55 +01:00
Klaus Basan
3eb46690c0 Removed clamped messages 2018-11-16 02:49:55 +01:00
Mat Sutcliffe
df563d5b29 Fixes needed to compile swift with MSVC with the /permissive- switch
which enables more C++ standard conformance.
2018-11-16 02:49:55 +01:00
Klaus Basan
db05388bea Ref T431, send airline ICAO designator or VDesignator depending on setup 2018-11-16 02:49:54 +01:00
Roland Winklmeier
ee8af9f4c6 Filter other pilots ghost aircraft when flying in shared cockpit mode
When flying in shared cockpit mode, both pilots log into the network.
One as pilot to be visible to ATC and other pilots. The other one as
observer. For the observing user, the pilots aircraft needs to be filtered.
Filter algorithm is using the same schema as vPilot does.

ref T427
2018-11-16 02:49:54 +01:00
Roland Winklmeier
420fc40fb2 Remove _OBS callsign suffix when logging in as observer
ref T428
2018-11-16 02:49:54 +01:00
Klaus Basan
839c75effc Ref T429, style and CLANG warnings 2018-11-16 02:49:53 +01:00
Klaus Basan
64b0ec87b1 Ref T423, changed strategy to force position updates
* force update for "some time", and remove all sent information
* no longer update some cycles, but for some time
* updated FSX/P3D/XPlane drivers
2018-11-16 02:49:52 +01:00
Klaus Basan
8cf7f676fa Ref T423, function to recalculate all aircraft (used when aircraft is moved or such) 2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1 Detect emulated driver before casting to avoid crashs 2018-11-16 02:49:51 +01:00
Klaus Basan
084ade9e2b Ref T422, context/provider functions for COM, XPDR values 2018-11-16 02:49:51 +01:00
Klaus Basan
951247dc0b Ref T422, private slots -> private 2018-11-06 01:41:48 +01:00
Klaus Basan
0dbaf989e9 Ref T424, renamed altitude string functions and added "roundedToNearest100ft" 2018-11-06 01:41:48 +01:00
Klaus Basan
2b8e388ba1 Ref T423, force update if simulator was paused or interrupted before
* force full updates for some cycles "m_updateAllRemoteAircraftCycles"
* only use "emitSimulatorCombinedStatus" to emit changed simulator status
* renamed to "finishUpdateRemoteAircraftAndSetStatistics"
* override "forced" in "getInterpolationSetupConsolidated"

This addresses the issue that aircraft appear below ground after moving the aircraft
2018-11-06 01:41:47 +01:00
Klaus Basan
4d7ca00324 Ref T421, interpolation log message follow up, deprecated "clampedLog" 2018-11-05 01:39:51 +01:00
Klaus Basan
4172701586 Ref T422, functions to toggle/set XPDR mode 2018-11-05 01:39:51 +01:00
Klaus Basan
17382a0019 Ref T401, update functions for crashpad info in CApplication 2018-11-04 17:43:06 +01:00
Klaus Basan
03691b4700 Ref T421, function to get interpolation messages from the simulator context 2018-11-04 17:42:47 +01:00
Klaus Basan
93bcbc0755 Ref T421, function to get interpolation messages from the simulator drivers 2018-11-04 17:42:47 +01:00
Klaus Basan
7788410a8d Ref T412, Ref T227, cross context signals 2018-11-04 17:42:47 +01:00
Klaus Basan
cd76d5f635 Style 2018-11-04 17:42:47 +01:00
Klaus Basan
167355337e Ref T412, Ref T227, own aircraft positions and state detection
* keep history of own positions
* detect moved aircraft
* relay signals via proxy
2018-11-04 17:42:47 +01:00
Klaus Basan
75d57b4afa Ref T413, application context "identifable" 2018-11-04 17:42:47 +01:00
Klaus Basan
31e836bb87 Ref T413, application context "getApplicationIdentifier" to get remote identifier 2018-11-04 17:42:46 +01:00
Klaus Basan
60144ad7b1 Ref T409, use new livery string to resolve model/livery/ICAO 2018-11-04 17:42:45 +01:00
Klaus Basan
1b316cd6a6 Ref T409, matcher lookup functions for ids 2018-11-04 17:42:45 +01:00
Klaus Basan
3fc0f34646 Ref T409, network vatlib, remove "colon"/send special string if there is no model string 2018-11-04 17:42:45 +01:00
Klaus Basan
11c5ded3b5 Minor UI/style fixes 2018-11-04 17:42:45 +01:00
Klaus Basan
53b3241483 Ref T409, mark client as "swift" client 2018-11-04 17:42:45 +01:00
Klaus Basan
ab4b4c5067 Style 2018-11-04 17:42:45 +01:00
Klaus Basan
9293989a78 Doxygen comments 2018-11-04 17:42:45 +01:00
Klaus Basan
e727b29753 No "exit" (qFatal) for unknown VATLIB error, just error
Rational: Why shutdown the client in that very case, terminate connection is enough
2018-11-04 17:42:44 +01:00
Klaus Basan
d7380966de Style 2018-11-04 17:42:44 +01:00
Klaus Basan
259aab3c10 Ref T397, Ref T297 split "isInterimPositionUpdateEnabledForServer" into 2 functions and ignore incoming interim positions if disabled 2018-11-04 17:42:44 +01:00
Klaus Basan
e4e39b6579 Added comments 2018-11-04 17:42:44 +01:00
Klaus Basan
cc4aec8f3c Ref T412, added "movedAircraft" and fixed missing relay of proxy signals 2018-11-04 17:42:44 +01:00