From 8867e8086e5b34cfd4f89a3979f6fbf3636de8ed Mon Sep 17 00:00:00 2001 From: Elipzer Date: Wed, 10 Oct 2018 17:44:15 -0400 Subject: [PATCH] Changed stdafx.h to be deps.h --- OpenGLEngine/Application.h | 2 +- OpenGLEngine/BasicScene.cpp | 2 +- OpenGLEngine/Batch.h | 2 +- OpenGLEngine/DrawMode.h | 2 +- OpenGLEngine/GLFWInputManager.h | 2 +- OpenGLEngine/GLUtil.cpp | 2 +- OpenGLEngine/ImageScene.cpp | 2 +- OpenGLEngine/LitScene.cpp | 2 +- OpenGLEngine/LitShadowedScene.cpp | 2 +- OpenGLEngine/MySimple2DScene.cpp | 2 +- OpenGLEngine/MySimple3DScene.cpp | 2 +- OpenGLEngine/OpenGLEngine.vcxproj | 2 +- OpenGLEngine/OpenGLEngine.vcxproj.filters | 6 +++--- OpenGLEngine/Renderable.h | 2 +- OpenGLEngine/Sampler.h | 2 +- OpenGLEngine/Scene.h | 2 +- OpenGLEngine/Shader.h | 2 +- OpenGLEngine/ShaderProgram.h | 2 +- OpenGLEngine/Texture.h | 2 +- OpenGLEngine/TexturedScene.cpp | 2 +- OpenGLEngine/Util.cpp | 2 +- OpenGLEngine/{stdafx.h => deps.h} | 0 OpenGLEngine/main.cpp | 2 +- OpenGLEngine/stdafx.cpp | 2 -- 24 files changed, 24 insertions(+), 26 deletions(-) rename OpenGLEngine/{stdafx.h => deps.h} (100%) delete mode 100644 OpenGLEngine/stdafx.cpp diff --git a/OpenGLEngine/Application.h b/OpenGLEngine/Application.h index 58fe5f7..ba5ed3d 100644 --- a/OpenGLEngine/Application.h +++ b/OpenGLEngine/Application.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include diff --git a/OpenGLEngine/BasicScene.cpp b/OpenGLEngine/BasicScene.cpp index 87bf190..5713be5 100644 --- a/OpenGLEngine/BasicScene.cpp +++ b/OpenGLEngine/BasicScene.cpp @@ -1,6 +1,6 @@ #include "BasicScene.h" -#include "stdafx.h" +#include "deps.h" #include "GLUtil.h" #include "MeshFactory.h" diff --git a/OpenGLEngine/Batch.h b/OpenGLEngine/Batch.h index 2d11ac9..0d0f84f 100644 --- a/OpenGLEngine/Batch.h +++ b/OpenGLEngine/Batch.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include #include diff --git a/OpenGLEngine/DrawMode.h b/OpenGLEngine/DrawMode.h index fa4637d..cb5e232 100644 --- a/OpenGLEngine/DrawMode.h +++ b/OpenGLEngine/DrawMode.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" namespace charcoal { diff --git a/OpenGLEngine/GLFWInputManager.h b/OpenGLEngine/GLFWInputManager.h index 807495c..853ba3b 100644 --- a/OpenGLEngine/GLFWInputManager.h +++ b/OpenGLEngine/GLFWInputManager.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include "InputManager.h" diff --git a/OpenGLEngine/GLUtil.cpp b/OpenGLEngine/GLUtil.cpp index e98b188..7db3649 100644 --- a/OpenGLEngine/GLUtil.cpp +++ b/OpenGLEngine/GLUtil.cpp @@ -1,6 +1,6 @@ #include "GLUtil.h" -#include "stdafx.h" +#include "deps.h" namespace charcoal { diff --git a/OpenGLEngine/ImageScene.cpp b/OpenGLEngine/ImageScene.cpp index 54ed2f8..f3da497 100644 --- a/OpenGLEngine/ImageScene.cpp +++ b/OpenGLEngine/ImageScene.cpp @@ -1,6 +1,6 @@ #include "ImageScene.h" -#include "stdafx.h" +#include "deps.h" #include "GLUtil.h" #include "MeshFactory.h" diff --git a/OpenGLEngine/LitScene.cpp b/OpenGLEngine/LitScene.cpp index 18304fd..367c13f 100644 --- a/OpenGLEngine/LitScene.cpp +++ b/OpenGLEngine/LitScene.cpp @@ -1,6 +1,6 @@ #include "LitScene.h" -#include "stdafx.h" +#include "deps.h" #include "Util.h" #include "GLUtil.h" diff --git a/OpenGLEngine/LitShadowedScene.cpp b/OpenGLEngine/LitShadowedScene.cpp index dcc5f17..316469f 100644 --- a/OpenGLEngine/LitShadowedScene.cpp +++ b/OpenGLEngine/LitShadowedScene.cpp @@ -1,6 +1,6 @@ #include "LitShadowedScene.h" -#include "stdafx.h" +#include "deps.h" #include "Util.h" #include "GLUtil.h" diff --git a/OpenGLEngine/MySimple2DScene.cpp b/OpenGLEngine/MySimple2DScene.cpp index 39fd41a..d30d21d 100644 --- a/OpenGLEngine/MySimple2DScene.cpp +++ b/OpenGLEngine/MySimple2DScene.cpp @@ -1,6 +1,6 @@ #include "MySimple2DScene.h" -#include "stdafx.h" +#include "deps.h" #include #include diff --git a/OpenGLEngine/MySimple3DScene.cpp b/OpenGLEngine/MySimple3DScene.cpp index 2e47c22..8f8adba 100644 --- a/OpenGLEngine/MySimple3DScene.cpp +++ b/OpenGLEngine/MySimple3DScene.cpp @@ -1,6 +1,6 @@ #include "MySimple3DScene.h" -#include "stdafx.h" +#include "deps.h" #include #include diff --git a/OpenGLEngine/OpenGLEngine.vcxproj b/OpenGLEngine/OpenGLEngine.vcxproj index be692ad..09a62ad 100644 --- a/OpenGLEngine/OpenGLEngine.vcxproj +++ b/OpenGLEngine/OpenGLEngine.vcxproj @@ -267,7 +267,7 @@ - + diff --git a/OpenGLEngine/OpenGLEngine.vcxproj.filters b/OpenGLEngine/OpenGLEngine.vcxproj.filters index 77d52af..333ef31 100644 --- a/OpenGLEngine/OpenGLEngine.vcxproj.filters +++ b/OpenGLEngine/OpenGLEngine.vcxproj.filters @@ -410,9 +410,6 @@ Header Files\Engine\Baseline - - Header Files\Engine\Baseline - Header Files\Engine\Baseline @@ -488,6 +485,9 @@ Header Files\Example\Application + + Header Files\Engine\Baseline + diff --git a/OpenGLEngine/Renderable.h b/OpenGLEngine/Renderable.h index ef958ba..80fc095 100644 --- a/OpenGLEngine/Renderable.h +++ b/OpenGLEngine/Renderable.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include diff --git a/OpenGLEngine/Sampler.h b/OpenGLEngine/Sampler.h index d6a722c..d5828ac 100644 --- a/OpenGLEngine/Sampler.h +++ b/OpenGLEngine/Sampler.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" namespace charcoal { diff --git a/OpenGLEngine/Scene.h b/OpenGLEngine/Scene.h index 160df60..e83dda1 100644 --- a/OpenGLEngine/Scene.h +++ b/OpenGLEngine/Scene.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include diff --git a/OpenGLEngine/Shader.h b/OpenGLEngine/Shader.h index f98d953..dd563ea 100644 --- a/OpenGLEngine/Shader.h +++ b/OpenGLEngine/Shader.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include diff --git a/OpenGLEngine/ShaderProgram.h b/OpenGLEngine/ShaderProgram.h index 6b75094..2bf0d5e 100644 --- a/OpenGLEngine/ShaderProgram.h +++ b/OpenGLEngine/ShaderProgram.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include "Exception.h" diff --git a/OpenGLEngine/Texture.h b/OpenGLEngine/Texture.h index b8416cd..475662e 100644 --- a/OpenGLEngine/Texture.h +++ b/OpenGLEngine/Texture.h @@ -1,6 +1,6 @@ #pragma once -#include "stdafx.h" +#include "deps.h" #include "Exception.h" diff --git a/OpenGLEngine/TexturedScene.cpp b/OpenGLEngine/TexturedScene.cpp index c4f03a4..9e426f0 100644 --- a/OpenGLEngine/TexturedScene.cpp +++ b/OpenGLEngine/TexturedScene.cpp @@ -1,6 +1,6 @@ #include "TexturedScene.h" -#include "stdafx.h" +#include "deps.h" #include "GLUtil.h" #include "MeshFactory.h" diff --git a/OpenGLEngine/Util.cpp b/OpenGLEngine/Util.cpp index 458e2da..faf87dc 100644 --- a/OpenGLEngine/Util.cpp +++ b/OpenGLEngine/Util.cpp @@ -1,6 +1,6 @@ #include "Util.h" -#include "stdafx.h" +#include "deps.h" #include #include diff --git a/OpenGLEngine/stdafx.h b/OpenGLEngine/deps.h similarity index 100% rename from OpenGLEngine/stdafx.h rename to OpenGLEngine/deps.h diff --git a/OpenGLEngine/main.cpp b/OpenGLEngine/main.cpp index 5369de8..70bc7b8 100644 --- a/OpenGLEngine/main.cpp +++ b/OpenGLEngine/main.cpp @@ -1,4 +1,4 @@ -#include "stdafx.h" +#include "deps.h" #include diff --git a/OpenGLEngine/stdafx.cpp b/OpenGLEngine/stdafx.cpp deleted file mode 100644 index 46cd188..0000000 --- a/OpenGLEngine/stdafx.cpp +++ /dev/null @@ -1,2 +0,0 @@ - -#include "stdafx.h"