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/engine | |
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/engine')
-rw-r--r-- | NorthstarDLL/engine/host.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/engine/hoststate.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/engine/r2engine.cpp | 1 | ||||
-rw-r--r-- | NorthstarDLL/engine/runframe.cpp | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/NorthstarDLL/engine/host.cpp b/NorthstarDLL/engine/host.cpp index a55c8dfd..436a169d 100644 --- a/NorthstarDLL/engine/host.cpp +++ b/NorthstarDLL/engine/host.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "core/convar/convar.h" #include "mods/modmanager.h" #include "util/printcommands.h" diff --git a/NorthstarDLL/engine/hoststate.cpp b/NorthstarDLL/engine/hoststate.cpp index 4900539b..5a295425 100644 --- a/NorthstarDLL/engine/hoststate.cpp +++ b/NorthstarDLL/engine/hoststate.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "engine/hoststate.h" #include "masterserver/masterserver.h" #include "server/auth/serverauthentication.h" diff --git a/NorthstarDLL/engine/r2engine.cpp b/NorthstarDLL/engine/r2engine.cpp index eaa392c8..303cfaf8 100644 --- a/NorthstarDLL/engine/r2engine.cpp +++ b/NorthstarDLL/engine/r2engine.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "r2engine.h" using namespace R2; diff --git a/NorthstarDLL/engine/runframe.cpp b/NorthstarDLL/engine/runframe.cpp index 3df93f54..40a619bb 100644 --- a/NorthstarDLL/engine/runframe.cpp +++ b/NorthstarDLL/engine/runframe.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "engine/r2engine.h" #include "server/r2server.h" #include "hoststate.h" |