From 3081a853488b41a181bf9619b9c1ab15b9890784 Mon Sep 17 00:00:00 2001 From: Xottab-DUTY Date: Sat, 16 Dec 2023 12:45:25 +0500 Subject: [PATCH] xrEngine/device.cpp: clean up includes --- src/xrEngine/device.cpp | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/xrEngine/device.cpp b/src/xrEngine/device.cpp index 63f2c218874..321ec8dda78 100644 --- a/src/xrEngine/device.cpp +++ b/src/xrEngine/device.cpp @@ -1,32 +1,20 @@ #include "stdafx.h" -#include "xrCDB/Frustum.h" -#include "x_ray.h" #include "Render.h" #include "xrCore/FS_impl.h" #include "xrCore/Threading/TaskManager.hpp" +#include "xrScriptEngine/ScriptExporter.hpp" #include "xrSASH.h" -#include "IGame_Persistent.h" -#include "xrScriptEngine/ScriptExporter.hpp" #include "XR_IOConsole.h" #include "xr_input.h" -#include +#include "IGame_Level.h" +#include "IGame_Persistent.h" #include -// mmsystem.h -#if defined(XR_PLATFORM_WINDOWS) -#define MMNOSOUND -#define MMNOMIDI -#define MMNOAUX -#define MMNOMIXER -#define MMNOJOY -#include -#endif - ENGINE_API CRenderDevice Device; ENGINE_API CLoadScreenRenderer load_screen_renderer; @@ -146,7 +134,6 @@ void CRenderDevice::RenderEnd(void) mProjectSaved = mProject; } -#include "IGame_Level.h" void CRenderDevice::PreCache(u32 amount, bool wait_user_input) { if (GEnv.isDedicatedServer) @@ -526,7 +513,6 @@ void CRenderDevice::FrameMove() } ENGINE_API bool bShowPauseString = true; -#include "IGame_Persistent.h" void CRenderDevice::Pause(bool bOn, bool bTimer, bool bSound, [[maybe_unused]] pcstr reason) {