aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-08-25 00:30:30 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-14 12:53:02 +0200
commitc120d0cceba005f661e66d4d95c96d0458cadfeb (patch)
treec677a9e7c31a7e33cef7170fab8e08db0364441d
parenta39addd9aa09d0a01e6a5cee33ef5d8d8f30e7b6 (diff)
downloadNorthstarLauncher-c120d0cceba005f661e66d4d95c96d0458cadfeb.tar.gz
NorthstarLauncher-c120d0cceba005f661e66d4d95c96d0458cadfeb.zip
Change file name case sensitivity to lower case (#249)
To mirror how it is in refactor PR
-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 289955f8..153cdf80 100644
--- a/NorthstarDLL/NorthstarDLL.vcxproj
+++ b/NorthstarDLL/NorthstarDLL.vcxproj
@@ -563,9 +563,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>
@@ -626,7 +626,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 0e48f4a0..53b3bea6 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">
@@ -1676,7 +1676,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 02b3fefc..c94d79c3 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"
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!";