Commit Graph

8465 Commits

Author SHA1 Message Date
Mat Sutcliffe
82ce1c7fbc Avoid constructing CStatusMessage format string from external data source.
Put external data source as argument using stream operator instead.

Part 1 of hotfix for assert caused by percent character in vatsim-data.txt
2019-08-31 14:35:15 +01:00
Klaus Basan
5a5384289f Ref T718, improved country "resolution" in server names/descriptions 2019-08-29 18:13:48 +02:00
Klaus Basan
c26b6f7c85 Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-08-29 00:03:58 +02:00
Klaus Basan
7831759a93 Add URL info for reading 2019-08-29 00:03:58 +02:00
Klaus Basan
d828994d5a [libxplanemp] Different containers for render and TCAS planes 2019-08-29 00:03:58 +02:00
Klaus Basan
dd01cd1fbc fixup! Ref T681, settings for CG from DB 2019-08-28 02:51:33 +02:00
Klaus Basan
ce57af5a3d Style 2019-08-28 02:51:33 +02:00
Klaus Basan
2b8dc0bef6 Continue to send CTraffic values if a plane is NOT found, do NOT return 2019-08-28 02:51:32 +02:00
Klaus Basan
0034c2e676 fixup! Ref T609, adjusted/fixed cockpit form 2019-08-28 02:51:32 +02:00
Klaus Basan
c221d9f31c Ref T717, initial UI components for model browser 2019-08-28 02:51:32 +02:00
Klaus Basan
122f96dd6a Make sure the main window shows up again if the navigator is closed 2019-08-28 02:51:32 +02:00
Klaus Basan
fb4cce8e9e Ref T610, added COM async getter functions and bundled async calls
* reduced the number of async XSwiftBus calls by getting multiple values at once
* the concept was already used for getOwnAircraftSituationDataAsync
* now also used for COM, parts, model and lights
* As Qt restricts to 8 parameters not further bundled
* new COM1 getter functions for receive/volume/transmit
2019-08-28 02:51:32 +02:00
Klaus Basan
5881e81d56 Ref T610, support for XPlane COM volume and receive/transmit
* proxy and
* DBus service functions
2019-08-28 02:51:32 +02:00
Klaus Basan
e603c4ebbc Follow aircraft allow to zoom in/out
* renamed sniffer
* ignore keystrokes if NO aircraft is followed
* allow to zoom in/out my multiplying the distance
2019-08-28 02:51:32 +02:00
Klaus Basan
7103f0cb90 Reset keydown (follow aircraft) if mouse no longer moves 2019-08-28 02:51:32 +02:00
Klaus Basan
aa4671c018 Checks to avoid issues during the XPlane startup.
Those here are precautionary.
2019-08-28 02:51:32 +02:00
Klaus Basan
44328867d5 Log starting of the XSwiftPlugin
Rational: If XPlane crashes before that log it is most likely something else
Remark: Logger macros using namespace, so they can be used outside XSwiftBus
2019-08-28 02:51:32 +02:00
Klaus Basan
be1c782a11 [libxplanemp] Fix for the TCAS crash and wrong TCAS distance
Closing the gaps:
* Pro: The dataref list is being cleaned up and no "0" entries are needed
* Con: A blip can be re-assigned, maybe loosing map "follow aircraft"

See also https://discordapp.com/channels/539048679160676382/539925070550794240/613834869713272845
2019-08-28 02:51:32 +02:00
Klaus Basan
146cf19eb3 Style 2019-08-22 01:27:57 +02:00
Klaus Basan
b575bf4b64 Avoid shutdown if modal window closes
See https://discordapp.com/channels/539048679160676382/567139633964646411/613564665255034903
2019-08-22 00:32:02 +02:00
Klaus Basan
069e32c896 Ref T609, fixed signal/slot connection of cross context hookup
* audio can be local or remote special case
* so we have to hookup on core or remote side depending on that
2019-08-22 00:30:56 +02:00
Klaus Basan
09a82cb6d2 Avoid ASSERT in XPlane "rapid shutdown" 2019-08-21 14:57:31 +02:00
Klaus Basan
4d19c52628 Frameless window close button 2019-08-20 15:46:20 +02:00
Klaus Basan
a653ea897c fixup! Ref T709, also log model name (so we can see if a particular model causes a crash) 2019-08-18 19:38:30 +02:00
Klaus Basan
3bd2ff449a fixup! Ref T709, static "ownAircraftString" and improved logging 2019-08-18 19:38:30 +02:00
Klaus Basan
8493b22301 Ref T703, sending and receiving of relayed text messages
* turn relayed messages into normal messages
* avoid signals for relayed messaged
* relay received messages to partner (co-pilot)
2019-08-18 01:12:41 +02:00
Klaus Basan
e5a5b96835 Ref T703, utility functions for "relayed messages" (i.e. copilot/pilot) 2019-08-18 01:12:41 +02:00
Klaus Basan
b1c0712f6f Fixed FS9/FSX message handling as reported here: https://discordapp.com/channels/539048679160676382/567139633964646411/612104936574156870 2019-08-17 21:01:11 +02:00
Klaus Basan
20266b7338 FS9 style 2019-08-17 21:01:11 +02:00
Klaus Basan
a409bfc130 Ref T703, get partner callsign and validate it
* added functions in network details
* validation and login with partner callsign
2019-08-17 21:01:11 +02:00
Klaus Basan
f18f2327ae Ref T703, set partner callsign in network vatlib / functions in context adjusted 2019-08-17 21:01:11 +02:00
Klaus Basan
21cb1fac0d Ref T703, overlay message utility functions 2019-08-17 21:01:11 +02:00
Klaus Basan
ec7da98570 Ref T709, also log model name (so we can see if a particular model causes a crash) 2019-08-17 21:01:11 +02:00
Klaus Basan
a97668851e [libxplanemp] Ref T715, draw translucent (blend) part after lights (as in the original code) 2019-08-17 21:01:11 +02:00
Klaus Basan
0e285b6cd6 Ref T709, use std::advance for message iterator 2019-08-17 21:01:11 +02:00
Klaus Basan
e78ad0e0d1 Style 2019-08-17 21:01:11 +02:00
Klaus Basan
ece0c67431 Ref T709, updated XSwiftBus service and messages to support settings 2019-08-17 21:01:11 +02:00
Klaus Basan
33ac40eb9d Ref T709, UI for settings "lights" and "message box margins" 2019-08-17 21:01:10 +02:00
Klaus Basan
6c2d140b1b Ref T709, added support for taxi lights in XPlane, using the "bundle lights" flag 2019-08-15 23:08:19 +02:00
Klaus Basan
807e87af7c Ref T709, added settings for lights and message box margins 2019-08-15 23:08:19 +02:00
Klaus Basan
14e396bce0 Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-08-15 20:32:57 +02:00
Klaus Basan
f9e7449fdd Ref T709, smaller style changes 2019-08-15 20:32:57 +02:00
Klaus Basan
eb67310b04 Improved logging of "adding aircraft" so we can see details such as the model string 2019-08-14 00:25:31 +02:00
Klaus Basan
bd49f5151a Ref T709, doxygen 2019-08-14 00:22:36 +02:00
Mat Sutcliffe
3d413c749c Ref T709 Encapsulate the CSettingsProvider pointer in a CSettingsAware base class. 2019-08-13 20:18:23 +01:00
Mat Sutcliffe
b90327cf07 Ref T709 Made settings provider non-static. 2019-08-13 19:17:58 +01:00
Mat Sutcliffe
dbba3ccf6f Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-08-12 22:39:14 +01:00
Mat Sutcliffe
8510fbe3bb Update libxplanemp. 2019-08-11 23:16:10 +01:00
Mat Sutcliffe
0ccd0fe44d Added a new clazy warning. 2019-08-11 23:16:09 +01:00
Klaus Basan
038a2ffdf0 Ref T709, avoid camera below ground if aircraft is on ground 2019-08-11 23:16:09 +01:00