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/core | |
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/core')
-rw-r--r-- | NorthstarDLL/core/convar/concommand.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/convar/convar.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/convar/cvar.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/filesystem/filesystem.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/filesystem/rpakfilesystem.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/hooks.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/math/bits.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/math/color.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/memalloc.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/memory.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/sourceinterface.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/core/tier0.cpp | 1 |
12 files changed, 0 insertions, 12 deletions
diff --git a/NorthstarDLL/core/convar/concommand.cpp b/NorthstarDLL/core/convar/concommand.cpp index 094fa813..88bd8825 100644 --- a/NorthstarDLL/core/convar/concommand.cpp +++ b/NorthstarDLL/core/convar/concommand.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "concommand.h" #include "shared/misccommands.h" #include "engine/r2engine.h" diff --git a/NorthstarDLL/core/convar/convar.cpp b/NorthstarDLL/core/convar/convar.cpp index 11411c0a..21fca8c0 100644 --- a/NorthstarDLL/core/convar/convar.cpp +++ b/NorthstarDLL/core/convar/convar.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "bits.h" #include "cvar.h" #include "convar.h" diff --git a/NorthstarDLL/core/convar/cvar.cpp b/NorthstarDLL/core/convar/cvar.cpp index 787790be..21f8d2ec 100644 --- a/NorthstarDLL/core/convar/cvar.cpp +++ b/NorthstarDLL/core/convar/cvar.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "cvar.h" #include "convar.h" #include "concommand.h" diff --git a/NorthstarDLL/core/filesystem/filesystem.cpp b/NorthstarDLL/core/filesystem/filesystem.cpp index ac42d00f..88622e5d 100644 --- a/NorthstarDLL/core/filesystem/filesystem.cpp +++ b/NorthstarDLL/core/filesystem/filesystem.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "filesystem.h" #include "core/sourceinterface.h" #include "mods/modmanager.h" diff --git a/NorthstarDLL/core/filesystem/rpakfilesystem.cpp b/NorthstarDLL/core/filesystem/rpakfilesystem.cpp index c3463781..c863463c 100644 --- a/NorthstarDLL/core/filesystem/rpakfilesystem.cpp +++ b/NorthstarDLL/core/filesystem/rpakfilesystem.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "rpakfilesystem.h" #include "mods/modmanager.h" #include "dedicated/dedicated.h" diff --git a/NorthstarDLL/core/hooks.cpp b/NorthstarDLL/core/hooks.cpp index 79bcbb92..34b48d1d 100644 --- a/NorthstarDLL/core/hooks.cpp +++ b/NorthstarDLL/core/hooks.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "dedicated/dedicated.h" #include <iostream> diff --git a/NorthstarDLL/core/math/bits.cpp b/NorthstarDLL/core/math/bits.cpp index 014899f2..c879a45c 100644 --- a/NorthstarDLL/core/math/bits.cpp +++ b/NorthstarDLL/core/math/bits.cpp @@ -4,7 +4,6 @@ // //=============================================================================// -#include "pch.h" #include "bits.h" //----------------------------------------------------------------------------- diff --git a/NorthstarDLL/core/math/color.cpp b/NorthstarDLL/core/math/color.cpp index 05cf645f..9936cc5a 100644 --- a/NorthstarDLL/core/math/color.cpp +++ b/NorthstarDLL/core/math/color.cpp @@ -1,4 +1,3 @@ -#include "pch.h" // clang-format off namespace NS::Colors diff --git a/NorthstarDLL/core/memalloc.cpp b/NorthstarDLL/core/memalloc.cpp index 122ab444..69ce6f54 100644 --- a/NorthstarDLL/core/memalloc.cpp +++ b/NorthstarDLL/core/memalloc.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/memalloc.h" #include "core/tier0.h" diff --git a/NorthstarDLL/core/memory.cpp b/NorthstarDLL/core/memory.cpp index 5e7c3e78..7bd87d70 100644 --- a/NorthstarDLL/core/memory.cpp +++ b/NorthstarDLL/core/memory.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "memory.h" MemoryAddress::MemoryAddress() : m_nAddress(0) {} diff --git a/NorthstarDLL/core/sourceinterface.cpp b/NorthstarDLL/core/sourceinterface.cpp index f9ad694c..5a72beb0 100644 --- a/NorthstarDLL/core/sourceinterface.cpp +++ b/NorthstarDLL/core/sourceinterface.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "sourceinterface.h" #include "logging/sourceconsole.h" diff --git a/NorthstarDLL/core/tier0.cpp b/NorthstarDLL/core/tier0.cpp index 61ad7783..cbad3ec0 100644 --- a/NorthstarDLL/core/tier0.cpp +++ b/NorthstarDLL/core/tier0.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "tier0.h" // use the Tier0 namespace for tier0 funcs |