aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/shared
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2023-02-14 15:04:42 +0100
committerGitHub <noreply@github.com>2023-02-14 14:04:42 +0000
commit9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 (patch)
treedcddfc464a83211a6922a3b2a43ded293b4303b9 /NorthstarDLL/shared
parent95b41b6f8cc612953eafd7f8b6b40124e1590bc7 (diff)
downloadNorthstarLauncher-9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54.tar.gz
NorthstarLauncher-9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54.zip
Force-include `pch.h` to all files, remove explicit includes (#393)
* force-include "pch.h" in all units, as it will error if it's not included anyways * remove #include "pch.h" from all files as it's not needed anymore now * fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error) * Re-add explicit pch.h include to pch.cpp (and ran clang-format) * drop pch.h inclusion from new files
Diffstat (limited to 'NorthstarDLL/shared')
-rw-r--r--NorthstarDLL/shared/exploit_fixes/exploitfixes.cpp1
-rw-r--r--NorthstarDLL/shared/exploit_fixes/exploitfixes_lzss.cpp1
-rw-r--r--NorthstarDLL/shared/exploit_fixes/exploitfixes_utf8parser.cpp1
-rw-r--r--NorthstarDLL/shared/exploit_fixes/ns_limits.cpp1
-rw-r--r--NorthstarDLL/shared/keyvalues.cpp1
-rw-r--r--NorthstarDLL/shared/maxplayers.cpp1
-rw-r--r--NorthstarDLL/shared/misccommands.cpp1
-rw-r--r--NorthstarDLL/shared/playlist.cpp1
8 files changed, 0 insertions, 8 deletions
diff --git a/NorthstarDLL/shared/exploit_fixes/exploitfixes.cpp b/NorthstarDLL/shared/exploit_fixes/exploitfixes.cpp
index 8cb956e6..338de306 100644
--- a/NorthstarDLL/shared/exploit_fixes/exploitfixes.cpp
+++ b/NorthstarDLL/shared/exploit_fixes/exploitfixes.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "core/convar/cvar.h"
#include "ns_limits.h"
#include "dedicated/dedicated.h"
diff --git a/NorthstarDLL/shared/exploit_fixes/exploitfixes_lzss.cpp b/NorthstarDLL/shared/exploit_fixes/exploitfixes_lzss.cpp
index 4205133a..ccb6ac18 100644
--- a/NorthstarDLL/shared/exploit_fixes/exploitfixes_lzss.cpp
+++ b/NorthstarDLL/shared/exploit_fixes/exploitfixes_lzss.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
AUTOHOOK_INIT()
diff --git a/NorthstarDLL/shared/exploit_fixes/exploitfixes_utf8parser.cpp b/NorthstarDLL/shared/exploit_fixes/exploitfixes_utf8parser.cpp
index e2510765..de0b0f21 100644
--- a/NorthstarDLL/shared/exploit_fixes/exploitfixes_utf8parser.cpp
+++ b/NorthstarDLL/shared/exploit_fixes/exploitfixes_utf8parser.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
AUTOHOOK_INIT()
diff --git a/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp b/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
index 135cfb83..b01a9b98 100644
--- a/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
+++ b/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "ns_limits.h"
#include "engine/hoststate.h"
#include "client/r2client.h"
diff --git a/NorthstarDLL/shared/keyvalues.cpp b/NorthstarDLL/shared/keyvalues.cpp
index 25155dde..06ed8d68 100644
--- a/NorthstarDLL/shared/keyvalues.cpp
+++ b/NorthstarDLL/shared/keyvalues.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "keyvalues.h"
#include <winnt.h>
diff --git a/NorthstarDLL/shared/maxplayers.cpp b/NorthstarDLL/shared/maxplayers.cpp
index ebb44341..dcf4044e 100644
--- a/NorthstarDLL/shared/maxplayers.cpp
+++ b/NorthstarDLL/shared/maxplayers.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "core/tier0.h"
#include "maxplayers.h"
diff --git a/NorthstarDLL/shared/misccommands.cpp b/NorthstarDLL/shared/misccommands.cpp
index f3817867..15e12720 100644
--- a/NorthstarDLL/shared/misccommands.cpp
+++ b/NorthstarDLL/shared/misccommands.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "misccommands.h"
#include "core/convar/concommand.h"
#include "shared/playlist.h"
diff --git a/NorthstarDLL/shared/playlist.cpp b/NorthstarDLL/shared/playlist.cpp
index 7c8f7312..018b2a9b 100644
--- a/NorthstarDLL/shared/playlist.cpp
+++ b/NorthstarDLL/shared/playlist.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "playlist.h"
#include "core/convar/concommand.h"
#include "core/convar/convar.h"