Lars Toenning
e16dc6ef25
Initialize FlightRule when using default constructor
...
The FlightRule enum of CFlightPlan was uninitialized when using the default constructor. This caused undefined behavior in some special cases while e.g. loading a SimBrief xml flightplan.
2022-02-13 16:57:45 +01:00
Lars Toenning
5837351605
Issue #127 Set IFR to default in flight-plan page
2022-02-13 16:57:45 +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
a185c7aae7
Explicit template instantiations for mixins for containers
2021-10-11 14:20:07 +01: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
916448ef6a
[Clang][Windows] Remove workarounds
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
a592bb2bbe
Include style
2021-09-18 15:07:49 +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
2aeacf49a7
Issue #114 Use CSetBuilder and CMapBuilder
2021-08-29 17:02:27 +01:00
Mat Sutcliffe
14e03bd4b5
Issue #18 Allow lower case text in FP altitude field
2021-08-21 18:38:56 +01:00
Mat Sutcliffe
09b58b8084
Issue #22 Error when FL doesn't end in 0 or 5 should be warning
2021-08-21 18:38:55 +01:00
Mat Sutcliffe
33209fa1eb
Use std::as_const (C++17 feature)
2021-07-13 17:56:31 +01:00
Mat Sutcliffe
5d67cd9f68
Use _v traits variable aliases (C++17 feature)
2021-07-13 17:56:29 +01:00
Mat Sutcliffe
f228055229
Use fallthrough attribute (C++17 feature)
2021-07-13 17:56:29 +01:00
Mat Sutcliffe
d09336bd26
Issue #77 Break redundant cyclic dependencies
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
2c66e2215e
Issue #77 Move all methods of CLogUtilities to other classes
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
b2ae19111f
Issue #77 Break cyclic dependencies between CAircraftParts, CAircraftLights, CAircraftSituation classes
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
761fd56cc9
Issue #77 Break cyclic dependency between CDatastoreUtility CAircraftModelList by factoring out dependent functionality
2020-12-19 18:50:39 +00:00
Mat Sutcliffe
0c3977fc35
Fix Clang error
2020-12-19 18:50:37 +00:00
Mat Sutcliffe
49611b7f44
Issue #77 Explicit template instantiations needed by Clang on Windows
2020-12-19 18:50:37 +00:00
Mat Sutcliffe
3c3b4cd2fe
Issue #77 Move some templated member functions into their respective header files
2020-12-19 18:50:37 +00: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
Mat Sutcliffe
ecac4bcb8c
Issue #77 Add class CPropertyIndexRef
...
This is a reference to a CPropertyIndex with
a subset of its API, and fewer dependencies.
2020-12-19 18:50:35 +00:00
Mat Sutcliffe
371c1f4f7c
Issue #77 Break cyclic dependency between CLogCategory and numerous classes
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
05d28017e7
Remove broken code
2020-12-19 18:50:32 +00:00
Mat Sutcliffe
647e9064b0
Issue #77 Break cyclic dependency between CIcon and all other value classes
2020-12-19 18:50:32 +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
Mat Sutcliffe
50eebb799d
Update VATSIM data file reader to read new JSON data file format
2020-12-05 17:30:15 +00:00
Mat Sutcliffe
515dc7fef1
Issue #77 Move QPair typedefs to their corresponding value type headers
2020-08-29 14:16:21 +01:00
Mat Sutcliffe
39e9e6f128
Issue #77 Break dependency of icon on angle
2020-08-29 14:16:20 +01:00
Mat Sutcliffe
89659fdeaa
Issue #77 Break cyclic dependency statusmessage <-> jsonexception
2020-08-29 14:16:19 +01:00
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
4a6d94b6d4
Issue #77 Missing copyright header
2020-08-29 14:16:14 +01:00
Mat Sutcliffe
4094b18c39
Issue #77 Remove unneeded classes
2020-08-29 14:16:14 +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
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Mat Sutcliffe
07f6c8b73c
Issue #15 CVariant can convert between CVariantList and our other container classes
2020-08-01 13:18:55 +01:00
Mat Sutcliffe
e8a0a0b6ba
Issue #15 Register CSequence as a sequential container metatype
2020-07-31 00:57:46 +01:00
Lars Toenning
f987b81e6d
Add feedback when .wallop message is sent
...
This does the following:
- Opens a message-tab called "SUP" when a .wallop message is sent.
- Throws a validation error if another message is directly send into this "SUP" channel as another .wallop should be used.
2020-07-26 19:46:06 +02:00
Mat Sutcliffe
670b1a1986
Fix cppcheck and compiler warnings
2020-06-29 18:34:16 +01:00
Klaus Basan
89c241b2e7
Utility functions for livery
2020-06-12 18:42:57 +01:00
Klaus Basan
4d7468f913
[FSD] Check attributes of full JSON parts
2020-06-12 18:42:48 +01:00
Klaus Basan
4e45249142
Use "fixed "gear down" if on ground.
...
Reason: Some sims do send incorrect gear down.
Follow up of T778
2020-06-12 18:42:48 +01:00
Klaus Basan
a3f646a792
[FS9] Function for at least halfway correct engine type
2020-06-12 18:42:46 +01:00
Klaus Basan
cc887ea0f8
Ref T778, also update sim.data if elevation did change
...
Use ISimulator::isEqualLastSent in equalPbhVectorAltitudeElevation
2020-06-12 18:42:43 +01:00