Commit Graph

104 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
63f5d28622 Issue #77 Break cyclic dependency between CVariant and all other value classes 2020-12-19 18:50:36 +00: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
363758e8ea Issue #77 Move GlobalIndex enum from CPropertyIndex to CPropertyIndexRef 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
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
1b4aa1162a Style, typo 2019-09-16 22:40:33 +01:00
Klaus Basan
f3ec7a8a68 Ref T660, utility functions
* check if model is in path
* addAsValidOrInvalidModel
* set corresponding simulator for validation
* display validation of empty model set
2019-09-16 20:29:57 +01:00
Klaus Basan
56d72b94c1 Improved matching logging 2019-09-16 20:29:45 +01:00
Klaus Basan
3be753a6a7 Allow to update model directories 2019-05-13 11:20:53 +02:00
Klaus Basan
246d9abca8 Ref T578, CG null and DB key improvements 2019-04-11 22:12:02 +01:00
Klaus Basan
54adb40329 Ref T472, further utility functions for category handling 2019-04-11 22:11:40 +01:00
Klaus Basan
b57003c4e8 Style, typo 2019-04-11 22:11:35 +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
9cee34f4cc Ref T472, allow to pass already existing values for model parsing
* list to map: toDbKeyValueMap
* categories can also be passed, hence the categories can be seen in model views
2019-02-22 20:36:28 +00:00
Klaus Basan
de680f4fcd Ref T515, further utility functions to validate models 2019-02-22 20:35:34 +00:00
Klaus Basan
107464d92a Ref T515, utility functions for file name/path etc. 2019-02-22 20:35:34 +00:00
Klaus Basan
80e925fe80 Ref T492, added model alias 2019-02-22 20:35:22 +00:00
Klaus Basan
ecb77191e5 Ref T265, Ref T430, Ref T473 "supported parts" in model
* added part member
* unified parsing from DB "CAircraftModel::fromDatabaseJsonBaseImpl"
2019-02-22 20:23:57 +00:00
Klaus Basan
0ab4a18bda Set correct model type and added model type "TypeReverseLookup" 2018-11-22 19:55:02 +01:00
Klaus Basan
4b74267248 Ref T409, new version of livery string parsing (sending ids) 2018-11-04 17:42:45 +01:00
Klaus Basan
1388929041 Ref T388, added 2 compares and ignore 7 setter indexes 2018-10-05 17:39:59 +02:00
Klaus Basan
c11a38dbde Ref T348, file handling in aircraft model (renaming)
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:09 +02: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
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
260585e35c Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object
* caching fromDatabaseJsonCaching
* fixed CAircraftModel::fromDatabaseJson wrong prefix
2018-08-29 03:08:23 +02:00
Klaus Basan
d010f6f15a Utility functions to improve resolution in auto stash component 2018-08-26 15:25:08 +02:00
Klaus Basan
9ec59514dc Small improvements of auto stash component
- airline can be set in model
- fallback if there is no airline, but livery code
2018-08-22 12:32:07 +02:00
Klaus Basan
338c5b344a Ref T292, Ref T285 function to set file timestamp 2018-07-26 02:13:53 +02:00
Klaus Basan
eb815ab987 Ref T261, improved value classes 2018-05-08 16:06:49 +02:00
Klaus Basan
a8ab2a37b8 Ref T261, CG in aircraft model 2018-05-08 16:06:42 +02:00
Klaus Basan
7f4ee19d24 Ref T260, utility functions/improvements in aviation/simulation value objects 2018-05-08 16:06:36 +02:00
Klaus Basan
0d76cc8d3e Formatting 2018-05-08 16:06:33 +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
23cd247bd8 Ref T247, utility functions to validate model set 2018-02-07 02:41:44 +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
31e47f013c Ref T182, matching log can be used with calculateScore 2017-11-09 04:42:15 +01:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
8e9411edb1 Ref T182, utility functions for model/model list 2017-11-09 04:42:05 +01:00
Klaus Basan
ba8d0c1f64 Ref T129, formatted aircraftmodel and simulated aircraft 2017-10-10 00:27:32 +01:00
Klaus Basan
9903d518b0 Ref T117, utility functions
* detect equal models (equal in sense of "equal for publishing", not ==)
* severity functions for message list
2017-09-24 19:52:14 +01:00
Klaus Basan
fad7d4b8c9 Ref T35, optional model description when mapping 2017-05-05 22:40:16 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01: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
763e92cc2a refs #814, fixed wrong default values for update times causing CPU overload
* use 10s as conservative default value
* check in assert if update time is correct
2016-12-13 19:02:11 +01:00
Klaus Basan
7b11b1fb54 refs #828, added function to generate HTML file with matrix
* added utility functions
* adjusted existing functions
2016-12-13 19:02:07 +01:00
Klaus Basan
3b25781a06 refs #825, utility functions
* allow to prefer color liveries (idea: when no airline is found, a neutral livery looks better)
* pick randomly among equal scores
2016-12-13 19:02:00 +01:00
Klaus Basan
246f48b71c refs #822, add file timestamp 2016-12-13 19:01:49 +01:00
Klaus Basan
630ec78d38 refs #820, utility functions for score and groupBy 2016-12-13 19:01:43 +01:00
Mathew Sutcliffe
45bb9a2737 refs #784 Use CMemoTable to implement a compact JSON schema for CAircraftModelList. 2016-12-13 19:00:17 +01:00