Moved gameconf code from core to logic (bug 4406 part 11, r=ds).

--HG--
rename : core/GameConfigs.cpp => core/logic/GameConfigs.cpp
rename : core/GameConfigs.h => core/logic/GameConfigs.h
rename : core/smn_gameconfigs.cpp => core/logic/smn_gameconfigs.cpp
This commit is contained in:
David Anderson
2010-05-14 23:35:42 -07:00
parent 96f6cdf677
commit 64455b9852
25 changed files with 254 additions and 204 deletions
+3 -1
View File
@@ -44,7 +44,7 @@
#include "PlayerManager.h"
#include "ForwardSys.h"
#include "TimerSys.h"
#include "GameConfigs.h"
#include <IGameConfigs.h>
#include "DebugReporter.h"
#include "frame_hooks.h"
#include "logic_bridge.h"
@@ -62,6 +62,7 @@ ISourcePawnEngine *g_pSourcePawn = NULL;
ISourcePawnEngine2 *g_pSourcePawn2 = NULL;
IdentityToken_t *g_pCoreIdent = NULL;
IForward *g_pOnMapEnd = NULL;
IGameConfig *g_pGameConf = NULL;
bool g_Loaded = false;
bool sm_show_debug_spew = false;
@@ -277,6 +278,7 @@ void SourceModBase::StartSourceMod(bool late)
pBase->OnSourceModStartup(false);
pBase = pBase->m_pGlobalClassNext;
}
g_pGameConf = logicore.GetCoreGameConfig();
/* Notify! */
pBase = SMGlobalClass::head;