aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/convar/cvar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/core/convar/cvar.cpp')
-rw-r--r--NorthstarDLL/core/convar/cvar.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/NorthstarDLL/core/convar/cvar.cpp b/NorthstarDLL/core/convar/cvar.cpp
deleted file mode 100644
index aa5f0365..00000000
--- a/NorthstarDLL/core/convar/cvar.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "cvar.h"
-#include "convar.h"
-#include "concommand.h"
-
-//-----------------------------------------------------------------------------
-// Purpose: returns all ConVars
-//-----------------------------------------------------------------------------
-std::unordered_map<std::string, ConCommandBase*> CCvar::DumpToMap()
-{
- std::stringstream ss;
- CCVarIteratorInternal* itint = FactoryInternalIterator(); // Allocate new InternalIterator.
-
- std::unordered_map<std::string, ConCommandBase*> allConVars;
-
- for (itint->SetFirst(); itint->IsValid(); itint->Next()) // Loop through all instances.
- {
- ConCommandBase* pCommand = itint->Get();
- const char* pszCommandName = pCommand->m_pszName;
- allConVars[pszCommandName] = pCommand;
- }
-
- return allConVars;
-}
-
-SourceInterface<CCvar>* g_pCVarInterface;
-CCvar* g_pCVar;