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.
This commit is contained in:
Roland Rossgotterer
2020-09-12 13:19:38 +02:00
committed by Mat Sutcliffe
parent aa32544b53
commit 3baab2ae4d
15 changed files with 298 additions and 5 deletions

View File

@@ -54,9 +54,10 @@ namespace BlackMisc
XPLANE = 1 << 2,
P3D = 1 << 3,
FG = 1 << 4,
FS2020 = 1 << 5,
FSX_P3D = FSX | P3D,
AllFsFamily = FSX | FS9 | P3D,
All = FSX | FS9 | XPLANE | P3D | FG
AllFsFamily = FSX | FS9 | P3D | FS2020,
All = FSX | FS9 | XPLANE | P3D | FG | FS2020
};
Q_DECLARE_FLAGS(Simulator, SimulatorFlag)
@@ -99,6 +100,9 @@ namespace BlackMisc
//! FG?
bool isFG() const;
//! FS2020?
bool isFS2020() const;
//! Any simulator?
bool isAnySimulator() const;