Moved XPData array to DataManager and removed DataMaps.
After removing C++11 features, only the declaration of XPData remained in DataMaps, making it somewhat pointless to separate XPData from DataManager.
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
// without specific prior written permission from the authors or
|
||||
// Laminar Research, respectively.
|
||||
#include "DataManager.h"
|
||||
#include "DataMaps.h"
|
||||
#include "Log.h"
|
||||
|
||||
#include "XPLMDataAccess.h"
|
||||
@@ -33,6 +32,8 @@ namespace XPC
|
||||
static map<DREF, XPLMDataRef> mdrefs[20];
|
||||
static map<string, XPLMDataRef> sdrefs;
|
||||
|
||||
DREF XPData[134][8] = { DREF_None };
|
||||
|
||||
void DataManager::Initialize()
|
||||
{
|
||||
drefs.insert(make_pair(DREF_None, XPLMFindDataRef("sim/test/test_float")));
|
||||
|
||||
Reference in New Issue
Block a user