diff options
author | p0358 <p0358@users.noreply.github.com> | 2023-02-14 15:04:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 14:04:42 +0000 |
commit | 9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 (patch) | |
tree | dcddfc464a83211a6922a3b2a43ded293b4303b9 /NorthstarDLL/client | |
parent | 95b41b6f8cc612953eafd7f8b6b40124e1590bc7 (diff) | |
download | NorthstarLauncher-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/client')
-rw-r--r-- | NorthstarDLL/client/audio.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/chatcommand.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/clientauthhooks.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/clientruihooks.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/clientvideooverrides.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/debugoverlay.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/demofixes.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/diskvmtfixes.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/languagehooks.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/latencyflex.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/localchatwriter.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/localchatwriter.h | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/modlocalisation.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/r2client.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/client/rejectconnectionfixes.cpp | 1 |
15 files changed, 0 insertions, 15 deletions
diff --git a/NorthstarDLL/client/audio.cpp b/NorthstarDLL/client/audio.cpp index f0bc385b..ea1f6416 100644 --- a/NorthstarDLL/client/audio.cpp +++ b/NorthstarDLL/client/audio.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "audio.h" #include "dedicated/dedicated.h" #include "core/convar/convar.h" diff --git a/NorthstarDLL/client/chatcommand.cpp b/NorthstarDLL/client/chatcommand.cpp index 76ed9784..c1ad1b3b 100644 --- a/NorthstarDLL/client/chatcommand.cpp +++ b/NorthstarDLL/client/chatcommand.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/convar/convar.h" #include "core/convar/concommand.h" #include "localchatwriter.h" diff --git a/NorthstarDLL/client/clientauthhooks.cpp b/NorthstarDLL/client/clientauthhooks.cpp index 904ecb2f..7fca9581 100644 --- a/NorthstarDLL/client/clientauthhooks.cpp +++ b/NorthstarDLL/client/clientauthhooks.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "masterserver/masterserver.h" #include "core/convar/convar.h" #include "client/r2client.h" diff --git a/NorthstarDLL/client/clientruihooks.cpp b/NorthstarDLL/client/clientruihooks.cpp index 7896daa8..ad50d11a 100644 --- a/NorthstarDLL/client/clientruihooks.cpp +++ b/NorthstarDLL/client/clientruihooks.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/convar/convar.h" AUTOHOOK_INIT() diff --git a/NorthstarDLL/client/clientvideooverrides.cpp b/NorthstarDLL/client/clientvideooverrides.cpp index 1a5924c7..d8aa2754 100644 --- a/NorthstarDLL/client/clientvideooverrides.cpp +++ b/NorthstarDLL/client/clientvideooverrides.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "mods/modmanager.h" AUTOHOOK_INIT() diff --git a/NorthstarDLL/client/debugoverlay.cpp b/NorthstarDLL/client/debugoverlay.cpp index dd273227..e3a9292d 100644 --- a/NorthstarDLL/client/debugoverlay.cpp +++ b/NorthstarDLL/client/debugoverlay.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "dedicated/dedicated.h" #include "core/convar/cvar.h" #include "core/math/vector.h" diff --git a/NorthstarDLL/client/demofixes.cpp b/NorthstarDLL/client/demofixes.cpp index 5fb49918..65e48fc0 100644 --- a/NorthstarDLL/client/demofixes.cpp +++ b/NorthstarDLL/client/demofixes.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/convar/convar.h" ON_DLL_LOAD_CLIENT("engine.dll", EngineDemoFixes, (CModule module)) diff --git a/NorthstarDLL/client/diskvmtfixes.cpp b/NorthstarDLL/client/diskvmtfixes.cpp index cd762c8a..4ab951c0 100644 --- a/NorthstarDLL/client/diskvmtfixes.cpp +++ b/NorthstarDLL/client/diskvmtfixes.cpp @@ -1,4 +1,3 @@ -#include "pch.h" ON_DLL_LOAD_CLIENT("materialsystem_dx11.dll", DiskVMTFixes, (CModule module)) { diff --git a/NorthstarDLL/client/languagehooks.cpp b/NorthstarDLL/client/languagehooks.cpp index 1a46633c..4251dbbd 100644 --- a/NorthstarDLL/client/languagehooks.cpp +++ b/NorthstarDLL/client/languagehooks.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/tier0.h" #include <filesystem> diff --git a/NorthstarDLL/client/latencyflex.cpp b/NorthstarDLL/client/latencyflex.cpp index a1ef72ca..25e38c7a 100644 --- a/NorthstarDLL/client/latencyflex.cpp +++ b/NorthstarDLL/client/latencyflex.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/convar/convar.h" AUTOHOOK_INIT() diff --git a/NorthstarDLL/client/localchatwriter.cpp b/NorthstarDLL/client/localchatwriter.cpp index efa7eeee..57fe98a2 100644 --- a/NorthstarDLL/client/localchatwriter.cpp +++ b/NorthstarDLL/client/localchatwriter.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "localchatwriter.h" class vgui_BaseRichText_vtable; diff --git a/NorthstarDLL/client/localchatwriter.h b/NorthstarDLL/client/localchatwriter.h index 8bb1fb2f..de9e2f9b 100644 --- a/NorthstarDLL/client/localchatwriter.h +++ b/NorthstarDLL/client/localchatwriter.h @@ -1,5 +1,4 @@ #pragma once -#include "pch.h" #include "core/math/color.h" class vgui_BaseRichText; diff --git a/NorthstarDLL/client/modlocalisation.cpp b/NorthstarDLL/client/modlocalisation.cpp index e5afc793..2b73876b 100644 --- a/NorthstarDLL/client/modlocalisation.cpp +++ b/NorthstarDLL/client/modlocalisation.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "mods/modmanager.h" AUTOHOOK_INIT() diff --git a/NorthstarDLL/client/r2client.cpp b/NorthstarDLL/client/r2client.cpp index 2e7bd564..fabc0dc6 100644 --- a/NorthstarDLL/client/r2client.cpp +++ b/NorthstarDLL/client/r2client.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "r2client.h" using namespace R2; diff --git a/NorthstarDLL/client/rejectconnectionfixes.cpp b/NorthstarDLL/client/rejectconnectionfixes.cpp index 994e9747..5daeb3ee 100644 --- a/NorthstarDLL/client/rejectconnectionfixes.cpp +++ b/NorthstarDLL/client/rejectconnectionfixes.cpp @@ -1,4 +1,3 @@ -#include "pch.h"
#include "engine/r2engine.h"
AUTOHOOK_INIT()
|