aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NorthstarDLL/ExploitFixes_UTF8Parser.h2
-rw-r--r--NorthstarDLL/audio.h2
-rw-r--r--NorthstarDLL/audio_asm.asm2
-rw-r--r--NorthstarDLL/bansystem.h2
-rw-r--r--NorthstarDLL/bitbuf.h2
-rw-r--r--NorthstarDLL/buildainfile.cpp2
-rw-r--r--NorthstarDLL/buildainfile.h2
-rw-r--r--NorthstarDLL/clientauthhooks.cpp2
-rw-r--r--NorthstarDLL/clientauthhooks.h2
-rw-r--r--NorthstarDLL/clientruihooks.cpp2
-rw-r--r--NorthstarDLL/clientruihooks.h2
-rw-r--r--NorthstarDLL/clientvideooverrides.h2
-rw-r--r--NorthstarDLL/concommand.h2
-rw-r--r--NorthstarDLL/context.cpp2
-rw-r--r--NorthstarDLL/context.h2
-rw-r--r--NorthstarDLL/convar.h2
-rw-r--r--NorthstarDLL/cvar.cpp2
-rw-r--r--NorthstarDLL/cvar.h2
-rw-r--r--NorthstarDLL/debugoverlay.cpp2
-rw-r--r--NorthstarDLL/debugoverlay.h2
-rw-r--r--NorthstarDLL/dedicated.cpp2
-rw-r--r--NorthstarDLL/dedicated.h2
-rw-r--r--NorthstarDLL/dedicatedmaterialsystem.h2
-rw-r--r--NorthstarDLL/filesystem.h2
-rw-r--r--NorthstarDLL/gameutils.cpp2
-rw-r--r--NorthstarDLL/gameutils.h2
-rw-r--r--NorthstarDLL/hooks.h2
-rw-r--r--NorthstarDLL/hookutils.cpp2
-rw-r--r--NorthstarDLL/keyvalues.cpp2
-rw-r--r--NorthstarDLL/keyvalues.h2
-rw-r--r--NorthstarDLL/languagehooks.cpp2
-rw-r--r--NorthstarDLL/latencyflex.cpp2
-rw-r--r--NorthstarDLL/latencyflex.h2
-rw-r--r--NorthstarDLL/logging.h2
-rw-r--r--NorthstarDLL/main.h2
-rw-r--r--NorthstarDLL/maxplayers.h2
-rw-r--r--NorthstarDLL/miscclientfixes.cpp2
-rw-r--r--NorthstarDLL/miscclientfixes.h2
-rw-r--r--NorthstarDLL/misccommands.cpp2
-rw-r--r--NorthstarDLL/misccommands.h2
-rw-r--r--NorthstarDLL/miscserverfixes.cpp2
-rw-r--r--NorthstarDLL/miscserverfixes.h2
-rw-r--r--NorthstarDLL/miscserverscript.cpp2
-rw-r--r--NorthstarDLL/miscserverscript.h2
-rw-r--r--NorthstarDLL/modlocalisation.cpp2
-rw-r--r--NorthstarDLL/modlocalisation.h2
-rw-r--r--NorthstarDLL/modmanager.cpp2
-rw-r--r--NorthstarDLL/modmanager.h2
-rw-r--r--NorthstarDLL/pch.h2
-rw-r--r--NorthstarDLL/pdef.cpp2
-rw-r--r--NorthstarDLL/pdef.h2
-rw-r--r--NorthstarDLL/playlist.cpp2
-rw-r--r--NorthstarDLL/playlist.h2
-rw-r--r--NorthstarDLL/plugin_abi.h2
-rw-r--r--NorthstarDLL/plugins.h2
-rw-r--r--NorthstarDLL/rpakfilesystem.h2
-rw-r--r--NorthstarDLL/scriptbrowserhooks.cpp2
-rw-r--r--NorthstarDLL/scriptbrowserhooks.h2
-rw-r--r--NorthstarDLL/scriptjson.h2
-rw-r--r--NorthstarDLL/scriptmainmenupromos.cpp2
-rw-r--r--NorthstarDLL/scriptmainmenupromos.h2
-rw-r--r--NorthstarDLL/scriptmodmenu.cpp2
-rw-r--r--NorthstarDLL/scriptmodmenu.h2
-rw-r--r--NorthstarDLL/scriptserverbrowser.cpp2
-rw-r--r--NorthstarDLL/scriptserverbrowser.h2
-rw-r--r--NorthstarDLL/scriptservertoclientstringcommand.h2
-rw-r--r--NorthstarDLL/scriptsrson.cpp2
-rw-r--r--NorthstarDLL/scriptsrson.h2
-rw-r--r--NorthstarDLL/scriptutility.cpp2
-rw-r--r--NorthstarDLL/scriptutility.h2
-rw-r--r--NorthstarDLL/sigscanning.h2
-rw-r--r--NorthstarDLL/sourceconsole.cpp2
-rw-r--r--NorthstarDLL/sourceconsole.h2
-rw-r--r--NorthstarDLL/sourceinterface.h2
-rw-r--r--NorthstarDLL/version.h2
75 files changed, 75 insertions, 75 deletions
diff --git a/NorthstarDLL/ExploitFixes_UTF8Parser.h b/NorthstarDLL/ExploitFixes_UTF8Parser.h
index 41242655..24545ea3 100644
--- a/NorthstarDLL/ExploitFixes_UTF8Parser.h
+++ b/NorthstarDLL/ExploitFixes_UTF8Parser.h
@@ -172,4 +172,4 @@ namespace ExploitFixes_UTF8Parser
LABEL_48:
return true;
}
-} // namespace ExploitFixes_UTF8Parser \ No newline at end of file
+} // namespace ExploitFixes_UTF8Parser
diff --git a/NorthstarDLL/audio.h b/NorthstarDLL/audio.h
index 6ed3ce57..bf3f0d87 100644
--- a/NorthstarDLL/audio.h
+++ b/NorthstarDLL/audio.h
@@ -47,4 +47,4 @@ class CustomAudioManager
extern CustomAudioManager g_CustomAudioManager;
-void InitialiseMilesAudioHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialiseMilesAudioHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/audio_asm.asm b/NorthstarDLL/audio_asm.asm
index 4c527f9d..1b2d3f8d 100644
--- a/NorthstarDLL/audio_asm.asm
+++ b/NorthstarDLL/audio_asm.asm
@@ -5,4 +5,4 @@ Audio_GetParentEvent proc
mov rax, r12
ret
Audio_GetParentEvent endp
-end \ No newline at end of file
+end
diff --git a/NorthstarDLL/bansystem.h b/NorthstarDLL/bansystem.h
index e78094bf..3b6ae587 100644
--- a/NorthstarDLL/bansystem.h
+++ b/NorthstarDLL/bansystem.h
@@ -18,4 +18,4 @@ class ServerBanSystem
extern ServerBanSystem* g_ServerBanSystem;
-void InitialiseBanSystem(HMODULE baseAddress); \ No newline at end of file
+void InitialiseBanSystem(HMODULE baseAddress);
diff --git a/NorthstarDLL/bitbuf.h b/NorthstarDLL/bitbuf.h
index 520e5d0a..8e8e216f 100644
--- a/NorthstarDLL/bitbuf.h
+++ b/NorthstarDLL/bitbuf.h
@@ -1145,4 +1145,4 @@ class BFWrite : public BitBufferBase
bool m_Flushed = false; // :flushed:
};
-#undef INLINE \ No newline at end of file
+#undef INLINE
diff --git a/NorthstarDLL/buildainfile.cpp b/NorthstarDLL/buildainfile.cpp
index 010f0975..0054c4a1 100644
--- a/NorthstarDLL/buildainfile.cpp
+++ b/NorthstarDLL/buildainfile.cpp
@@ -397,4 +397,4 @@ void InitialiseBuildAINFileHooks(HMODULE baseAddress)
// due to the sheer amount of logging this is a massive perf hit to generation, but spewlog_enable 0 exists so whatever
NSMem::NOP(base + 0x3889B6, 6);
NSMem::NOP(base + 0x3889BF, 6);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/buildainfile.h b/NorthstarDLL/buildainfile.h
index a3c0e090..9ec01f18 100644
--- a/NorthstarDLL/buildainfile.h
+++ b/NorthstarDLL/buildainfile.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseBuildAINFileHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialiseBuildAINFileHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/clientauthhooks.cpp b/NorthstarDLL/clientauthhooks.cpp
index 5c1c4510..cdabf7f2 100644
--- a/NorthstarDLL/clientauthhooks.cpp
+++ b/NorthstarDLL/clientauthhooks.cpp
@@ -44,4 +44,4 @@ void InitialiseClientAuthHooks(HMODULE baseAddress)
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x1843A0, &AuthWithStryderHook, reinterpret_cast<LPVOID*>(&AuthWithStryder));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/clientauthhooks.h b/NorthstarDLL/clientauthhooks.h
index e40a68a5..4d7e7ccf 100644
--- a/NorthstarDLL/clientauthhooks.h
+++ b/NorthstarDLL/clientauthhooks.h
@@ -1,2 +1,2 @@
#pragma once
-void InitialiseClientAuthHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialiseClientAuthHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/clientruihooks.cpp b/NorthstarDLL/clientruihooks.cpp
index bc6c7aa7..a05ef217 100644
--- a/NorthstarDLL/clientruihooks.cpp
+++ b/NorthstarDLL/clientruihooks.cpp
@@ -21,4 +21,4 @@ void InitialiseEngineClientRUIHooks(HMODULE baseAddress)
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0xFC500, &DrawRUIFuncHook, reinterpret_cast<LPVOID*>(&DrawRUIFunc));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/clientruihooks.h b/NorthstarDLL/clientruihooks.h
index 967ccefe..57b79d9b 100644
--- a/NorthstarDLL/clientruihooks.h
+++ b/NorthstarDLL/clientruihooks.h
@@ -1,2 +1,2 @@
#pragma once
-void InitialiseEngineClientRUIHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialiseEngineClientRUIHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/clientvideooverrides.h b/NorthstarDLL/clientvideooverrides.h
index a5e961f5..8fdbba3f 100644
--- a/NorthstarDLL/clientvideooverrides.h
+++ b/NorthstarDLL/clientvideooverrides.h
@@ -1,2 +1,2 @@
#pragma once
-void InitialiseEngineClientVideoOverrides(HMODULE baseAddress); \ No newline at end of file
+void InitialiseEngineClientVideoOverrides(HMODULE baseAddress);
diff --git a/NorthstarDLL/concommand.h b/NorthstarDLL/concommand.h
index ea35ec1f..15e289d8 100644
--- a/NorthstarDLL/concommand.h
+++ b/NorthstarDLL/concommand.h
@@ -124,4 +124,4 @@ class ConCommand : public ConCommandBase
void RegisterConCommand(const char* name, void (*callback)(const CCommand&), const char* helpString, int flags);
void InitialiseConCommands(HMODULE baseAddress);
-#define MAKE_CONCMD(name, helpStr, flags, fn) RegisterConCommand(name, fn, helpStr, flags); \ No newline at end of file
+#define MAKE_CONCMD(name, helpStr, flags, fn) RegisterConCommand(name, fn, helpStr, flags);
diff --git a/NorthstarDLL/context.cpp b/NorthstarDLL/context.cpp
index 7478faa3..19ee85a3 100644
--- a/NorthstarDLL/context.cpp
+++ b/NorthstarDLL/context.cpp
@@ -11,4 +11,4 @@ const char* GetContextName(ScriptContext context)
return "UI";
return "";
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/context.h b/NorthstarDLL/context.h
index b6097780..d872f738 100644
--- a/NorthstarDLL/context.h
+++ b/NorthstarDLL/context.h
@@ -8,4 +8,4 @@ enum class ScriptContext : int
NONE
};
-const char* GetContextName(ScriptContext context); \ No newline at end of file
+const char* GetContextName(ScriptContext context);
diff --git a/NorthstarDLL/convar.h b/NorthstarDLL/convar.h
index b1424fb7..15f1f562 100644
--- a/NorthstarDLL/convar.h
+++ b/NorthstarDLL/convar.h
@@ -146,4 +146,4 @@ class ConVar
char m_pPad80[10] {}; // 0x0080
}; // Size: 0x0080
-void InitialiseConVars(HMODULE baseAddress); \ No newline at end of file
+void InitialiseConVars(HMODULE baseAddress);
diff --git a/NorthstarDLL/cvar.cpp b/NorthstarDLL/cvar.cpp
index 23d767fd..04594b8f 100644
--- a/NorthstarDLL/cvar.cpp
+++ b/NorthstarDLL/cvar.cpp
@@ -24,4 +24,4 @@ std::unordered_map<std::string, ConCommandBase*> CCvar::DumpToMap()
}
SourceInterface<CCvar>* g_pCVarInterface;
-CCvar* g_pCVar; \ No newline at end of file
+CCvar* g_pCVar;
diff --git a/NorthstarDLL/cvar.h b/NorthstarDLL/cvar.h
index c4525cef..a39df387 100644
--- a/NorthstarDLL/cvar.h
+++ b/NorthstarDLL/cvar.h
@@ -36,4 +36,4 @@ class CCvar
};
extern SourceInterface<CCvar>* g_pCVarInterface;
-extern CCvar* g_pCVar; \ No newline at end of file
+extern CCvar* g_pCVar;
diff --git a/NorthstarDLL/debugoverlay.cpp b/NorthstarDLL/debugoverlay.cpp
index e29da96b..dec7353e 100644
--- a/NorthstarDLL/debugoverlay.cpp
+++ b/NorthstarDLL/debugoverlay.cpp
@@ -172,4 +172,4 @@ void InitialiseDebugOverlay(HMODULE baseAddress)
Cvar_enable_debug_overlays->SetValue(false);
Cvar_enable_debug_overlays->m_pszDefaultValue = (char*)"0";
Cvar_enable_debug_overlays->AddFlags(FCVAR_CHEAT);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/debugoverlay.h b/NorthstarDLL/debugoverlay.h
index a300018c..40b752f3 100644
--- a/NorthstarDLL/debugoverlay.h
+++ b/NorthstarDLL/debugoverlay.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseDebugOverlay(HMODULE baseAddress); \ No newline at end of file
+void InitialiseDebugOverlay(HMODULE baseAddress);
diff --git a/NorthstarDLL/dedicated.cpp b/NorthstarDLL/dedicated.cpp
index 5099a6d2..0546d5b8 100644
--- a/NorthstarDLL/dedicated.cpp
+++ b/NorthstarDLL/dedicated.cpp
@@ -326,4 +326,4 @@ void InitialiseDedicatedServerGameDLL(HMODULE baseAddress)
{
HookEnabler hook;
ENABLER_CREATEHOOK(hook, baseAddress + 0x794D0, &PrintFatalSquirrelErrorHook, reinterpret_cast<LPVOID*>(&PrintFatalSquirrelError));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/dedicated.h b/NorthstarDLL/dedicated.h
index 0b4d9188..51630025 100644
--- a/NorthstarDLL/dedicated.h
+++ b/NorthstarDLL/dedicated.h
@@ -4,4 +4,4 @@ bool IsDedicated();
void InitialiseDedicated(HMODULE moduleAddress);
void InitialiseDedicatedOrigin(HMODULE baseAddress);
-void InitialiseDedicatedServerGameDLL(HMODULE baseAddress); \ No newline at end of file
+void InitialiseDedicatedServerGameDLL(HMODULE baseAddress);
diff --git a/NorthstarDLL/dedicatedmaterialsystem.h b/NorthstarDLL/dedicatedmaterialsystem.h
index 38343d17..189001e6 100644
--- a/NorthstarDLL/dedicatedmaterialsystem.h
+++ b/NorthstarDLL/dedicatedmaterialsystem.h
@@ -1,3 +1,3 @@
#pragma once
void InitialiseDedicatedMaterialSystem(HMODULE baseAddress);
-void InitialiseDedicatedRtechGame(HMODULE baseAddress); \ No newline at end of file
+void InitialiseDedicatedRtechGame(HMODULE baseAddress);
diff --git a/NorthstarDLL/filesystem.h b/NorthstarDLL/filesystem.h
index 960c2836..6015c6a5 100644
--- a/NorthstarDLL/filesystem.h
+++ b/NorthstarDLL/filesystem.h
@@ -71,4 +71,4 @@ std::string ReadVPKFile(const char* path);
std::string ReadVPKOriginalFile(const char* path);
void InitialiseFilesystem(HMODULE baseAddress);
-extern SourceInterface<IFileSystem>* g_Filesystem; \ No newline at end of file
+extern SourceInterface<IFileSystem>* g_Filesystem;
diff --git a/NorthstarDLL/gameutils.cpp b/NorthstarDLL/gameutils.cpp
index 792d8bf2..405624ca 100644
--- a/NorthstarDLL/gameutils.cpp
+++ b/NorthstarDLL/gameutils.cpp
@@ -116,4 +116,4 @@ void InitialiseTier0GameUtilFunctions(HMODULE baseAddress)
CommandLine = reinterpret_cast<CommandLineType>(GetProcAddress(baseAddress, "CommandLine"));
Plat_FloatTime = reinterpret_cast<Plat_FloatTimeType>(GetProcAddress(baseAddress, "Plat_FloatTime"));
ThreadInServerFrameThread = reinterpret_cast<ThreadInServerFrameThreadType>(GetProcAddress(baseAddress, "ThreadInServerFrameThread"));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/gameutils.h b/NorthstarDLL/gameutils.h
index 6d625c16..e86fa38c 100644
--- a/NorthstarDLL/gameutils.h
+++ b/NorthstarDLL/gameutils.h
@@ -246,4 +246,4 @@ extern GetBaseLocalClientType GetBaseLocalClient;
void InitialiseEngineGameUtilFunctions(HMODULE baseAddress);
void InitialiseServerGameUtilFunctions(HMODULE baseAddress);
-void InitialiseTier0GameUtilFunctions(HMODULE baseAddress); \ No newline at end of file
+void InitialiseTier0GameUtilFunctions(HMODULE baseAddress);
diff --git a/NorthstarDLL/hooks.h b/NorthstarDLL/hooks.h
index ab7b3d64..aca66491 100644
--- a/NorthstarDLL/hooks.h
+++ b/NorthstarDLL/hooks.h
@@ -8,4 +8,4 @@ void AddDllLoadCallback(std::string dll, DllLoadCallbackFuncType callback);
void AddDllLoadCallbackForDedicatedServer(std::string dll, DllLoadCallbackFuncType callback);
void AddDllLoadCallbackForClient(std::string dll, DllLoadCallbackFuncType callback);
-void CallAllPendingDLLLoadCallbacks(); \ No newline at end of file
+void CallAllPendingDLLLoadCallbacks();
diff --git a/NorthstarDLL/hookutils.cpp b/NorthstarDLL/hookutils.cpp
index f5df3996..dbb45f51 100644
--- a/NorthstarDLL/hookutils.cpp
+++ b/NorthstarDLL/hookutils.cpp
@@ -41,4 +41,4 @@ HookEnabler::~HookEnabler()
else
spdlog::info("Enabling hook {}", hook->targetName);
}
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/keyvalues.cpp b/NorthstarDLL/keyvalues.cpp
index 2063be62..0d829de9 100644
--- a/NorthstarDLL/keyvalues.cpp
+++ b/NorthstarDLL/keyvalues.cpp
@@ -134,4 +134,4 @@ void ModManager::TryBuildKeyValues(const char* filename)
m_modFiles.insert(std::make_pair(normalisedPath, overrideFile));
else
m_modFiles[normalisedPath] = overrideFile;
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/keyvalues.h b/NorthstarDLL/keyvalues.h
index b7de850d..8f931e3f 100644
--- a/NorthstarDLL/keyvalues.h
+++ b/NorthstarDLL/keyvalues.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseKeyValues(HMODULE baseAddress); \ No newline at end of file
+void InitialiseKeyValues(HMODULE baseAddress);
diff --git a/NorthstarDLL/languagehooks.cpp b/NorthstarDLL/languagehooks.cpp
index c8d43901..38435f93 100644
--- a/NorthstarDLL/languagehooks.cpp
+++ b/NorthstarDLL/languagehooks.cpp
@@ -116,4 +116,4 @@ void InitialiseTier0LanguageHooks(HMODULE baseAddress)
{
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0xF560, &GetGameLanguageHook, reinterpret_cast<LPVOID*>(&GetGameLanguageOriginal));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/latencyflex.cpp b/NorthstarDLL/latencyflex.cpp
index 3e2cecd7..bb274dab 100644
--- a/NorthstarDLL/latencyflex.cpp
+++ b/NorthstarDLL/latencyflex.cpp
@@ -73,4 +73,4 @@ void InitialiseLatencyFleX(HMODULE baseAddress)
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x1952C0, &OnRenderStartHook, reinterpret_cast<LPVOID*>(&OnRenderStart));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/latencyflex.h b/NorthstarDLL/latencyflex.h
index db801261..663d9ec6 100644
--- a/NorthstarDLL/latencyflex.h
+++ b/NorthstarDLL/latencyflex.h
@@ -1,2 +1,2 @@
#pragma once
-void InitialiseLatencyFleX(HMODULE baseAddress); \ No newline at end of file
+void InitialiseLatencyFleX(HMODULE baseAddress);
diff --git a/NorthstarDLL/logging.h b/NorthstarDLL/logging.h
index 2e78c81a..59537e01 100644
--- a/NorthstarDLL/logging.h
+++ b/NorthstarDLL/logging.h
@@ -4,4 +4,4 @@
void CreateLogFiles();
void InitialiseLogging();
void InitialiseEngineSpewFuncHooks(HMODULE baseAddress);
-void InitialiseClientPrintHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialiseClientPrintHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/main.h b/NorthstarDLL/main.h
index 64f9cfd2..412f1e25 100644
--- a/NorthstarDLL/main.h
+++ b/NorthstarDLL/main.h
@@ -1,4 +1,4 @@
#pragma once
extern "C" __declspec(dllexport) bool InitialiseNorthstar();
-extern "C" __declspec(dllexport) bool LoadPlugins(); \ No newline at end of file
+extern "C" __declspec(dllexport) bool LoadPlugins();
diff --git a/NorthstarDLL/maxplayers.h b/NorthstarDLL/maxplayers.h
index cd191fc8..5ce8403a 100644
--- a/NorthstarDLL/maxplayers.h
+++ b/NorthstarDLL/maxplayers.h
@@ -1,4 +1,4 @@
#pragma once
void InitialiseMaxPlayersOverride_Engine(HMODULE baseAddress);
void InitialiseMaxPlayersOverride_Server(HMODULE baseAddress);
-void InitialiseMaxPlayersOverride_Client(HMODULE baseAddress); \ No newline at end of file
+void InitialiseMaxPlayersOverride_Client(HMODULE baseAddress);
diff --git a/NorthstarDLL/miscclientfixes.cpp b/NorthstarDLL/miscclientfixes.cpp
index 62ffd4a4..888012f1 100644
--- a/NorthstarDLL/miscclientfixes.cpp
+++ b/NorthstarDLL/miscclientfixes.cpp
@@ -46,4 +46,4 @@ void InitialiseMiscClientFixes(HMODULE baseAddress)
void* ptr = (char*)baseAddress + 0x275F9D9;
*((char*)ptr) = (char)0;
}
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/miscclientfixes.h b/NorthstarDLL/miscclientfixes.h
index 1f0ad807..d2aeea25 100644
--- a/NorthstarDLL/miscclientfixes.h
+++ b/NorthstarDLL/miscclientfixes.h
@@ -1,2 +1,2 @@
#pragma once
-void InitialiseMiscClientFixes(HMODULE baseAddress); \ No newline at end of file
+void InitialiseMiscClientFixes(HMODULE baseAddress);
diff --git a/NorthstarDLL/misccommands.cpp b/NorthstarDLL/misccommands.cpp
index df2f4a3d..42ec15af 100644
--- a/NorthstarDLL/misccommands.cpp
+++ b/NorthstarDLL/misccommands.cpp
@@ -57,4 +57,4 @@ void AddMiscConCommands()
g_pHostState->m_iNextState = HS_NEW_GAME;
}
});
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/misccommands.h b/NorthstarDLL/misccommands.h
index cbd1df65..fbd41b32 100644
--- a/NorthstarDLL/misccommands.h
+++ b/NorthstarDLL/misccommands.h
@@ -1,2 +1,2 @@
#pragma once
-void AddMiscConCommands(); \ No newline at end of file
+void AddMiscConCommands();
diff --git a/NorthstarDLL/miscserverfixes.cpp b/NorthstarDLL/miscserverfixes.cpp
index e85950c4..e6bd4629 100644
--- a/NorthstarDLL/miscserverfixes.cpp
+++ b/NorthstarDLL/miscserverfixes.cpp
@@ -23,4 +23,4 @@ void InitialiseMiscServerFixes(HMODULE baseAddress)
{
NSMem::BytePatch(ba + 0x153920, "C3");
}
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/miscserverfixes.h b/NorthstarDLL/miscserverfixes.h
index d1c05a6b..ea31da6e 100644
--- a/NorthstarDLL/miscserverfixes.h
+++ b/NorthstarDLL/miscserverfixes.h
@@ -1 +1 @@
-void InitialiseMiscServerFixes(HMODULE baseAddress); \ No newline at end of file
+void InitialiseMiscServerFixes(HMODULE baseAddress);
diff --git a/NorthstarDLL/miscserverscript.cpp b/NorthstarDLL/miscserverscript.cpp
index 3b06ca10..45ab201f 100644
--- a/NorthstarDLL/miscserverscript.cpp
+++ b/NorthstarDLL/miscserverscript.cpp
@@ -73,4 +73,4 @@ void InitialiseMiscServerScriptCommand(HMODULE baseAddress)
g_ServerSquirrelManager->AddFuncRegistration("bool", "NSIsWritingPlayerPersistence", "", "", SQ_IsWritingPlayerPersistence);
g_ServerSquirrelManager->AddFuncRegistration("bool", "NSIsPlayerIndexLocalPlayer", "int playerIndex", "", SQ_IsPlayerIndexLocalPlayer);
g_ServerSquirrelManager->AddFuncRegistration("bool", "NSIsDedicated", "", "", SQ_IsDedicated);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/miscserverscript.h b/NorthstarDLL/miscserverscript.h
index 8197e502..d11e7ac5 100644
--- a/NorthstarDLL/miscserverscript.h
+++ b/NorthstarDLL/miscserverscript.h
@@ -1,2 +1,2 @@
void InitialiseMiscServerScriptCommand(HMODULE baseAddress);
-void* GetPlayerByIndex(int playerIndex); \ No newline at end of file
+void* GetPlayerByIndex(int playerIndex);
diff --git a/NorthstarDLL/modlocalisation.cpp b/NorthstarDLL/modlocalisation.cpp
index a3c45e40..c8e76d63 100644
--- a/NorthstarDLL/modlocalisation.cpp
+++ b/NorthstarDLL/modlocalisation.cpp
@@ -34,4 +34,4 @@ void InitialiseModLocalisation(HMODULE baseAddress)
{
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x6D80, AddLocalisationFileHook, reinterpret_cast<LPVOID*>(&AddLocalisationFile));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/modlocalisation.h b/NorthstarDLL/modlocalisation.h
index b7d9cd50..260affad 100644
--- a/NorthstarDLL/modlocalisation.h
+++ b/NorthstarDLL/modlocalisation.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseModLocalisation(HMODULE baseAddress); \ No newline at end of file
+void InitialiseModLocalisation(HMODULE baseAddress);
diff --git a/NorthstarDLL/modmanager.cpp b/NorthstarDLL/modmanager.cpp
index de45bd23..3c349d1c 100644
--- a/NorthstarDLL/modmanager.cpp
+++ b/NorthstarDLL/modmanager.cpp
@@ -625,4 +625,4 @@ fs::path GetModFolderPath()
fs::path GetCompiledAssetsPath()
{
return fs::path(GetNorthstarPrefix() + COMPILED_ASSETS_SUFFIX);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/modmanager.h b/NorthstarDLL/modmanager.h
index d605eec2..83cc0e40 100644
--- a/NorthstarDLL/modmanager.h
+++ b/NorthstarDLL/modmanager.h
@@ -153,4 +153,4 @@ void InitialiseModManager(HMODULE baseAddress);
fs::path GetModFolderPath();
fs::path GetCompiledAssetsPath();
-extern ModManager* g_ModManager; \ No newline at end of file
+extern ModManager* g_ModManager;
diff --git a/NorthstarDLL/pch.h b/NorthstarDLL/pch.h
index 75737a44..de22b40f 100644
--- a/NorthstarDLL/pch.h
+++ b/NorthstarDLL/pch.h
@@ -45,4 +45,4 @@ template <typename T, size_t index, typename... Args> constexpr T CallVFunc_Alt(
return CallVFunc_Alt<returnType, index> argsRaw; \
}
-#endif \ No newline at end of file
+#endif
diff --git a/NorthstarDLL/pdef.cpp b/NorthstarDLL/pdef.cpp
index 86642874..bc6ec64d 100644
--- a/NorthstarDLL/pdef.cpp
+++ b/NorthstarDLL/pdef.cpp
@@ -114,4 +114,4 @@ void ModManager::BuildPdef()
m_modFiles.insert(std::make_pair(VPK_PDEF_PATH, overrideFile));
else
m_modFiles[VPK_PDEF_PATH] = overrideFile;
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/pdef.h b/NorthstarDLL/pdef.h
index a6bffbe4..379e76da 100644
--- a/NorthstarDLL/pdef.h
+++ b/NorthstarDLL/pdef.h
@@ -1,4 +1,4 @@
#pragma once
const fs::path MOD_PDEF_SUFFIX = "cfg/server/persistent_player_data_version_231.pdef";
-const char* VPK_PDEF_PATH = "cfg/server/persistent_player_data_version_231.pdef"; \ No newline at end of file
+const char* VPK_PDEF_PATH = "cfg/server/persistent_player_data_version_231.pdef";
diff --git a/NorthstarDLL/playlist.cpp b/NorthstarDLL/playlist.cpp
index fdb23893..6f744c6e 100644
--- a/NorthstarDLL/playlist.cpp
+++ b/NorthstarDLL/playlist.cpp
@@ -103,4 +103,4 @@ void InitialisePlaylistHooks(HMODULE baseAddress)
// patch to allow setplaylistvaroverride to be called before map init on dedicated and private match launched through the game
NSMem::NOP(ba + 0x18ED17, 6);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/playlist.h b/NorthstarDLL/playlist.h
index bf827ff4..da7de02d 100644
--- a/NorthstarDLL/playlist.h
+++ b/NorthstarDLL/playlist.h
@@ -1,2 +1,2 @@
#pragma once
-void InitialisePlaylistHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialisePlaylistHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/plugin_abi.h b/NorthstarDLL/plugin_abi.h
index 698c33ab..4b176a32 100644
--- a/NorthstarDLL/plugin_abi.h
+++ b/NorthstarDLL/plugin_abi.h
@@ -65,4 +65,4 @@ struct PlayerInfo
int (*getPlayerInfoChar)(char* out_buf, size_t out_buf_len, PlayerInfoType var);
int (*getPlayerInfoInt)(int* out_ptr, PlayerInfoType var);
int (*getPlayerInfoBool)(bool* out_ptr, PlayerInfoType var);
-}; \ No newline at end of file
+};
diff --git a/NorthstarDLL/plugins.h b/NorthstarDLL/plugins.h
index 27312da9..84f3073f 100644
--- a/NorthstarDLL/plugins.h
+++ b/NorthstarDLL/plugins.h
@@ -16,4 +16,4 @@ int getPlayerInfoBool(bool* out_ptr, PlayerInfoType var);
void initGameState();
void* getPluginObject(PluginObject var);
-void InitialisePluginCommands(HMODULE baseAddress); \ No newline at end of file
+void InitialisePluginCommands(HMODULE baseAddress);
diff --git a/NorthstarDLL/rpakfilesystem.h b/NorthstarDLL/rpakfilesystem.h
index 12ef983e..af51f6db 100644
--- a/NorthstarDLL/rpakfilesystem.h
+++ b/NorthstarDLL/rpakfilesystem.h
@@ -21,4 +21,4 @@ class PakLoadManager
std::unordered_map<size_t, int32_t> loadedPaksInv {};
};
-extern PakLoadManager* g_PakLoadManager; \ No newline at end of file
+extern PakLoadManager* g_PakLoadManager;
diff --git a/NorthstarDLL/scriptbrowserhooks.cpp b/NorthstarDLL/scriptbrowserhooks.cpp
index d90bc998..22f1101f 100644
--- a/NorthstarDLL/scriptbrowserhooks.cpp
+++ b/NorthstarDLL/scriptbrowserhooks.cpp
@@ -24,4 +24,4 @@ void InitialiseScriptExternalBrowserHooks(HMODULE baseAddress)
HookEnabler hook;
ENABLER_CREATEHOOK(
hook, (char*)baseAddress + 0x184E40, &OpenExternalWebBrowserHook, reinterpret_cast<LPVOID*>(&OpenExternalWebBrowser));
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/scriptbrowserhooks.h b/NorthstarDLL/scriptbrowserhooks.h
index 919cc92e..f303ea93 100644
--- a/NorthstarDLL/scriptbrowserhooks.h
+++ b/NorthstarDLL/scriptbrowserhooks.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseScriptExternalBrowserHooks(HMODULE baseAddress); \ No newline at end of file
+void InitialiseScriptExternalBrowserHooks(HMODULE baseAddress);
diff --git a/NorthstarDLL/scriptjson.h b/NorthstarDLL/scriptjson.h
index 5dd66855..5ee7400e 100644
--- a/NorthstarDLL/scriptjson.h
+++ b/NorthstarDLL/scriptjson.h
@@ -1,2 +1,2 @@
void InitialiseServerSquirrelJson(HMODULE baseAddress);
-void InitialiseClientSquirrelJson(HMODULE baseAddress); \ No newline at end of file
+void InitialiseClientSquirrelJson(HMODULE baseAddress);
diff --git a/NorthstarDLL/scriptmainmenupromos.cpp b/NorthstarDLL/scriptmainmenupromos.cpp
index c63d58d3..eb56a88d 100644
--- a/NorthstarDLL/scriptmainmenupromos.cpp
+++ b/NorthstarDLL/scriptmainmenupromos.cpp
@@ -133,4 +133,4 @@ void InitialiseScriptMainMenuPromos(HMODULE baseAddress)
g_UISquirrelManager->AddFuncRegistration("void", "NSRequestCustomMainMenuPromos", "", "", SQ_RequestCustomMainMenuPromos);
g_UISquirrelManager->AddFuncRegistration("bool", "NSHasCustomMainMenuPromoData", "", "", SQ_HasCustomMainMenuPromoData);
g_UISquirrelManager->AddFuncRegistration("var", "NSGetCustomMainMenuPromoData", "int promoDataKey", "", SQ_GetCustomMainMenuPromoData);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/scriptmainmenupromos.h b/NorthstarDLL/scriptmainmenupromos.h
index 2719e647..f0aa6332 100644
--- a/NorthstarDLL/scriptmainmenupromos.h
+++ b/NorthstarDLL/scriptmainmenupromos.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseScriptMainMenuPromos(HMODULE baseAddress); \ No newline at end of file
+void InitialiseScriptMainMenuPromos(HMODULE baseAddress);
diff --git a/NorthstarDLL/scriptmodmenu.cpp b/NorthstarDLL/scriptmodmenu.cpp
index ca3cfed4..767ede91 100644
--- a/NorthstarDLL/scriptmodmenu.cpp
+++ b/NorthstarDLL/scriptmodmenu.cpp
@@ -200,4 +200,4 @@ void InitialiseScriptModMenu(HMODULE baseAddress)
"array<string>", "NSGetModConvarsByModName", "string modName", "Returns the names of all a given mod's cvars", SQ_GetModConvars);
g_UISquirrelManager->AddFuncRegistration("void", "NSReloadMods", "", "Reloads mods", SQ_ReloadMods);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/scriptmodmenu.h b/NorthstarDLL/scriptmodmenu.h
index 019346d3..e7f71b11 100644
--- a/NorthstarDLL/scriptmodmenu.h
+++ b/NorthstarDLL/scriptmodmenu.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseScriptModMenu(HMODULE baseAddress); \ No newline at end of file
+void InitialiseScriptModMenu(HMODULE baseAddress);
diff --git a/NorthstarDLL/scriptserverbrowser.cpp b/NorthstarDLL/scriptserverbrowser.cpp
index b0e19fc1..aa5b0e17 100644
--- a/NorthstarDLL/scriptserverbrowser.cpp
+++ b/NorthstarDLL/scriptserverbrowser.cpp
@@ -447,4 +447,4 @@ void InitialiseScriptServerBrowser(HMODULE baseAddress)
g_UISquirrelManager->AddFuncRegistration("void", "NSCompleteAuthWithLocalServer", "", "", SQ_CompleteAuthWithLocalServer);
g_UISquirrelManager->AddFuncRegistration("string", "NSGetAuthFailReason", "", "", SQ_GetAuthFailReason);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/scriptserverbrowser.h b/NorthstarDLL/scriptserverbrowser.h
index 55776de0..3a88a019 100644
--- a/NorthstarDLL/scriptserverbrowser.h
+++ b/NorthstarDLL/scriptserverbrowser.h
@@ -1,4 +1,4 @@
#pragma once
#include <minwindef.h>
-void InitialiseScriptServerBrowser(HMODULE baseAddress); \ No newline at end of file
+void InitialiseScriptServerBrowser(HMODULE baseAddress);
diff --git a/NorthstarDLL/scriptservertoclientstringcommand.h b/NorthstarDLL/scriptservertoclientstringcommand.h
index 609c6105..1970c1e6 100644
--- a/NorthstarDLL/scriptservertoclientstringcommand.h
+++ b/NorthstarDLL/scriptservertoclientstringcommand.h
@@ -1,3 +1,3 @@
#pragma once
-void InitialiseScriptServerToClientStringCommands(HMODULE baseAddress); \ No newline at end of file
+void InitialiseScriptServerToClientStringCommands(HMODULE baseAddress);
diff --git a/NorthstarDLL/scriptsrson.cpp b/NorthstarDLL/scriptsrson.cpp
index 91a12737..2346e7e1 100644
--- a/NorthstarDLL/scriptsrson.cpp
+++ b/NorthstarDLL/scriptsrson.cpp
@@ -64,4 +64,4 @@ void ModManager::BuildScriptsRson()
// todo: for preventing dupe scripts in scripts.rson, we could actually parse when conditions with the squirrel vm, just need a way to
// get a result out of squirrelmanager.ExecuteCode this would probably be the best way to do this, imo
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/scriptsrson.h b/NorthstarDLL/scriptsrson.h
index 140db341..5e1d5684 100644
--- a/NorthstarDLL/scriptsrson.h
+++ b/NorthstarDLL/scriptsrson.h
@@ -1,4 +1,4 @@
#pragma once
const std::string MOD_SCRIPTS_RSON_SUFFIX = "scripts/vscripts/scripts.rson";
-const char* VPK_SCRIPTS_RSON_PATH = "scripts\\vscripts\\scripts.rson"; \ No newline at end of file
+const char* VPK_SCRIPTS_RSON_PATH = "scripts\\vscripts\\scripts.rson";
diff --git a/NorthstarDLL/scriptutility.cpp b/NorthstarDLL/scriptutility.cpp
index 98c6f3a3..f781a51d 100644
--- a/NorthstarDLL/scriptutility.cpp
+++ b/NorthstarDLL/scriptutility.cpp
@@ -26,4 +26,4 @@ void InitialiseClientSquirrelUtilityFunctions(HMODULE baseAddress)
void InitialiseServerSquirrelUtilityFunctions(HMODULE baseAddress)
{
g_ServerSquirrelManager->AddFuncRegistration("asset", "StringToAsset", "string assetName", "", SQ_StringToAsset<ScriptContext::SERVER>);
-} \ No newline at end of file
+}
diff --git a/NorthstarDLL/scriptutility.h b/NorthstarDLL/scriptutility.h
index 2b58ebfb..5fdd96c7 100644
--- a/NorthstarDLL/scriptutility.h
+++ b/NorthstarDLL/scriptutility.h
@@ -1,4 +1,4 @@
#pragma once
void InitialiseClientSquirrelUtilityFunctions(HMODULE baseAddress);
-void InitialiseServerSquirrelUtilityFunctions(HMODULE baseAddress); \ No newline at end of file
+void InitialiseServerSquirrelUtilityFunctions(HMODULE baseAddress);
diff --git a/NorthstarDLL/sigscanning.h b/NorthstarDLL/sigscanning.h
index 56979fbc..5d255152 100644
--- a/NorthstarDLL/sigscanning.h
+++ b/NorthstarDLL/sigscanning.h
@@ -4,4 +4,4 @@
// note: sigscanning is only really intended to be used for resolving stuff like shared function definitions
// we mostly use raw function addresses for stuff
-void* FindSignature(std::string dllName, const char* sig, const char* mask); \ No newline at end of file
+void* FindSignature(std::string dllName, const char* sig, const char* mask);
diff --git a/NorthstarDLL/sourceconsole.cpp b/NorthstarDLL/sourceconsole.cpp
index a6d54989..2e816485 100644
--- a/NorthstarDLL/sourceconsole.cpp
+++ b/NorthstarDLL/sourceconsole.cpp
@@ -77,4 +77,4 @@ void SourceConsoleSink::sink_it_(const spdlog::details::log_msg& msg)
->m_pConsole->m_pConsolePanel->ColorPrint(logColours[msg.level], fmt::to_string(formatted).c_str()); // todo needs colour support
}
-void SourceConsoleSink::flush_() {} \ No newline at end of file
+void SourceConsoleSink::flush_() {}
diff --git a/NorthstarDLL/sourceconsole.h b/NorthstarDLL/sourceconsole.h
index cf65cbd3..1dee136a 100644
--- a/NorthstarDLL/sourceconsole.h
+++ b/NorthstarDLL/sourceconsole.h
@@ -103,4 +103,4 @@ class SourceConsoleSink : public spdlog::sinks::base_sink<std::mutex>
};
void InitialiseSourceConsole(HMODULE baseAddress);
-void InitialiseConsoleOnInterfaceCreation(); \ No newline at end of file
+void InitialiseConsoleOnInterfaceCreation();
diff --git a/NorthstarDLL/sourceinterface.h b/NorthstarDLL/sourceinterface.h
index 05318963..238ebec8 100644
--- a/NorthstarDLL/sourceinterface.h
+++ b/NorthstarDLL/sourceinterface.h
@@ -31,4 +31,4 @@ template <typename T> class SourceInterface
};
// functions for interface creation callbacks
-void InitialiseInterfaceCreationHooks(); \ No newline at end of file
+void InitialiseInterfaceCreationHooks();
diff --git a/NorthstarDLL/version.h b/NorthstarDLL/version.h
index d9d29fec..261a4cf1 100644
--- a/NorthstarDLL/version.h
+++ b/NorthstarDLL/version.h
@@ -3,4 +3,4 @@
extern char version[16];
extern char NSUserAgent[32];
-void InitialiseVersion(); \ No newline at end of file
+void InitialiseVersion();