From 9a8df0eaa313951dd85863dd9d2a0a8ab1bc33a6 Mon Sep 17 00:00:00 2001 From: slipher Date: Sat, 21 Nov 2026 08:03:24 -0600 Subject: [PATCH 1/3] For within-repo #includes, use "" not <> This commit was generated via LLM. --- src/common/Command.h | 2 +- src/common/IPC/CommonSyscalls.h | 2 +- src/common/cm/cm_load.cpp | 2 +- src/engine/audio/Audio.cpp | 2 +- src/engine/audio/OggCodec.cpp | 2 +- src/engine/audio/OpusCodec.cpp | 2 +- src/engine/audio/SoundCodec.cpp | 2 +- src/engine/audio/WavCodec.cpp | 2 +- src/engine/framework/Application.h | 4 ++-- src/engine/framework/BaseCommands.cpp | 2 +- src/engine/framework/CommandSystem.h | 4 ++-- src/engine/framework/ConsoleHistory.cpp | 2 +- src/engine/framework/CrashDump.cpp | 2 +- src/engine/framework/CrashDump.h | 4 ++-- src/engine/framework/LogSystem.cpp | 2 +- src/engine/framework/System.cpp | 2 +- src/engine/framework/VirtualMachine.h | 2 +- src/engine/qcommon/common.cpp | 2 +- src/engine/qcommon/files.cpp | 2 +- src/engine/qcommon/net_ip.cpp | 2 +- src/engine/renderer/gl_shader.cpp | 2 +- src/engine/renderer/tr_backend.cpp | 2 +- src/engine/renderer/tr_image.cpp | 2 +- src/engine/server/ServerApplication.cpp | 2 +- src/engine/server/sv_client.cpp | 2 +- src/shared/client/cg_api.cpp | 6 +++--- src/shared/client/cg_api.h | 2 +- src/shared/server/sg_api.cpp | 4 ++-- src/shared/server/sg_api.h | 2 +- 29 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/common/Command.h b/src/common/Command.h index 54f5898647..a4258d15f9 100644 --- a/src/common/Command.h +++ b/src/common/Command.h @@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef COMMON_COMMAND_H_ #define COMMON_COMMAND_H_ -#include +#include "engine/qcommon/q_shared.h" namespace Cmd { diff --git a/src/common/IPC/CommonSyscalls.h b/src/common/IPC/CommonSyscalls.h index 07747ece3d..32a5e00f83 100644 --- a/src/common/IPC/CommonSyscalls.h +++ b/src/common/IPC/CommonSyscalls.h @@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define COMMON_COMMON_SYSCALLS_H_ #include "Primitives.h" -#include +#include "common/FileSystem.h" namespace Util { template<> struct SerializeTraits { diff --git a/src/common/cm/cm_load.cpp b/src/common/cm/cm_load.cpp index b927daa3bd..ce0250aa41 100644 --- a/src/common/cm/cm_load.cpp +++ b/src/common/cm/cm_load.cpp @@ -34,7 +34,7 @@ Maryland 20850 USA. #include "cm_local.h" -#include +#include "common/FileSystem.h" // to allow boxes to be treated as brush models, we allocate // some extra indexes along with those needed by the map diff --git a/src/engine/audio/Audio.cpp b/src/engine/audio/Audio.cpp index 8db7ca9e9b..0429f2c7ef 100644 --- a/src/engine/audio/Audio.cpp +++ b/src/engine/audio/Audio.cpp @@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include +#include "common/FileSystem.h" #include "framework/CvarSystem.h" #include "AudioPrivate.h" #include "AudioData.h" diff --git a/src/engine/audio/OggCodec.cpp b/src/engine/audio/OggCodec.cpp index fc57ff5fb4..c11f9d71c0 100644 --- a/src/engine/audio/OggCodec.cpp +++ b/src/engine/audio/OggCodec.cpp @@ -30,7 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "SoundCodec.h" #include "AudioPrivate.h" -#include +#include "common/FileSystem.h" #include #define OV_EXCLUDE_STATIC_CALLBACKS diff --git a/src/engine/audio/OpusCodec.cpp b/src/engine/audio/OpusCodec.cpp index 11214a8242..25b22bf9f6 100644 --- a/src/engine/audio/OpusCodec.cpp +++ b/src/engine/audio/OpusCodec.cpp @@ -30,7 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "SoundCodec.h" #include "AudioPrivate.h" -#include +#include "common/FileSystem.h" #include #include diff --git a/src/engine/audio/SoundCodec.cpp b/src/engine/audio/SoundCodec.cpp index 1a77fb49e1..fc57e90974 100644 --- a/src/engine/audio/SoundCodec.cpp +++ b/src/engine/audio/SoundCodec.cpp @@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "SoundCodec.h" #include "AudioPrivate.h" -#include +#include "common/FileSystem.h" namespace Audio { diff --git a/src/engine/audio/WavCodec.cpp b/src/engine/audio/WavCodec.cpp index 921aaf707b..8585955e09 100644 --- a/src/engine/audio/WavCodec.cpp +++ b/src/engine/audio/WavCodec.cpp @@ -30,7 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "SoundCodec.h" #include "AudioPrivate.h" -#include +#include "common/FileSystem.h" /* *The following assumptions made: diff --git a/src/engine/framework/Application.h b/src/engine/framework/Application.h index 6e2e40bc67..2404ad949d 100644 --- a/src/engine/framework/Application.h +++ b/src/engine/framework/Application.h @@ -32,8 +32,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define FRAMEWORK_APPLICATION_H_ #include -#include -#include +#include "common/String.h" +#include "common/Command.h" namespace Application { diff --git a/src/engine/framework/BaseCommands.cpp b/src/engine/framework/BaseCommands.cpp index 86d7d9292e..0505c93673 100644 --- a/src/engine/framework/BaseCommands.cpp +++ b/src/engine/framework/BaseCommands.cpp @@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "qcommon/q_shared.h" #include "BaseCommands.h" -#include +#include "common/FileSystem.h" #include "Application.h" #include "CommandSystem.h" diff --git a/src/engine/framework/CommandSystem.h b/src/engine/framework/CommandSystem.h index 148dafeda7..0a1d6f5228 100644 --- a/src/engine/framework/CommandSystem.h +++ b/src/engine/framework/CommandSystem.h @@ -31,8 +31,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef FRAMEWORK_COMMAND_SYSTEM_H_ #define FRAMEWORK_COMMAND_SYSTEM_H_ -#include -#include +#include "common/Command.h" +#include "common/String.h" /* * Command execution and command text buffering. diff --git a/src/engine/framework/ConsoleHistory.cpp b/src/engine/framework/ConsoleHistory.cpp index 72c57736e4..d730fa66c7 100644 --- a/src/engine/framework/ConsoleHistory.cpp +++ b/src/engine/framework/ConsoleHistory.cpp @@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include +#include "common/FileSystem.h" #include "framework/Application.h" #include "ConsoleHistory.h" diff --git a/src/engine/framework/CrashDump.cpp b/src/engine/framework/CrashDump.cpp index 020654163b..eecb54fbd7 100644 --- a/src/engine/framework/CrashDump.cpp +++ b/src/engine/framework/CrashDump.cpp @@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include +#include "common/FileSystem.h" #include "CrashDump.h" #include "System.h" #ifdef _WIN32 diff --git a/src/engine/framework/CrashDump.h b/src/engine/framework/CrashDump.h index 1d2fdeea85..ef3e711bce 100644 --- a/src/engine/framework/CrashDump.h +++ b/src/engine/framework/CrashDump.h @@ -31,8 +31,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef FRAMEWORK_CRASHDUMP_H_ #define FRAMEWORK_CRASHDUMP_H_ -#include -#include +#include "common/String.h" +#include "common/Util.h" namespace Sys { // Ensure existence of the subdirectory of homepath used for crash dumps. Return true if successful diff --git a/src/engine/framework/LogSystem.cpp b/src/engine/framework/LogSystem.cpp index 8c626c98ed..ba7ed58729 100644 --- a/src/engine/framework/LogSystem.cpp +++ b/src/engine/framework/LogSystem.cpp @@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include +#include "common/FileSystem.h" #include "qcommon/q_shared.h" #include "qcommon/qcommon.h" #include "LogSystem.h" diff --git a/src/engine/framework/System.cpp b/src/engine/framework/System.cpp index 6d7d936f55..81817e43aa 100644 --- a/src/engine/framework/System.cpp +++ b/src/engine/framework/System.cpp @@ -39,7 +39,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "CrashDump.h" #include "CvarSystem.h" #include "common/StackTrace.h" -#include +#include "common/FileSystem.h" #ifdef _WIN32 #include #include diff --git a/src/engine/framework/VirtualMachine.h b/src/engine/framework/VirtualMachine.h index c5569a3de0..ddc06eab79 100644 --- a/src/engine/framework/VirtualMachine.h +++ b/src/engine/framework/VirtualMachine.h @@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include +#include "common/FileSystem.h" #include "common/Common.h" #include "common/IPC/Channel.h" diff --git a/src/engine/qcommon/common.cpp b/src/engine/qcommon/common.cpp index e4e9e7d6dd..71d0b7b220 100644 --- a/src/engine/qcommon/common.cpp +++ b/src/engine/qcommon/common.cpp @@ -50,7 +50,7 @@ Maryland 20850 USA. #include "framework/OmpSystem.h" #include "framework/System.h" #include "sys/sys_events.h" -#include +#include "common/FileSystem.h" cvar_t *com_speeds; cvar_t *com_timescale; diff --git a/src/engine/qcommon/files.cpp b/src/engine/qcommon/files.cpp index cb4706786e..22c50bc8ae 100644 --- a/src/engine/qcommon/files.cpp +++ b/src/engine/qcommon/files.cpp @@ -22,7 +22,7 @@ along with Daemon Source Code. If not, see . =========================================================================== */ -#include +#include "common/FileSystem.h" #include "q_shared.h" #include "qcommon.h" #include "common/Defs.h" diff --git a/src/engine/qcommon/net_ip.cpp b/src/engine/qcommon/net_ip.cpp index c28581bdf7..40ca1957f7 100644 --- a/src/engine/qcommon/net_ip.cpp +++ b/src/engine/qcommon/net_ip.cpp @@ -34,7 +34,7 @@ Maryland 20850 USA. #include "qcommon/q_shared.h" #include "qcommon/qcommon.h" -#include +#include "common/FileSystem.h" #include "engine/framework/Application.h" #include "engine/framework/Network.h" #include "server/server.h" diff --git a/src/engine/renderer/gl_shader.cpp b/src/engine/renderer/gl_shader.cpp index 6a5c1287a7..cfc58e4870 100644 --- a/src/engine/renderer/gl_shader.cpp +++ b/src/engine/renderer/gl_shader.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ // gl_shader.cpp -- GLSL shader handling -#include +#include "common/FileSystem.h" #include "gl_shader.h" #include "Material.h" #include "YokaiEmbeddedFiles/DaemonEngineShaders.h" diff --git a/src/engine/renderer/tr_backend.cpp b/src/engine/renderer/tr_backend.cpp index 6b3b4014fe..b34a3ef7b2 100644 --- a/src/engine/renderer/tr_backend.cpp +++ b/src/engine/renderer/tr_backend.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "gl_shader.h" #include "Material.h" #if defined( REFBONE_NAMES ) - #include + #include "client/client.h" #endif backEndData_t *backEndData[ SMP_FRAMES ]; diff --git a/src/engine/renderer/tr_image.cpp b/src/engine/renderer/tr_image.cpp index 9330290c7c..22129e21d1 100644 --- a/src/engine/renderer/tr_image.cpp +++ b/src/engine/renderer/tr_image.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ // tr_image.c -#include +#include "common/FileSystem.h" #include "InternalImage.h" #include "tr_local.h" #include diff --git a/src/engine/server/ServerApplication.cpp b/src/engine/server/ServerApplication.cpp index a7a1c5577f..ce5a0f69a1 100644 --- a/src/engine/server/ServerApplication.cpp +++ b/src/engine/server/ServerApplication.cpp @@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include +#include "common/FileSystem.h" #include "framework/ApplicationInternals.h" #include "framework/CommandSystem.h" #include "qcommon/qcommon.h" diff --git a/src/engine/server/sv_client.cpp b/src/engine/server/sv_client.cpp index 469c99f96a..80a5bf1b31 100644 --- a/src/engine/server/sv_client.cpp +++ b/src/engine/server/sv_client.cpp @@ -38,7 +38,7 @@ Maryland 20850 USA. #include "CryptoChallenge.h" #include "framework/Network.h" #include "qcommon/sys.h" -#include +#include "common/FileSystem.h" // HTTP download params static Cvar::Cvar sv_wwwDownload("sv_wwwDownload", "have clients download missing paks via HTTP", Cvar::NONE, true); diff --git a/src/shared/client/cg_api.cpp b/src/shared/client/cg_api.cpp index c530c58dd6..b38b16dc62 100644 --- a/src/shared/client/cg_api.cpp +++ b/src/shared/client/cg_api.cpp @@ -28,9 +28,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include -#include -#include +#include "engine/client/cg_msgdef.h" +#include "shared/VMMain.h" +#include "shared/CommandBufferClient.h" #include "cg_api.h" IPC::CommandBufferClient cmdBuffer("cgame"); diff --git a/src/shared/client/cg_api.h b/src/shared/client/cg_api.h index 069344358c..0c2918fba8 100644 --- a/src/shared/client/cg_api.h +++ b/src/shared/client/cg_api.h @@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "engine/renderer/tr_types.h" #include "common/KeyIdentification.h" #include "shared/CommonProxies.h" -#include +#include "shared/CommandBufferClient.h" extern IPC::CommandBufferClient cmdBuffer; diff --git a/src/shared/server/sg_api.cpp b/src/shared/server/sg_api.cpp index 6f85224db8..af306c254b 100644 --- a/src/shared/server/sg_api.cpp +++ b/src/shared/server/sg_api.cpp @@ -28,8 +28,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ -#include -#include +#include "engine/server/sg_msgdef.h" +#include "shared/VMMain.h" IPC::SharedMemory shmRegion; diff --git a/src/shared/server/sg_api.h b/src/shared/server/sg_api.h index 20fd92b7af..0883ae508d 100644 --- a/src/shared/server/sg_api.h +++ b/src/shared/server/sg_api.h @@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef SHARED_SERVER_API_H_ #define SHARED_SERVER_API_H_ -#include +#include "common/IPC/Primitives.h" extern IPC::SharedMemory shmRegion; From 3866a5a9a07b9acd121d48a7afc2236f0708531e Mon Sep 17 00:00:00 2001 From: slipher Date: Sat, 21 Nov 2026 01:47:43 -0600 Subject: [PATCH 2/3] Remove LineEditData.h from PCH (Common.h) It is not commonly used. --- src/common/Common.h | 3 +-- src/common/LineEditData.cpp | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/Common.h b/src/common/Common.h index c40f8fb627..146ff07069 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -49,13 +49,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Command.h" #include "Cvar.h" #include "Log.h" -#include "LineEditData.h" #include "System.h" #include "Assert.h" #include "Math.h" #include "Color.h" #include "Serialize.h" -#include "DisjointSets.h" +#include "DisjointSets.h" // TODO: move to gamelogic using Math::Vec2; using Math::Vec3; diff --git a/src/common/LineEditData.cpp b/src/common/LineEditData.cpp index 3e84f94a8f..da5a3f1433 100644 --- a/src/common/LineEditData.cpp +++ b/src/common/LineEditData.cpp @@ -30,6 +30,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Common.h" +#include "common/LineEditData.h" + //TODO: use a std::string instead of a fixed size char* ? //TODO: support MAJ-selection ? From 36611d92e2a47d591762c7ce4b87053bc3e6fcef Mon Sep 17 00:00:00 2001 From: slipher Date: Sat, 21 Nov 2026 02:29:26 -0600 Subject: [PATCH 3/3] Remove Serialize.h from PCH and include it less Don't include Serialize.h from commmon/Common.h, and also reduce unnecessary inclusion thereof in other places. Rebuilding client after touching Serialize.h now builds ~40 targets instead of ~140. --- src/common/Common.h | 1 - src/common/FileSystem.cpp | 6 ++++++ src/common/FileSystem.h | 9 --------- src/common/IPC/CommonSyscalls.h | 2 ++ src/common/IPC/Primitives.h | 2 ++ src/engine/framework/CommandBufferHost.h | 1 + src/engine/framework/CommonVMServices.h | 5 +++++ src/engine/renderer/gl_shader.cpp | 1 + src/engine/renderer/tr_main.cpp | 1 + 9 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/common/Common.h b/src/common/Common.h index 146ff07069..0921b49d90 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -53,7 +53,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Assert.h" #include "Math.h" #include "Color.h" -#include "Serialize.h" #include "DisjointSets.h" // TODO: move to gamelogic using Math::Vec2; diff --git a/src/common/FileSystem.cpp b/src/common/FileSystem.cpp index 809ea416c4..6ab2430d7d 100644 --- a/src/common/FileSystem.cpp +++ b/src/common/FileSystem.cpp @@ -28,7 +28,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== */ +#include "common/Common.h" + +#include "common/FileSystem.h" + #if defined(BUILD_ENGINE) +#include "framework/CommonVMServices.h" // declaration of HandleFileSystemSyscall #include "minizip/unzip.h" #endif @@ -42,6 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "shared/VMMain.h" #else #include "engine/qcommon/qcommon.h" +#include "IPC/Channel.h" #endif #include "IPC/CommonSyscalls.h" diff --git a/src/common/FileSystem.h b/src/common/FileSystem.h index 787e95bb43..cb1e65ecb1 100644 --- a/src/common/FileSystem.h +++ b/src/common/FileSystem.h @@ -33,10 +33,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Command.h" -#ifdef BUILD_ENGINE -#include "IPC/Channel.h" -#endif - namespace FS { bool UseLegacyPaks(); @@ -561,11 +557,6 @@ const std::string& GetHomePath(); // Get the path containing program binaries const std::string& GetLibPath(); -#ifdef BUILD_ENGINE -// Handle filesystem system calls -void HandleFileSystemSyscall(int minor, Util::Reader& reader, IPC::Channel& channel, Str::StringRef vmName); -#endif - } // namespace FS #endif // COMMON_FILESYSTEM_H_ diff --git a/src/common/IPC/CommonSyscalls.h b/src/common/IPC/CommonSyscalls.h index 32a5e00f83..c68d71ae69 100644 --- a/src/common/IPC/CommonSyscalls.h +++ b/src/common/IPC/CommonSyscalls.h @@ -31,8 +31,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef COMMON_COMMON_SYSCALLS_H_ #define COMMON_COMMON_SYSCALLS_H_ +#include "Common.h" #include "Primitives.h" #include "common/FileSystem.h" +#include "common/Serialize.h" namespace Util { template<> struct SerializeTraits { diff --git a/src/common/IPC/Primitives.h b/src/common/IPC/Primitives.h index 36d489da81..735846a764 100644 --- a/src/common/IPC/Primitives.h +++ b/src/common/IPC/Primitives.h @@ -29,6 +29,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "common/Common.h" +#include "common/Serialize.h" +#include "Common.h" #ifndef COMMON_IPC_PRIMITIVES_H_ #define COMMON_IPC_PRIMITIVES_H_ diff --git a/src/engine/framework/CommandBufferHost.h b/src/engine/framework/CommandBufferHost.h index 66f22687ea..839bab6f12 100644 --- a/src/engine/framework/CommandBufferHost.h +++ b/src/engine/framework/CommandBufferHost.h @@ -31,6 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef FRAMEWORK_COMMAND_BUFFER_HOST_H_ #define FRAMEWORK_COMMAND_BUFFER_HOST_H_ +#include "common/IPC/Channel.h" #include "common/IPC/CommandBuffer.h" #include "common/Serialize.h" diff --git a/src/engine/framework/CommonVMServices.h b/src/engine/framework/CommonVMServices.h index 0a88272214..bc10d6d84e 100644 --- a/src/engine/framework/CommonVMServices.h +++ b/src/engine/framework/CommonVMServices.h @@ -87,4 +87,9 @@ namespace VM { }; } +namespace FS { + // Handle filesystem system calls + void HandleFileSystemSyscall(int minor, Util::Reader& reader, IPC::Channel& channel, Str::StringRef vmName); +} + #endif // COMMAND_VM_SERVICES_H_ diff --git a/src/engine/renderer/gl_shader.cpp b/src/engine/renderer/gl_shader.cpp index cfc58e4870..2329cf976d 100644 --- a/src/engine/renderer/gl_shader.cpp +++ b/src/engine/renderer/gl_shader.cpp @@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // gl_shader.cpp -- GLSL shader handling #include "common/FileSystem.h" +#include "common/Type.h" #include "gl_shader.h" #include "Material.h" #include "YokaiEmbeddedFiles/DaemonEngineShaders.h" diff --git a/src/engine/renderer/tr_main.cpp b/src/engine/renderer/tr_main.cpp index 8211b92036..e8b3de8679 100644 --- a/src/engine/renderer/tr_main.cpp +++ b/src/engine/renderer/tr_main.cpp @@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ // tr_main.c -- main control flow for each frame #include "tr_local.h" +#include "common/Serialize.h" #include "Material.h" #include "EntityCache.h"