Commit Graph

7800 Commits

Author SHA1 Message Date
Klaus Basan
08c8b7cf9b Functions to remove models from model set 2019-09-06 19:02:39 +02:00
Klaus Basan
b39ed83f72 Style 2019-09-06 19:02:13 +02:00
Klaus Basan
193fe33559 [libxplanemp] functions to debug the render phases, can be used as needed 2019-09-06 01:45:07 +02:00
Klaus Basan
0f02fba89c Improved manual changing of aircraft and reset
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-05 23:28:13 +02:00
Klaus Basan
ee91504cde Log info/warning about METAR URL 2019-09-05 23:28:13 +02:00
Klaus Basan
272677d719 Minor style changes 2019-09-05 23:28:13 +02:00
Klaus Basan
cdea5086de More detailled validation messages "which models look odd" 2019-09-05 23:28:13 +02:00
Klaus Basan
878118eee1 Some smaller mapping tool improvements
* allow to remove NON DB models (context menu)
* renamed radio buttons
2019-09-05 23:28:13 +02:00
Klaus Basan
294391a8d5 Use BLACK_AUDIT_X because this is a check for external data 2019-09-05 23:28:13 +02:00
Klaus Basan
50f808d23c If using SHIFT and navigator button reset to screen center 2019-09-05 23:28:13 +02:00
Klaus Basan
e73682d2c6 Settings for text messages, ascending or descending (latest first/last) 2019-09-05 23:28:12 +02:00
Klaus Basan
cb56b80518 Style 2019-09-05 23:28:12 +02:00
Klaus Basan
f55ba85a98 Utility functions to sort text messages by timestamp (ascending/descending)
* compare function for text message
* resort function
* text message edit can display HTML text messages with ascending/descending timestamp
* made CTextMessageListModel -> CListModelTimestampObject
2019-09-05 23:28:12 +02:00
Mat Sutcliffe
a9761d2de8 Fixed off-by-one in assert condition: %0 is not a valid format string placeholder.
Part 3 of hotfix for assert caused by percent character in vatsim-data.txt
2019-08-31 16:09:35 +01:00
Mat Sutcliffe
fd6bb52f9c Downgrade assert to verify, in case the format string came from an external data source.
Part 2 of hotfix for assert caused by percent character in vatsim-data.txt
2019-08-31 14:49:25 +01:00
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