Commit Graph

545 Commits

Author SHA1 Message Date
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
4094b18c39 Issue #77 Remove unneeded classes 2020-08-29 14:16:14 +01:00
Mat Sutcliffe
15789902a1 Issue #77 Remove outdated function 2020-08-29 14:16:13 +01:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
689997e3f1 Issue #77 Move class to sampleblackmiscsim because it is only used there 2020-08-28 00:45:27 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Klaus Basan
947e393b03 [P3D] Support for v5, wrong path used for validation
* guess version in validation
* changed some values to v5 as default
* search also for future versions of P3D (e.g. v5)
2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Klaus Basan
e63129267d Ref T786, smaller improvements
* allow to use ICoordinateGeodetic, not the CCoordinateGeodetic implementation only
* allow to init weather grid by initial ICoordinateGeodetic
2020-06-12 18:42:52 +01:00
Klaus Basan
5ef25d4a41 Ref T786, fixed weather sample
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
8fe11c7633 Ref T786, used weather data printer code for weather description (to QString) 2020-06-12 18:42:50 +01:00
Klaus Basan
926684fb87 [Weather] Weather data printer
* removed slots
* typo
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
004173b052 Style 2020-06-12 18:42:44 +01:00
Klaus Basan
00b2034b2d Disabled AFV client project for the moment
Very detailed discussion here: https://discordapp.com/channels/539048679160676382/539925070550794240/692788603935260693
2020-06-12 18:42:41 +01:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
ff2ab95367 Style 2020-01-07 19:57:19 +00:00
Klaus Basan
a63fe0dc21 [AFV] Ref T739, unified callsign functions in CAfvClient
* improved CallsignSet from QStringList
* renamed the functions which just return a string
* added functions for CCallsignSet
2019-10-23 00:38:26 +02:00
Klaus Basan
a8c7575d9d Style 2019-10-18 10:36:25 +02:00
Roland Rossgotterer
2362e25593 [AFV] Add client version to API auth 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
11ee2413b5 Doxygen 2019-10-11 19:40:42 +01:00
Klaus Basan
79317aeb24 Ref T731, fixed AFV sample typo "startAudio" 2019-10-11 19:00:44 +01:00
Klaus Basan
857e3581b0 Ref T730, style
* set object name
* use m_XYZ member name
2019-10-11 19:00:43 +01:00
Klaus Basan
e4e4dd090e Ref T730, bridge style and enabled commented functions 2019-10-11 19:00:42 +01:00
Klaus Basan
401c89aa63 Ref T730, style and log messages 2019-10-11 19:00:42 +01:00
Roland Rossgotterer
d3a1eb1d60 [AFV] First version of threaded CAfvClient 2019-10-11 19:00:38 +01:00
Klaus Basan
37a5da4e04 Ref T731, AFV sample default value for user name 2019-10-11 19:00:32 +01:00
Klaus Basan
6111c428e9 Ref T730, style and removed "old voice code" 2019-10-11 19:00:30 +01:00
Klaus Basan
81ade55cb5 Ref T730, added QT multimedia in some projects, as it is now needed in blackmisc 2019-10-11 18:59:58 +01:00
Klaus Basan
992d624c18 Ref T731, moved AFV station model and client to BlackCore::Afv
* the QML map can also be used in dialog
* ATC station list also can be used in BlackCore
2019-10-11 18:59:53 +01:00
Klaus Basan
99edc9cb13 Ref T730, code style, adding namespaces 2019-10-11 18:59:45 +01:00
Roland Rossgotterer
1deaf1ca8b Add volume sliders to AFV sample UI 2019-10-11 18:59:12 +01:00
Roland Rossgotterer
44146353a6 Fix ApiServerConnection::postNoResponse 2019-10-11 18:59:08 +01:00
Roland Rossgotterer
acb5b11966 Finish demo UI and connect it to AFVClient
this includes:
- enable/disable check boxes, 
- ptt button
- loopback check box
- map zoom buttons
- showing the received callsign
- VHF effects checkbox
ref T731
2019-10-11 18:59:08 +01:00
Klaus Basan
5e3b758e44 Ref T732, renamed to CFsdClient adjustments 2019-10-11 18:59:05 +01:00
Klaus Basan
384aa3ce19 Ref T730, namespace for BlackCore::Afv
* added namespace
* removed some *.pri files and added files to blackcore.pro
* added copyright etc.
2019-10-11 18:59:02 +01:00
Roland Rossgotterer
b5a2f2ad13 AFV initial commit 2019-10-11 18:58:47 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Klaus Basan
96fc62e393 Fix wrong call in sample 2019-09-16 22:40:29 +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
ca7f11eb81 Ref T660, fixed and renamed to "getRelativeSubDirectories" plus sample 2019-09-16 22:40:25 +01:00
Klaus Basan
821e7e73c9 Ref T698, added remote aircraft context to network class 2019-09-16 22:40:15 +01:00
Klaus Basan
3510e20290 Ref T660, FSX/P3D config file functions 2019-09-16 20:29:59 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
18c96791b8 Disable console logging for sampleweatherdata 2019-02-22 20:36:21 +00:00
Roland Rossgotterer
9d1299741e [GFS] Use Pressure at MSL instead of surface
Pressure at surface level was the wrong value. All barometers and
altimeters use pressure reduced to mean sea level. Reading that value
from GFS instead returns much more reasonable values.

ref T537
2019-02-22 20:36:20 +00:00
Roland Rossgotterer
d50811c941 Fix sampleweatherdata to accept negative Lat/Lon values 2019-02-22 20:36:20 +00:00
Mat Sutcliffe
dd655bcb25 Ref T486 Using QRandomGenerator. 2019-02-22 20:34:53 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00