Commit Graph

101 Commits

Author SHA1 Message Date
Lars Toenning
021de43e71 refactor: Remove "connected" LED from COM panel
The LED is a leftover from the pre-AFV voicerooms. The LED does not
light up when connected to UNICOM or CTAF frequencies which still can be
used to transmit & receive voice. This also removes the functionality
that the currently tuned station was displayed when hovering over the
"COMx" label. This feature was not documented and not known by many
users.
By removing these features, one context method is no longer required,
which further decouples the network context from the OwnAircraft context.
2024-10-13 08:52:47 +02:00
Lars Toenning
8ecc680dfd refactor: Remove pre-AFV methods 2024-02-18 16:00:48 +01:00
Lars Toenning
9f50aaaa4a fix: Remove broken ATC station booking overview
Related to #252
2024-01-27 08:55:46 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
72ac4e6b47 Fix doxygen warnings
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Lars Toenning
8747b91ea6 Remove unused ChannelSpacing parameter 2023-02-10 19:08:49 +01:00
Klaus Basan
9235f3232e Improvements during shutdown
* stop listeners
* check if airspace monitor and FSD still exist
* stop listeners on "aboutToShutdown()"
* check for processEventsFor(500)
2020-06-12 18:42:52 +01:00
Klaus Basan
9618073a04 [Context] "isRemoteAircraftSupportingParts" as context function (not only provider function) 2020-06-12 18:42:48 +01:00
Klaus Basan
92d53a4077 [FG] Do not send modelstring or a shorter livery string for FG
* FG does not support modelstrings for "flyable" planes
* remove unused setSimInfo functions, consolidated, cleanup
* simulator dependent "getSwiftLiveryString"
* encapsulated in getConfiguredLiveryString, getConfiguredModelString
* see https://discordapp.com/channels/539048679160676382/567091362030419981/698124094482415616
2020-06-12 18:42:45 +01:00
Klaus Basan
2999aebf37 Ref T773, allow to update CG per model string
* needed if CG is overridden by "dot command"
* update all existing aircraft (in range) if changing CG per modelstring
* made "overriddenCGorDefault" public so it can be checked if overridden
* use overridden value in CContextSimulator::xCtxAddedRemoteAircraftReadyForModelMatching
* allow to clear overridden values
2020-06-12 18:42:36 +01:00
Klaus Basan
ec92b6dc46 Ref T773, use closest positions for average height/elevation values
Testing with XPlane:

* even in EDDF the field elevations vary from 353-368ft, which means a difference of 15ft or 4m
* that means it is important to use the closest values
2020-06-12 18:42:36 +01:00
Klaus Basan
33b1e26460 Ref T773, cache ground elevations for "on ground" planes separately
Rational:

* Those values represent taxiways and runways
* we cache those longer and keep more

It is much more likely we need/can use these values
2020-06-12 18:42:33 +01:00
Klaus Basan
30036b6b82 Dot command "help" 2020-01-07 19:57:24 +00:00
Klaus Basan
a54f804cf1 Ref T761, display partner callsign in adv.login screen
* added context functions
* UI readonly fields
2020-01-07 19:57:21 +00:00
Klaus Basan
4e2a47fc41 Ref T761, use "preset" callsign if available
Avoids issue with partner callsign
2020-01-07 19:57:20 +00:00
Klaus Basan
f07ca09424 Ref T761, partner callsign message relay (swift with co-pilot)
* handle server error messages correctly as "error"
* (relayed) sender can be ATC or aircraft
* relay private messages correctly
2020-01-07 19:57:20 +00:00
Klaus Basan
f6f719a67e [FSD] "dot" command to restrict max. range for FSD positions
Allows to limit the range in which we handle FSD positions
(This also means FSD planes range)
2020-01-07 19:57:19 +00:00
Klaus Basan
59c6a7ad93 [FSD] Avoid that all matchings are triggered "at the same time"
* the signal from CAirspaceMonitor is connected internally
* this signal is closely related to receive the FSD ICAO data
* and then it is emitted from the context again but staggered
2020-01-07 19:57:19 +00:00
Mat Sutcliffe
6eb008c0a0 [FSD] Use forward declaration to reduce header interdependency 2019-10-11 19:00:38 +01:00
Klaus Basan
66ea77d25f Ref T739, removed voice room functions from context and UI 2019-10-11 19:00:37 +01:00
Klaus Basan
5e3b758e44 Ref T732, renamed to CFsdClient adjustments 2019-10-11 18:59:05 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Roland Rossgotterer
fa6e7108c7 Propagate FacilityType and LoginMode to value objects 2019-09-17 17:29:25 +02:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02: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
6adea91618 Ref T703, set partner callsign in network vatlib / functions in context adjusted 2019-09-16 22:41:21 +01:00
Klaus Basan
cffab0954d Ref T659, get network preset values from network vatlib 2019-09-16 22:41:09 +01:00
Klaus Basan
ee5f1d329d Ref T706, some fixes around the ATIS voiceroom URL issue
Discord: https://discordapp.com/channels/539048679160676382/602915311380987905/602917602293055489
2019-09-16 22:40:43 +01:00
Klaus Basan
2fb207c028 Ref T659, signature so changed livery/modelstring can be set, and/or not send at all 2019-09-16 22:40:41 +01:00
Klaus Basan
f754154455 Ref T698, functions to count network VATLIB calls to identify packets
* functions in network classes
* context functions
2019-09-16 22:40:14 +01:00
Klaus Basan
6d490e9a49 Ref T681, preparations to use CG from DB
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +01:00
Klaus Basan
a37ce2d258 Ref T668, allow to set an additional time offset via "dot command" 2019-05-23 13:00:27 +02:00
Klaus Basan
57c6d8ac77 Ref T623, ignore/unignore dot command 2019-05-13 11:20:45 +02:00
Klaus Basan
dd1aec056f Ref T601, added chat command 2019-05-13 11:20:34 +02:00
Klaus Basan
991c7d59ef Ref T566, use "configurable" reverse lookup in network/airspace monitor parts 2019-04-11 22:12:12 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
4344ca1a77 Suppressed clazy false positives: method potentially mismarked as slot. 2019-02-22 20:23:39 +00: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
dac6a2ca1a Ref T432, context functions to get ATC stations by COM frequency 2018-11-16 02:49:56 +01:00
Klaus Basan
53b3241483 Ref T409, mark client as "swift" client 2018-11-04 17:42:45 +01:00
Klaus Basan
df08923455 Ref T384, context isOnlineStation 2018-10-05 17:39:59 +02:00
Klaus Basan
7300a2af1f Ref T384, get closest ATC stations online 2018-10-05 17:39:59 +02:00
Klaus Basan
df4ef3f52d Sending wallop message 2018-10-05 17:39:59 +02:00
Klaus Basan
ec32e3163b Ref T380, test function and UI (internals) to test ATIS 2018-10-05 17:39:57 +02:00
Klaus Basan
756ee18410 Ref T379, to improve reset models added "setAircraftEnabledFlag" to just set the flag, not sending signals causing removed aircraft 2018-10-05 17:39:57 +02:00
Klaus Basan
68b72d9c5c Ref T335, update "enabled/"rendered" for multiple callsigns 2018-09-12 17:40:52 +02:00
Klaus Basan
111eca61ee Ref T345, airspace monitor/context ATIS handling
* using Qt::QueuedConnection
* use new update functions
2018-09-12 17:40:35 +02:00
Klaus Basan
f3f2fa664e Ref T322, ATC station distance can be recalculated when getting ATC stations from network context 2018-09-08 15:36:22 +02:00