From ba26be9bea801f219fa6340178fd6b13f02d574e Mon Sep 17 00:00:00 2001 From: BobTheBob9 Date: Thu, 15 Sep 2022 00:20:56 +0100 Subject: clang format, fix issues with server registration and rpak loading --- NorthstarDLL/buildainfile.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'NorthstarDLL/buildainfile.cpp') diff --git a/NorthstarDLL/buildainfile.cpp b/NorthstarDLL/buildainfile.cpp index c61484c7..8190adba 100644 --- a/NorthstarDLL/buildainfile.cpp +++ b/NorthstarDLL/buildainfile.cpp @@ -361,16 +361,20 @@ void DumpAINInfo(CAI_Network* aiNetwork) writeStream.close(); } +// clang-format off AUTOHOOK(CAI_NetworkBuilder__Build, server.dll + 0x385E20, -void,, (void* builder, CAI_Network* aiNetwork, void* unknown)) +void, __fastcall, (void* builder, CAI_Network* aiNetwork, void* unknown)) +// clang-format on { CAI_NetworkBuilder__Build(builder, aiNetwork, unknown); DumpAINInfo(aiNetwork); } +// clang-format off AUTOHOOK(LoadAINFile, server.dll + 0x3933A0, -void,, (void* aimanager, void* buf, const char* filename)) +void, __fastcall, (void* aimanager, void* buf, const char* filename)) +// clang-format on { LoadAINFile(aimanager, buf, filename); -- cgit v1.2.3