Commit Graph

56 Commits

Author SHA1 Message Date
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
Roland Rossgotterer
7e04a2c40f [MSFS] Rename FS2020 to MSFS 2021-07-13 17:51:58 +01:00
Mat Sutcliffe
038c57d149 Issue #77 Factor out parts of CFsCommonUtil into new class CFsDirectories
This breaks the cyclic dependency involving
CSimulatorInfo, CFsCommonUtil, and CAircraftModelList.
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
2cf02c484e Issue #77 Break cyclic dependency between CSimulatorInfo and CSimulatorPluginInfo by moving a method from one to the other 2020-12-19 18:50:39 +00:00
Mat Sutcliffe
0971c8ce68 Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant 2020-12-19 18:50:35 +00:00
Mat Sutcliffe
b1185eb541 Issue #77 toIcon returns a simple enum instead of a full object 2020-12-19 18:50:31 +00:00
Roland Rossgotterer
3baab2ae4d Add initial simulator plugin support for FS2020
This adds simulator plugin support for FS2020. It still pretends to be FSX until full integration is completed.
2020-09-16 22:59:58 +01:00
Klaus Basan
1642502aae Distributor filter improvements
* if all or none simulator is selected do not filter
* also select if there is no (NULL) simulator
2020-06-12 18:42:41 +01:00
Klaus Basan
9e1f437326 Use a default simulator for emulated driver to avoid ASSERT 2019-05-13 11:20:37 +02:00
Klaus Basan
88e82404e2 Validate simulator info for model (used for quick mapping wizard) 2019-04-11 22:11:59 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
de680f4fcd Ref T515, further utility functions to validate models 2019-02-22 20:35:34 +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
Mat Sutcliffe
c71d358648 Fixed clazy warnings: unnecessary containers and containers being detached. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
363b7c9966 Ref T430, style 2018-12-07 02:37:15 +01:00
Klaus Basan
9c46cab133 Add in simulator info returns delta 2018-11-29 20:54:25 +01:00
Klaus Basan
d2e3250470 Ref T430, added FG pugin and simulator info 2018-11-16 02:49:54 +01:00
Klaus Basan
809c845a02 Ref T320, mixed FSX/FS9 strings 2018-09-08 15:36:20 +02:00
Klaus Basan
0da824a5d2 Ref T308, using QStringBuilder in simulator info 2018-08-29 03:08:20 +02:00
Klaus Basan
6db9083c03 Added icons for simulators 2018-08-09 01:25:52 +02:00
Klaus Basan
ac406d43f6 Ref T286, renaming / adding utility functions in simulator info 2018-07-09 22:30:24 +02:00
Klaus Basan
7aef1dcbbc Formatting and minor tweaks/renamings 2018-05-08 16:06:54 +02:00
Klaus Basan
8e761f35f1 Ref T197, simulator info
* CSimulatorInfo only initialized once and not over and over again in plugin info
* getSimulatorInfo() no longer virtual, as we can access the member CSimulatorInfo directly
* display exact simualtor in FSX/P3D driver
* renamed to identifierToSimulator and fixed typo "Identifier"
2017-12-21 19:46:17 +01:00
Klaus Basan
2458a67ed5 Ref T182, formatting 2017-11-10 19:31:15 +01:00
Klaus Basan
9a5a80146c Ref T182, added CCountPerSimulator::toQString 2017-11-10 19:28:13 +01:00
Klaus Basan
20316fd77d Ref T180, minor renaming 2017-11-04 21:44:37 +01:00
Klaus Basan
bad71a41d5 Ref T118, simulator info from DB can be parsed from bool and string 2017-10-31 15:39:30 +01:00
Klaus Basan
5558cee4d8 Ref T67, utility functions for simulator info/model list 2017-05-09 19:13:45 +02:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Klaus Basan
b0fe4ce930 refs #911, allow to set model dir relative to simulator directory
* utility functions in simulator info
* and fscommonutil
* and button in UI to set default
2017-04-18 00:05:15 +01:00
Klaus Basan
2b50fe1fdb refs #906, utility functions in simulator info and model caches 2017-04-18 00:05:08 +01:00
Mathew Sutcliffe
b0aa713a2e refs #920 Remove duplicate checks. 2017-04-18 00:05:06 +01:00
Mathew Sutcliffe
55b738e65c refs #920 X-Plane support in CSimulatorInfo::getLocallyInstalledSimulators. 2017-04-18 00:05:03 +01:00
Klaus Basan
0544ab0193 refs #917, fixed plugin ids in wizard
utility functions CSimulatorInfo -> plugin
2017-04-18 00:04:50 +01:00
Klaus Basan
04df922a0e refs #886, added CSimulatorInfo(const QStringList &simulators) 2017-04-17 23:57:00 +01:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
73ba4e5ff2 refs #834, improved default value for last set/models simulator
Remark: The bug itself was slightly related to the default value, as only the default loader suffered from a not reset flag
2016-12-15 04:06:20 +01:00
Klaus Basan
11e32a065e refs #743, utility functions and formatting / typos
* simulator info for FS family / as set
* fixed synchronized typo
* info string for caches
* getter for cached models from the loaders
* get all FS family models (FSX/P3D/FS9) from list
2016-10-17 14:33:58 +01:00
Klaus Basan
bc926e592e refs #649, allow to guess used simulator (for default values) 2016-06-08 18:20:37 +02:00
Klaus Basan
54b1234f7f refs #649, refs #658 fixed includes to new subfolders "db"
some style changes in same step
2016-06-08 18:20:23 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
5d39c906e4 refs #640, support for simulator in distributor
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +02:00
Klaus Basan
bc4efbfd71 refs #642, fixed 2nd issue reported by RW via slack
(assert with default values)
2016-05-05 20:49:14 +02:00
Klaus Basan
b1c32dac10 refs #614, allow to merge own models with vPilot rules (this can be used if no DB data are available yet)
* menus
* utility functions
2016-04-11 20:16:05 +02:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00