Improved Define names

This commit is contained in:
Simon Lübeß
2021-10-30 14:17:17 +02:00
parent 2bc87b437a
commit 419509ab7f
30 changed files with 122 additions and 51 deletions
@@ -1,3 +1,9 @@
#if GE_GRAPHICS_DX11
#if !BF_PLATFORM_WINDOWS
#error DirectX 11 (GE_GRAPHICS_DX11) can on be used on Windows.
#endif
using DirectX.Common;
using DirectX.D3D11;
using DirectX.D3D11.SDKLayers;
@@ -64,3 +70,5 @@ namespace GlitchyEngine.Platform.DX11
}
}
}
#endif
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using GlitchyEngine.Renderer;
using System.Collections;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
// Disable warning when taking pointer of in-Parameter
#pragma warning disable 4204
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.D3D11;
using DirectX.Common;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System.Diagnostics;
using System;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.D3D11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
namespace GlitchyEngine.Renderer
{
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.Common;
using DirectX.D3D11Shader;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.D3D11;
using internal GlitchyEngine.Renderer;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using DirectX;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using DirectX.D3D11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using System.Diagnostics;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using DirectX.D3D11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.D3D11;
using GlitchyEngine.Platform.DX11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.Common;
using DirectX.D3D11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using GlitchyEngine.Math;
using GlitchyEngine.Platform.DX11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.Common;
using DirectX.D3D11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using GlitchyEngine.Renderer;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using DirectX.D3D11;
using DirectX.DXGI.DXGI1_2;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using DirectX.D3D11;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using System.Diagnostics;
@@ -1,4 +1,4 @@
#if GE_D3D11
#if GE_GRAPHICS_DX11
using System;
using GlitchyEngine.Renderer;
@@ -1,3 +1,5 @@
#if BF_PLATFORM_WINDOWS
using System;
using GlitchyEngine.Events;
using DirectX.Windows.VirtualKeyCodes;
@@ -7,8 +9,6 @@ using static System.Windows;
namespace GlitchyEngine
{
#if GE_WINDOWS
/// Windows (WinApi) specific implementation of the Input-class
extension Input
{
@@ -192,5 +192,6 @@ namespace GlitchyEngine
CurrentState.CursorPositionDifference = CurrentState.CursorPosition - LastState.CursorPosition;
}
}
#endif
}
#endif
@@ -1,4 +1,5 @@
#if GE_WINDOWS
#if BF_PLATFORM_WINDOWS
using System;
using DirectX.Common;
using DirectX.Windows;
@@ -539,4 +540,5 @@ namespace GlitchyEngine
}
}
}
#endif