48 lines
622 B
C++
Executable File
48 lines
622 B
C++
Executable File
|
|
|
|
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QJsonObject>
|
|
|
|
namespace NGL
|
|
{
|
|
class Settings;
|
|
}
|
|
|
|
namespace TrainingAreaBase
|
|
{
|
|
|
|
namespace Settings
|
|
{
|
|
|
|
|
|
NGL::Settings *settings();
|
|
|
|
void setIniFile(const QString &ini);
|
|
QString txDir();
|
|
QString rxDir();
|
|
qint64 timeDelayAhead();
|
|
qint64 timeDelayBack();
|
|
bool useTetraScramling();
|
|
bool usePvSan();
|
|
|
|
|
|
qint64 explosionToEffectDelayInMSec();
|
|
|
|
|
|
qint64 distanceIpsToGps();
|
|
qint64 distanceOpsToGps();
|
|
double maxSoldierSpeed();
|
|
qint64 maxSpeedCheckTimeout();
|
|
|
|
QJsonObject remainingEffects();
|
|
|
|
|
|
qint64 laserRangeCode();
|
|
|
|
QPair<quint16, quint16> getWebSocketServerPortRange(int type);
|
|
}
|
|
|
|
}
|