mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Ref T709, changed to "static" settings as it needs to be used in static functions such as "CTraffic::preferences"
This commit is contained in:
committed by
Mat Sutcliffe
parent
f2f9ee8818
commit
1440c4d2e9
@@ -37,7 +37,7 @@ namespace XSwiftBus
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
CTraffic(CSettings &settings);
|
||||
CTraffic(CSettings *staticSettings);
|
||||
|
||||
//! Destructor
|
||||
~CTraffic() override;
|
||||
@@ -144,10 +144,11 @@ namespace XSwiftBus
|
||||
bool isInitialized = false;
|
||||
};
|
||||
|
||||
static CSettings *s_pluginSettings; //!< needs to be static for static functions
|
||||
|
||||
bool m_initialized = false;
|
||||
bool m_enabledMultiplayer = false;
|
||||
CTerrainProbe m_terrainProbe;
|
||||
CSettings &m_pluginSettings;
|
||||
|
||||
void emitSimFrame();
|
||||
void emitPlaneAdded(const std::string &callsign);
|
||||
|
||||
Reference in New Issue
Block a user