[FSD] Style

This commit is contained in:
Mat Sutcliffe
2019-10-03 19:10:14 +01:00
parent 2dbc347bd7
commit 077476c138
5 changed files with 12 additions and 11 deletions

View File

@@ -6,10 +6,10 @@
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "blackcore/airspacemonitor.h"
#include "blackcore/vatsim/vatsimbookingreader.h"
#include "blackcore/vatsim/vatsimdatafilereader.h"
#include "blackcore/airspaceanalyzer.h"
#include "blackcore/airspacemonitor.h"
#include "blackcore/aircraftmatcher.h"
#include "blackcore/application.h"
#include "blackcore/webdataservices.h"

View File

@@ -47,9 +47,8 @@ SOURCES += $$PWD/afv/crypto/*.cpp
SOURCES += $$PWD/afv/connection/*.cpp
SOURCES += $$PWD/afv/model/*.cpp
LIBS *= \
-lvatsimauth \
-lsodium \
LIBS *= -lvatsimauth
LIBS *= -lsodium
DESTDIR = $$DestRoot/lib
DLLDESTDIR = $$DestRoot/bin

View File

@@ -32,17 +32,17 @@ namespace BlackCore
};
};
constexpr double pitchMultiplier ()
constexpr double pitchMultiplier()
{
return 256.0 / 90.0;
}
constexpr double bankMultiplier ()
constexpr double bankMultiplier()
{
return 512.0 / 180.0;
}
constexpr double headingMultiplier ()
constexpr double headingMultiplier()
{
return 1024.0 / 360.0;
}
@@ -78,7 +78,7 @@ namespace BlackCore
bank = iBank;
heading = pbhstrct.hdg / headingMultiplier();
onGround = pbhstrct.onground == 1 ? true : false;
onGround = pbhstrct.onground == 1;
}
}
}