diff options
author | Maya <malte.hoermeyer@web.de> | 2022-07-21 02:54:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 02:54:00 +0200 |
commit | 938d89713eb055340b5e8866de3000b61e4a0f13 (patch) | |
tree | 65c266a244c27ff47ec0f4086a15a97a099ee493 /NorthstarDedicatedTest/dllmain.cpp | |
parent | d20cf6f08af37830d3bfc934cef356fa6a1aa102 (diff) | |
download | NorthstarLauncher-938d89713eb055340b5e8866de3000b61e4a0f13.tar.gz NorthstarLauncher-938d89713eb055340b5e8866de3000b61e4a0f13.zip |
Implemented Json into the squirrel vm (#172)
* Implemented Json into the squirrel vm
* Formatting
* More Formatting
* Even more Formatting
* Added Init functions to dllMain
* Formatting
* Changed to use Source Allocator
* Renaming Part 1
* Renaming Part 2
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index d64cc34f..41236506 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -52,6 +52,7 @@ #include "rapidjson/writer.h" #include "rapidjson/error/en.h" #include "ExploitFixes.h" +#include "scriptJson.h" typedef void (*initPluginFuncPtr)(void* getPluginObject); @@ -256,6 +257,7 @@ bool InitialiseNorthstar() AddDllLoadCallbackForClient("client.dll", InitialiseClientVideoOverrides); AddDllLoadCallbackForClient("engine.dll", InitialiseEngineClientRUIHooks); AddDllLoadCallbackForClient("engine.dll", InitialiseDebugOverlay); + AddDllLoadCallbackForClient("client.dll", InitialiseClientSquirrelJson); AddDllLoadCallbackForClient("client.dll", InitialiseClientSquirrelUtilityFunctions); // audio hooks AddDllLoadCallbackForClient("client.dll", InitialiseMilesAudioHooks); @@ -270,6 +272,7 @@ bool InitialiseNorthstar() AddDllLoadCallback("server.dll", InitialiseMiscServerFixes); AddDllLoadCallback("server.dll", InitialiseBuildAINFileHooks); AddDllLoadCallback("server.dll", InitialiseServerSquirrelUtilityFunctions); + AddDllLoadCallback("server.dll", InitialiseServerSquirrelJson); AddDllLoadCallback("engine.dll", InitialisePlaylistHooks); |