aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-26 15:13:45 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-26 15:13:45 +0100
commita4434a4db16c347d5453354c1a15555d168ec7b9 (patch)
tree976188f0fef133c1f8fc7ebf757296b0ea848a7e /NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
parente98fc31a93dfc9a14db7bb5510d25df0226d6fd3 (diff)
downloadNorthstarLauncher-a4434a4db16c347d5453354c1a15555d168ec7b9.tar.gz
NorthstarLauncher-a4434a4db16c347d5453354c1a15555d168ec7b9.zip
commandline struct change, dedicated refactor
Diffstat (limited to 'NorthstarDedicatedTest/dedicatedmaterialsystem.cpp')
-rw-r--r--NorthstarDedicatedTest/dedicatedmaterialsystem.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
index 48ade24d..e334e8fe 100644
--- a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
+++ b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
@@ -8,6 +8,30 @@ void InitialiseDedicatedMaterialSystem(HMODULE baseAddress)
{
if (!IsDedicated())
return;
+
+ // not using these for now since they're related to nopping renderthread/gamewindow i.e. very hard
+ //{
+ // // function that launches renderthread
+ // char* ptr = (char*)baseAddress + 0x87047;
+ // TempReadWrite rw(ptr);
+ //
+ // // make it not launch renderthread
+ // *ptr = (char)0x90;
+ // *(ptr + 1) = (char)0x90;
+ // *(ptr + 2) = (char)0x90;
+ // *(ptr + 3) = (char)0x90;
+ // *(ptr + 4) = (char)0x90;
+ // *(ptr + 5) = (char)0x90;
+ //}
+ //
+ //{
+ // // some function that waits on renderthread job
+ // char* ptr = (char*)baseAddress + 0x87d00;
+ // TempReadWrite rw(ptr);
+ //
+ // // return immediately
+ // *ptr = (char)0xC3;
+ //}
{
// CMaterialSystem::FindMaterial