Commit Graph

74 Commits

Author SHA1 Message Date
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
d51e4646c6 Clarify CSimulatedAircraft method name 2023-02-10 19:08:49 +01:00
Lars Toenning
7fdb1035d1 Remove unused methods 2023-02-10 19:08:48 +01:00
Lars Toenning
a96d792e25 Adapt channel comparison for 8.33 kHz spacing
Related to #186
2023-02-10 19:08:44 +01:00
Mat Sutcliffe
0faa7ed8fc Issue #94 Add new class CAircraftVelocity as member of CAircraftSituation 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
2b72600937 Explicit template instantiations for mixins for value classes
To reduce compile time.
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
1991b4847a Issue #77 Break cyclic dependency between CPropertyIndex and all other value classes 2020-12-19 18:50:36 +00:00
Mat Sutcliffe
0971c8ce68 Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant 2020-12-19 18:50:35 +00:00
Klaus Basan
e611f5109d Clearer message text 2020-06-12 18:42:34 +01:00
Klaus Basan
e1498adc8e Minor fixes, style
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
e9f8be013c [FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display) 2020-01-07 19:57:19 +00:00
Klaus Basan
11187870de Fixed missing compare index, message placeholder, and minor style fixes 2020-01-07 19:57:17 +00:00
Klaus Basan
daeea07090 Ref T683, style 2019-09-16 22:39:49 +01:00
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +02:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +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
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Klaus Basan
67dcd11e73 Ref T422, functions to set XPDR mode 2018-11-06 01:41:48 +01:00
Klaus Basan
c675ef5c32 Ref T335, misc. improvements of value classes/list
- verifyModelData
- setModelType
- getCallsignsAsString
2018-09-12 17:40:51 +02:00
Klaus Basan
72a54f9952 Better CSimulatedAircraft::getNetworkModelAirlineIcaoDifference / CSimulatedAircraft::getNetworkModelAircraftIcaoDifference 2018-09-12 17:40:47 +02:00
Klaus Basan
651ead5b51 Ref T335, misc improvements in value objects
* allow to reset PBH for terrain probe
* check for null altitude before converting
* function isTerrainProbe for model/aircraft
2018-09-08 15:36:25 +02:00
Klaus Basan
3ec3bb8e15 Ref T298, split military flag into check for civilian/military
* in military -> only military aircraft?
* in civilian -> only civilian aircraft?
2018-08-26 15:27:03 +02:00
Klaus Basan
cb351aca1a Ref T298, improved/fixed re-matching (match all aircraft again)
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +02:00
Klaus Basan
60baa12c9d Ref T298, better ICAO family resolution
B737/DLH searched but B738/DLH present (same family but not same ICAO)
2018-08-16 14:44:01 +02:00
Klaus Basan
79a133892b Fix for context menu of aircraft view as reported in slack
* reported: https://swift-project.slack.com/archives/G7GD2UP9C/p1533749013000483
* logic moved to view
* removed no longer required code
2018-08-09 01:41:10 +02:00
Klaus Basan
c168262159 Ref T275, utility functions in simulated aircraft, sim object .. 2018-07-09 22:30:21 +02:00
Klaus Basan
d49831abc4 Ref T280, QHash for aircraft and models and some minor improvements
* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
2018-06-18 03:04:33 +02:00
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
f330e91350 Ref T261, simulated aircraft get/set CG 2018-05-08 16:06:44 +02:00
Klaus Basan
e3d17859a0 Ref T259, Ref T243 improved utility functions so parts can be guessed in interpolator
* engine count
* aligned naming to "getEnginesCount"
* formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
93d1dcfc1d Ref T219, added some utility functions in value classes 2018-01-14 18:46:14 +01:00
Mathew Sutcliffe
0b67466480 Removed workarounds in metaclass system that were needed for GCC 4.9 and old MSVC. 2017-11-14 17:51:07 +00:00
Klaus Basan
ba8d0c1f64 Ref T129, formatted aircraftmodel and simulated aircraft 2017-10-10 00:27:32 +01:00
Klaus Basan
ea6cf20587 Ref T111, allow to set cockpit by passing another simulated aircraft 2017-09-24 19:51:56 +01:00
Klaus Basan
551d9326fe Ref T109, make sure liveries and ICAO are compared correctly
* isDbEqual function
* used in getXXDifference functions
2017-09-24 19:50:55 +01:00
Klaus Basan
1956a27b19 Formatting 2017-06-27 20:50:29 +02:00
Klaus Basan
a68f9db2ec refs #893, Modulator added compareByPropertyIndex 2017-04-17 23:57:27 +01:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
5bea0e2a96 refs #879, added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size() 2017-02-24 15:21:26 +00:00
Klaus Basan
3de16cbec1 refs #877, CSimulatedAircraft DBus signature size
* reduce size by storing models in list
* using an array for the models failed - not supported by tuple system
2017-02-24 15:21:08 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
de72a678a2 refs #840, updated value classes
* VTOL flag
* doxygen
* allow to stop after an object has been found
* support for hints/elevation
2017-01-10 23:45:22 +00:00
Klaus Basan
1a771aaed0 refs #789, treat aircraft with no model string as disabled 2016-12-13 19:00:07 +01:00
Klaus Basan
f1ce5fc173 refs #793, display mismatch between rendered and network model
* utility functions to display that info
* added in aircraft model
2016-12-06 09:47:00 +01:00
Klaus Basan
8a5d50a167 refs #780, fixed property index compare issues found in the client 2016-12-06 09:46:57 +01:00
Klaus Basan
0dd9bce697 refs #793, keep network model (as reverse looked up) 2016-12-06 09:34:53 +01:00