aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL')
-rw-r--r--NorthstarDLL/NorthstarDLL.vcxproj8
-rw-r--r--NorthstarDLL/NorthstarDLL.vcxproj.filters8
-rw-r--r--NorthstarDLL/buildainfile.cpp2
-rw-r--r--NorthstarDLL/dedicated.cpp2
-rw-r--r--NorthstarDLL/dedicatedmaterialsystem.cpp2
-rw-r--r--NorthstarDLL/dllmain.cpp2
-rw-r--r--NorthstarDLL/exploitfixes.cpp (renamed from NorthstarDLL/ExploitFixes.cpp)10
-rw-r--r--NorthstarDLL/exploitfixes.h (renamed from NorthstarDLL/ExploitFixes.h)0
-rw-r--r--NorthstarDLL/exploitfixes_utf8parser.h (renamed from NorthstarDLL/ExploitFixes_UTF8Parser.h)0
-rw-r--r--NorthstarDLL/maxplayers.cpp2
-rw-r--r--NorthstarDLL/miscserverfixes.cpp2
-rw-r--r--NorthstarDLL/nsmem.h (renamed from NorthstarDLL/NSMem.h)0
-rw-r--r--NorthstarDLL/playlist.cpp2
-rw-r--r--NorthstarDLL/serverauthentication.cpp2
14 files changed, 21 insertions, 21 deletions
diff --git a/NorthstarDLL/NorthstarDLL.vcxproj b/NorthstarDLL/NorthstarDLL.vcxproj
index 9d28d258..76560b42 100644
--- a/NorthstarDLL/NorthstarDLL.vcxproj
+++ b/NorthstarDLL/NorthstarDLL.vcxproj
@@ -564,9 +564,9 @@
<ClInclude Include="sourceinterface.h" />
<ClInclude Include="squirrel.h" />
<ClInclude Include="state.h" />
- <ClInclude Include="ExploitFixes.h" />
- <ClInclude Include="ExploitFixes_UTF8Parser.h" />
- <ClInclude Include="NSMem.h" />
+ <ClInclude Include="exploitfixes.h" />
+ <ClInclude Include="exploitfixes_utf8parser.h" />
+ <ClInclude Include="nsmem.h" />
<ClInclude Include="version.h" />
</ItemGroup>
<ItemGroup>
@@ -628,7 +628,7 @@
<ClCompile Include="sourceconsole.cpp" />
<ClCompile Include="sourceinterface.cpp" />
<ClCompile Include="squirrel.cpp" />
- <ClCompile Include="ExploitFixes.cpp" />
+ <ClCompile Include="exploitfixes.cpp" />
<ClCompile Include="version.cpp" />
</ItemGroup>
<ItemGroup>
diff --git a/NorthstarDLL/NorthstarDLL.vcxproj.filters b/NorthstarDLL/NorthstarDLL.vcxproj.filters
index 6496c796..b0da9874 100644
--- a/NorthstarDLL/NorthstarDLL.vcxproj.filters
+++ b/NorthstarDLL/NorthstarDLL.vcxproj.filters
@@ -1497,7 +1497,7 @@
<ClInclude Include="clientvideooverrides.h">
<Filter>Header Files\Client</Filter>
</ClInclude>
- <ClInclude Include="ExploitFixes_UTF8Parser.h">
+ <ClInclude Include="exploitfixes_utf8parser.h">
<Filter>Source Files\Shared\Exploit Fixes\UTF8Parser</Filter>
</ClInclude>
<ClInclude Include="version.h">
@@ -1509,10 +1509,10 @@
<ClInclude Include="ns_version.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="ExploitFixes.h">
+ <ClInclude Include="exploitfixes.h">
<Filter>Header Files\Shared\ExploitFixes</Filter>
</ClInclude>
- <ClInclude Include="NSMem.h">
+ <ClInclude Include="nsmem.h">
<Filter>Header Files\Shared\ExploitFixes</Filter>
</ClInclude>
<ClInclude Include="scriptutility.h">
@@ -1679,7 +1679,7 @@
<ClCompile Include="clientvideooverrides.cpp">
<Filter>Source Files\Client</Filter>
</ClCompile>
- <ClCompile Include="ExploitFixes.cpp">
+ <ClCompile Include="exploitfixes.cpp">
<Filter>Source Files\Shared\Exploit Fixes</Filter>
</ClCompile>
<ClCompile Include="version.cpp">
diff --git a/NorthstarDLL/buildainfile.cpp b/NorthstarDLL/buildainfile.cpp
index 0054c4a1..24a16f74 100644
--- a/NorthstarDLL/buildainfile.cpp
+++ b/NorthstarDLL/buildainfile.cpp
@@ -4,7 +4,7 @@
#include "hookutils.h"
#include <fstream>
#include <filesystem>
-#include "NSMem.h"
+#include "nsmem.h"
namespace fs = std::filesystem;
diff --git a/NorthstarDLL/dedicated.cpp b/NorthstarDLL/dedicated.cpp
index 0546d5b8..f9e315d3 100644
--- a/NorthstarDLL/dedicated.cpp
+++ b/NorthstarDLL/dedicated.cpp
@@ -127,7 +127,7 @@ DWORD WINAPI ConsoleInputThread(PVOID pThreadParameter)
return 0;
}
-#include "NSMem.h"
+#include "nsmem.h"
void InitialiseDedicated(HMODULE engineAddress)
{
spdlog::info("InitialiseDedicated");
diff --git a/NorthstarDLL/dedicatedmaterialsystem.cpp b/NorthstarDLL/dedicatedmaterialsystem.cpp
index 01197407..47440b7a 100644
--- a/NorthstarDLL/dedicatedmaterialsystem.cpp
+++ b/NorthstarDLL/dedicatedmaterialsystem.cpp
@@ -3,7 +3,7 @@
#include "dedicatedmaterialsystem.h"
#include "hookutils.h"
#include "gameutils.h"
-#include "NSMem.h"
+#include "nsmem.h"
typedef HRESULT (*__stdcall D3D11CreateDeviceType)(
void* pAdapter,
diff --git a/NorthstarDLL/dllmain.cpp b/NorthstarDLL/dllmain.cpp
index 744abb5a..273bf9c7 100644
--- a/NorthstarDLL/dllmain.cpp
+++ b/NorthstarDLL/dllmain.cpp
@@ -51,7 +51,7 @@
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
#include "rapidjson/error/en.h"
-#include "ExploitFixes.h"
+#include "exploitfixes.h"
#include "scriptjson.h"
typedef void (*initPluginFuncPtr)(void* (*getPluginObject)(PluginObject));
diff --git a/NorthstarDLL/ExploitFixes.cpp b/NorthstarDLL/exploitfixes.cpp
index 31fa349a..aa5adae3 100644
--- a/NorthstarDLL/ExploitFixes.cpp
+++ b/NorthstarDLL/exploitfixes.cpp
@@ -1,8 +1,8 @@
#include "pch.h"
-#include "ExploitFixes.h"
-#include "ExploitFixes_UTF8Parser.h"
-#include "NSMem.h"
+#include "exploitfixes.h"
+#include "exploitfixes_utf8parser.h"
+#include "nsmem.h"
#include "cvar.h"
#include "gameutils.h"
@@ -15,7 +15,7 @@ ConVar* ns_exploitfixes_log;
if (SHOULD_LOG) \
{ \
std::stringstream stream; \
- stream << "ExploitFixes.cpp: " << BLOCK_PREFIX << s; \
+ stream << "exploitfixes.cpp: " << BLOCK_PREFIX << s; \
spdlog::error(stream.str()); \
} \
return false; \
@@ -546,7 +546,7 @@ void ExploitFixes::LoadCallback_Full(HMODULE baseAddress)
KHook::_allHooks.clear();
ns_exploitfixes_log =
- new ConVar("ns_exploitfixes_log", "1", FCVAR_GAMEDLL, "Whether to log whenever ExploitFixes.cpp blocks/corrects something");
+ new ConVar("ns_exploitfixes_log", "1", FCVAR_GAMEDLL, "Whether to log whenever exploitfixes.cpp blocks/corrects something");
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x2a8a50, &GetEntByIndexHook, reinterpret_cast<LPVOID*>(&GetEntByIndex));
diff --git a/NorthstarDLL/ExploitFixes.h b/NorthstarDLL/exploitfixes.h
index d0754d72..d0754d72 100644
--- a/NorthstarDLL/ExploitFixes.h
+++ b/NorthstarDLL/exploitfixes.h
diff --git a/NorthstarDLL/ExploitFixes_UTF8Parser.h b/NorthstarDLL/exploitfixes_utf8parser.h
index 24545ea3..24545ea3 100644
--- a/NorthstarDLL/ExploitFixes_UTF8Parser.h
+++ b/NorthstarDLL/exploitfixes_utf8parser.h
diff --git a/NorthstarDLL/maxplayers.cpp b/NorthstarDLL/maxplayers.cpp
index 556819f1..2d513c71 100644
--- a/NorthstarDLL/maxplayers.cpp
+++ b/NorthstarDLL/maxplayers.cpp
@@ -45,7 +45,7 @@ constexpr int Team_PlayerArray_AddedLength = NEW_MAX_PLAYERS - 32;
constexpr int Team_PlayerArray_AddedSize = PAD_NUMBER(Team_PlayerArray_AddedLength * 8, 4);
constexpr int Team_AddedSize = Team_PlayerArray_AddedSize;
-#include "NSMem.h"
+#include "nsmem.h"
template <class T> void ChangeOffset(void* addr, unsigned int offset)
{
NSMem::BytePatch((uintptr_t)addr, (BYTE*)&offset, sizeof(T));
diff --git a/NorthstarDLL/miscserverfixes.cpp b/NorthstarDLL/miscserverfixes.cpp
index e6bd4629..728df737 100644
--- a/NorthstarDLL/miscserverfixes.cpp
+++ b/NorthstarDLL/miscserverfixes.cpp
@@ -2,7 +2,7 @@
#include "miscserverfixes.h"
#include "hookutils.h"
-#include "NSMem.h"
+#include "nsmem.h"
void InitialiseMiscServerFixes(HMODULE baseAddress)
{
diff --git a/NorthstarDLL/NSMem.h b/NorthstarDLL/nsmem.h
index 9b1f9103..9b1f9103 100644
--- a/NorthstarDLL/NSMem.h
+++ b/NorthstarDLL/nsmem.h
diff --git a/NorthstarDLL/playlist.cpp b/NorthstarDLL/playlist.cpp
index 6f744c6e..e55710c3 100644
--- a/NorthstarDLL/playlist.cpp
+++ b/NorthstarDLL/playlist.cpp
@@ -71,7 +71,7 @@ int GetCurrentGamemodeMaxPlayersHook()
return maxPlayers;
}
-#include "NSMem.h"
+#include "nsmem.h"
void InitialisePlaylistHooks(HMODULE baseAddress)
{
RegisterConCommand("setplaylist", SetPlaylistCommand, "Sets the current playlist", FCVAR_NONE);
diff --git a/NorthstarDLL/serverauthentication.cpp b/NorthstarDLL/serverauthentication.cpp
index ac1985cf..e66fac3c 100644
--- a/NorthstarDLL/serverauthentication.cpp
+++ b/NorthstarDLL/serverauthentication.cpp
@@ -14,7 +14,7 @@
#include <filesystem>
#include <thread>
#include "configurables.h"
-#include "NSMem.h"
+#include "nsmem.h"
const char* AUTHSERVER_VERIFY_STRING = "I am a northstar server!";