Commit Graph

8467 Commits

Author SHA1 Message Date
Klaus Basan
b3945adc98 Improved VATSIM status file reading 2019-09-16 22:41:33 +01:00
Roland Rossgotterer
e8b14c435f Check that X-Plane OBJ8 file exists 2019-09-16 22:41:33 +01:00
Roland Rossgotterer
108f773e8a Fix BLACK_USE_CRASHPAD not being defined in required places 2019-09-16 22:41:33 +01:00
Roland Rossgotterer
e0b52db77a [MinGW] Fix many unresolved symbols 2019-09-16 22:41:33 +01:00
Klaus Basan
9bd2d294a3 Validation dialog allows to directly removed from model set
There is some moderate riks involved here,
as this allows to change the model set in the client,
but many users have asked for this
2019-09-16 22:41:32 +01:00
Klaus Basan
2e96caef5c Functions to remove models from model set 2019-09-16 22:41:32 +01:00
Klaus Basan
79c947f8fa Style 2019-09-16 22:41:32 +01:00
Klaus Basan
369e69e610 [libxplanemp] functions to debug the render phases, can be used as needed 2019-09-16 22:41:32 +01:00
Klaus Basan
902d18339a Improved manual changing of aircraft and reset
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-16 22:41:32 +01:00
Klaus Basan
1d75b5fac7 Log info/warning about METAR URL 2019-09-16 22:41:32 +01:00
Klaus Basan
0e3cba35ff Minor style changes 2019-09-16 22:41:31 +01:00
Klaus Basan
507e059438 More detailled validation messages "which models look odd" 2019-09-16 22:41:31 +01:00
Klaus Basan
decdbb4432 Some smaller mapping tool improvements
* allow to remove NON DB models (context menu)
* renamed radio buttons
2019-09-16 22:41:31 +01:00
Klaus Basan
7b8db694cc Use BLACK_AUDIT_X because this is a check for external data 2019-09-16 22:41:31 +01:00
Klaus Basan
2e6eac45bd If using SHIFT and navigator button reset to screen center 2019-09-16 22:41:30 +01:00
Klaus Basan
f20855b613 Settings for text messages, ascending or descending (latest first/last) 2019-09-16 22:41:30 +01:00
Klaus Basan
00941afcf9 Style 2019-09-16 22:41:30 +01:00
Klaus Basan
e12dc3a73a 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-16 22:41:30 +01:00
Mat Sutcliffe
25eb13a83f 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-09-16 22:41:29 +01:00
Mat Sutcliffe
b2bfbabb18 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-09-16 22:41:29 +01:00
Mat Sutcliffe
942417b7a9 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-09-16 22:41:29 +01:00
Klaus Basan
bb8f46ed68 Ref T718, improved country "resolution" in server names/descriptions 2019-09-16 22:41:29 +01:00
Klaus Basan
009719a7be Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-09-16 22:41:28 +01:00
Klaus Basan
b43ab76007 Add URL info for reading 2019-09-16 22:41:28 +01:00
Klaus Basan
153602d99e [libxplanemp] Different containers for render and TCAS planes 2019-09-16 22:41:28 +01:00
Klaus Basan
083293c016 Style 2019-09-16 22:41:28 +01:00
Klaus Basan
f8c73c772a Continue to send CTraffic values if a plane is NOT found, do NOT return 2019-09-16 22:41:27 +01:00
Klaus Basan
1409dae355 Ref T717, initial UI components for model browser 2019-09-16 22:41:27 +01:00
Klaus Basan
c9d5a18421 Make sure the main window shows up again if the navigator is closed 2019-09-16 22:41:27 +01:00
Klaus Basan
9ec1d54908 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-09-16 22:41:26 +01:00
Klaus Basan
d1fac2e1a4 Ref T610, support for XPlane COM volume and receive/transmit
* proxy and
* DBus service functions
2019-09-16 22:41:26 +01:00
Klaus Basan
62f5ddab99 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-09-16 22:41:25 +01:00
Klaus Basan
0d29471144 Reset keydown (follow aircraft) if mouse no longer moves 2019-09-16 22:41:25 +01:00
Klaus Basan
713972ad7c Checks to avoid issues during the XPlane startup.
Those here are precautionary.
2019-09-16 22:41:25 +01:00
Klaus Basan
3ea8f9c24f 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-09-16 22:41:24 +01:00
Klaus Basan
eed46f47a9 [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-09-16 22:41:24 +01:00
Klaus Basan
678166175b Style 2019-09-16 22:41:24 +01:00
Klaus Basan
92f3dd392f Avoid shutdown if modal window closes
See https://discordapp.com/channels/539048679160676382/567139633964646411/613564665255034903
2019-09-16 22:41:24 +01:00
Klaus Basan
d9948af103 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-09-16 22:41:24 +01:00
Klaus Basan
105db27fa8 Avoid ASSERT in XPlane "rapid shutdown" 2019-09-16 22:41:23 +01:00
Klaus Basan
a2a186a2f5 Frameless window close button 2019-09-16 22:41:23 +01:00
Klaus Basan
a583def040 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-09-16 22:41:23 +01:00
Klaus Basan
0a372edef6 Ref T703, utility functions for "relayed messages" (i.e. copilot/pilot) 2019-09-16 22:41:22 +01:00
Klaus Basan
25532497d6 Fixed FS9/FSX message handling as reported here: https://discordapp.com/channels/539048679160676382/567139633964646411/612104936574156870 2019-09-16 22:41:22 +01:00
Klaus Basan
51ce3778b6 FS9 style 2019-09-16 22:41:22 +01:00
Klaus Basan
dd70a67cf0 Ref T703, get partner callsign and validate it
* added functions in network details
* validation and login with partner callsign
2019-09-16 22:41:21 +01:00
Klaus Basan
6adea91618 Ref T703, set partner callsign in network vatlib / functions in context adjusted 2019-09-16 22:41:21 +01:00
Klaus Basan
bfcf553e3f Ref T703, overlay message utility functions 2019-09-16 22:41:21 +01:00
Klaus Basan
55d0eb97d0 Ref T709, also log model name (so we can see if a particular model causes a crash) 2019-09-16 22:41:21 +01:00
Klaus Basan
2793502839 [libxplanemp] Ref T715, draw translucent (blend) part after lights (as in the original code) 2019-09-16 22:41:20 +01:00