From 46bed8d09f32360377350d71816a76abdfbf2c7c Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 24 Aug 2022 00:32:31 +0100 Subject: Adjust folder structure (#242) * Adjust folder structure * change launcher directory name --- NorthstarDedicatedTest/cvar.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 NorthstarDedicatedTest/cvar.cpp (limited to 'NorthstarDedicatedTest/cvar.cpp') diff --git a/NorthstarDedicatedTest/cvar.cpp b/NorthstarDedicatedTest/cvar.cpp deleted file mode 100644 index 23d767fd..00000000 --- a/NorthstarDedicatedTest/cvar.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "pch.h" -#include "cvar.h" -#include "convar.h" -#include "concommand.h" - -//----------------------------------------------------------------------------- -// Purpose: returns all ConVars -//----------------------------------------------------------------------------- -std::unordered_map CCvar::DumpToMap() -{ - std::stringstream ss; - CCVarIteratorInternal* itint = FactoryInternalIterator(); // Allocate new InternalIterator. - - std::unordered_map 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* g_pCVarInterface; -CCvar* g_pCVar; \ No newline at end of file -- cgit v1.2.3