aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorr-ex <67599507+r-ex@users.noreply.github.com>2022-04-21 03:03:09 +0100
committerGitHub <noreply@github.com>2022-04-21 03:03:09 +0100
commitc2f9dd4695824a75e930db5eaea96f5df2f4ea27 (patch)
treecd971ad20fdbddf02e8e6a629da66b4b008ef2af /NorthstarDedicatedTest/dllmain.cpp
parent47ea109be0d73120ddfe6896494e1fce986515b3 (diff)
downloadNorthstarLauncher-c2f9dd4695824a75e930db5eaea96f5df2f4ea27.tar.gz
NorthstarLauncher-c2f9dd4695824a75e930db5eaea96f5df2f4ea27.zip
DebugOverlay (#106)
* DebugOverlay yea * default enable_debug_overlays to 0, and make FCVAR_CHEAT Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index b5e06e3a..26503f52 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -39,6 +39,7 @@
#include "scriptservertoclientstringcommand.h"
#include "plugin_abi.h"
#include "plugins.h"
+#include "debugoverlay.h"
#include "clientvideooverrides.h"
#include "clientruihooks.h"
#include <string.h>
@@ -229,6 +230,7 @@ bool InitialiseNorthstar()
// client-exclusive patches
{
+
AddDllLoadCallbackForClient("tier0.dll", InitialiseTier0LanguageHooks);
AddDllLoadCallbackForClient("client.dll", InitialiseClientSquirrel);
AddDllLoadCallbackForClient("client.dll", InitialiseSourceConsole);
@@ -248,7 +250,7 @@ bool InitialiseNorthstar()
AddDllLoadCallbackForClient("client.dll", InitialiseScriptServerToClientStringCommands);
AddDllLoadCallbackForClient("client.dll", InitialiseClientVideoOverrides);
AddDllLoadCallbackForClient("engine.dll", InitialiseEngineClientRUIHooks);
-
+ AddDllLoadCallbackForClient("engine.dll", InitialiseDebugOverlay);
// audio hooks
AddDllLoadCallbackForClient("client.dll", InitialiseMilesAudioHooks);
}