Move DebugReporter from core to logic (bug 5607, r=psychonic).

--HG--
rename : core/DebugReporter.cpp => core/logic/DebugReporter.cpp
rename : core/DebugReporter.h => core/logic/DebugReporter.h
This commit is contained in:
David Anderson
2013-02-16 15:57:00 -08:00
parent 5f0a55057e
commit 1e8a6e878d
11 changed files with 65 additions and 56 deletions
+1 -2
View File
@@ -45,7 +45,6 @@
#include "ForwardSys.h"
#include "TimerSys.h"
#include <IGameConfigs.h>
#include "DebugReporter.h"
#include "frame_hooks.h"
#include "logic_bridge.h"
@@ -242,7 +241,7 @@ bool SourceModBase::InitializeSourceMod(char *error, size_t maxlength, bool late
return false;
}
g_pSourcePawn2->SetDebugListener(&g_DbgReporter);
g_pSourcePawn2->SetDebugListener(logicore.debugger);
/* Hook this now so we can detect startup without calling StartSourceMod() */
SH_ADD_HOOK_MEMFUNC(IServerGameDLL, LevelInit, gamedll, this, &SourceModBase::LevelInit, false);