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
This commit is contained in:
Klaus Basan
2017-03-22 03:10:04 +01:00
committed by Mathew Sutcliffe
parent e8eb652cfd
commit b0fe4ce930
7 changed files with 102 additions and 41 deletions

View File

@@ -111,6 +111,11 @@ namespace BlackMisc
return isMicrosoftSimulator() || p3d();
}
bool CSimulatorInfo::isFsxFamily() const
{
return fsx() || p3d();
}
int CSimulatorInfo::numberSimulators() const
{
int c = fs9() ? 1 : 0;