Mat Sutcliffe
63e8de8f00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
2020-12-19 18:50:34 +00:00
Lars Toenning
c4202d73f5
Add validationError if .wallop is sent while not connect
...
Same is already done for .msg (and equivalent)
2020-07-26 19:46:06 +02: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
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
b9ea40e8d1
[FSD] wallop message sending incomplete fixed
2020-01-07 19:57:22 +00:00
Klaus Basan
64b17b787c
Ref T761, relay original sender AND recipient
...
* display sent messages of partner callsing as send by myself
* allow PMs from partner as normal PMs
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
34f9fb89d6
[FSD] Start FSD client in own thread (CContinuousWorker)
2020-01-07 19:57:20 +00:00
Klaus Basan
928a76a042
Minor tweaks for METAR info
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
Klaus Basan
209c00b430
Style
2020-01-07 19:46:14 +00:00
Klaus Basan
cde18d23aa
[AFV] Style, Doxygen
2019-10-24 01:22:56 +02:00
Klaus Basan
164e9a3306
[AFV] Ref T730, fixed some FSD client issues
...
* socket error signal (can be used for further actions)
* socket error logs as CLogMessage::error
* handle socket errors in own function, disconnect for severe error
* send homebase at login
2019-10-23 00:38:26 +02:00
Klaus Basan
30baa12a86
Ref T730, CPP check issues fixed
2019-10-11 19:40:41 +01: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
09e65a2525
Ref T739, renamed CContext -> IContext
...
This reflects the purpose better, it is a base class for all context interfaces
2019-10-11 19:00:35 +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
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
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
0767deb41d
Ref T701, IAircraftModelSetProvider 1st version
...
* added to matcher
* and simulator context
* in facade changed init order, as we need getCContextOwnAircraft() / getCContextSimulator()
Remark: Need 2 contexts is not ideal, but accepted for the moment
2019-09-16 22:40:26 +01:00
Klaus Basan
821e7e73c9
Ref T698, added remote aircraft context to network class
2019-09-16 22:40:15 +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
4b06d46166
Ref T656, Bug fix for CPZ6092 issue
2019-05-13 11:21:09 +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
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Klaus Basan
cb084427ec
Unified "simplification" to ASCII only for text messages
...
Based on the codepage discussion of text messages
* in text message value object still store the unicode string
* the text is only "cleaned" up and Qt "simplified" (do not confuse with conversion to ASCII)
* only place where we simplify to ASCII only is
** in VATLIB
** or the utility
2019-02-22 20:35:05 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Klaus Basan
d89b217e9b
PQ parsing using "best guess" strategy as default plus renamings
2019-02-22 20:23:54 +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