From 9b1e2a0f4895f48b6a8169bf1b571294b2ad4c54 Mon Sep 17 00:00:00 2001 From: p0358 Date: Tue, 14 Feb 2023 15:04:42 +0100 Subject: 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 --- NorthstarDLL/mods/compiled/kb_act.cpp | 1 - NorthstarDLL/mods/compiled/modkeyvalues.cpp | 1 - NorthstarDLL/mods/compiled/modpdef.cpp | 1 - NorthstarDLL/mods/compiled/modscriptsrson.cpp | 1 - NorthstarDLL/mods/modmanager.cpp | 1 - 5 files changed, 5 deletions(-) (limited to 'NorthstarDLL/mods') diff --git a/NorthstarDLL/mods/compiled/kb_act.cpp b/NorthstarDLL/mods/compiled/kb_act.cpp index 4a011dc7..3fc7ee30 100644 --- a/NorthstarDLL/mods/compiled/kb_act.cpp +++ b/NorthstarDLL/mods/compiled/kb_act.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "mods/modmanager.h" #include "core/filesystem/filesystem.h" diff --git a/NorthstarDLL/mods/compiled/modkeyvalues.cpp b/NorthstarDLL/mods/compiled/modkeyvalues.cpp index 774be0eb..fe262a60 100644 --- a/NorthstarDLL/mods/compiled/modkeyvalues.cpp +++ b/NorthstarDLL/mods/compiled/modkeyvalues.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "mods/modmanager.h" #include "core/filesystem/filesystem.h" diff --git a/NorthstarDLL/mods/compiled/modpdef.cpp b/NorthstarDLL/mods/compiled/modpdef.cpp index 219c744b..4b1b12b7 100644 --- a/NorthstarDLL/mods/compiled/modpdef.cpp +++ b/NorthstarDLL/mods/compiled/modpdef.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "mods/modmanager.h" #include "core/filesystem/filesystem.h" diff --git a/NorthstarDLL/mods/compiled/modscriptsrson.cpp b/NorthstarDLL/mods/compiled/modscriptsrson.cpp index 15fcdd13..cbe26651 100644 --- a/NorthstarDLL/mods/compiled/modscriptsrson.cpp +++ b/NorthstarDLL/mods/compiled/modscriptsrson.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "mods/modmanager.h" #include "core/filesystem/filesystem.h" #include "squirrel/squirrel.h" diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp index e37df6e5..bc0cb2ed 100644 --- a/NorthstarDLL/mods/modmanager.cpp +++ b/NorthstarDLL/mods/modmanager.cpp @@ -1,4 +1,3 @@ -#include "pch.h" #include "modmanager.h" #include "core/convar/convar.h" #include "core/convar/concommand.h" -- cgit v1.2.3