mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
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:
committed by
Mat Sutcliffe
parent
aa32544b53
commit
3baab2ae4d
@@ -84,6 +84,11 @@ namespace BlackMisc
|
||||
return getSimulator().testFlag(FG);
|
||||
}
|
||||
|
||||
bool CSimulatorInfo::isFS2020() const
|
||||
{
|
||||
return getSimulator().testFlag(FS2020);
|
||||
}
|
||||
|
||||
bool CSimulatorInfo::isAnySimulator() const
|
||||
{
|
||||
return isFSX() || isFS9() || isXPlane() || isP3D() || isFG();
|
||||
@@ -260,6 +265,7 @@ namespace BlackMisc
|
||||
{
|
||||
s |= P3D;
|
||||
}
|
||||
if (i.contains("fs2020")) { s |= FS2020; }
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user