diff --git a/Escape-the-Dawn/Escape-the-Dawn.vcxproj b/Escape-the-Dawn/Escape-the-Dawn.vcxproj index 87d2c0e..35f180a 100644 --- a/Escape-the-Dawn/Escape-the-Dawn.vcxproj +++ b/Escape-the-Dawn/Escape-the-Dawn.vcxproj @@ -40,7 +40,7 @@ - $(SolutionDir)\Libraries\SOIL\src;\Libraries\SOIL\lib\Debug;$(SolutionDir)\Libraries\glew-1.10.0\lib\Debug\Win32;$(SolutionDir)\Libraries\glfw-3.0.4\lib\Debug;$(LibraryPath) + $(SolutionDir)\Libraries\SOIL\lib\Debug;$(SolutionDir)\Libraries\glew-1.10.0\lib\Debug\Win32;$(SolutionDir)\Libraries\glfw-3.0.4\lib\Debug;$(LibraryPath) $(SolutionDir)bin\ $(SolutionDir)obj\$(ProjectName)\ $(ProjectName)-$(Configuration) @@ -50,7 +50,7 @@ $(SolutionDir)\Libraries\SOIL\src;\Libraries\SOIL\src;$(ProjectDir);$(SolutionDir)\Libraries;$(SolutionDir)\Libraries\glew-1.10.0\include;$(SolutionDir)\Libraries\glfw-3.0.4\include;$(SolutionDir)\Libraries\glm-0.9.5.2;$(IncludePath) - $(SolutionDir)\Libraries\SOIL\src;\Libraries\SOIL\lib\Release;$(SolutionDir)\Libraries\glew-1.10.0\lib\Release\Win32;$(SolutionDir)\Libraries\glfw-3.0.4\lib\Release;$(LibraryPath) + $(SolutionDir)\Libraries\SOIL\lib\Release;$(SolutionDir)\Libraries\glew-1.10.0\lib\Release\Win32;$(SolutionDir)\Libraries\glfw-3.0.4\lib\Release;$(LibraryPath) $(SolutionDir)bin\ $(SolutionDir)obj\$(ProjectName)\ $(ProjectName)-$(Configuration) @@ -70,7 +70,7 @@ - opengl32.lib;glu32.lib;soil.lib;glew32sd.lib;glfw3.lib + opengl32.lib;glu32.lib;SOIL.lib;glew32sd.lib;glfw3.lib @@ -93,7 +93,7 @@ opengl32.lib;glu32.lib;glew32s.lib;glfw3.lib;%(AdditionalDependencies) - opengl32.lib;glu32.lib;soil.lib;glew32s.lib;glfw3.lib; + opengl32.lib;glu32.lib;SOIL.lib;glew32s.lib;glfw3.lib; diff --git a/Escape-the-Dawn/Model.h b/Escape-the-Dawn/Model.h index ac356b0..3be26dc 100644 --- a/Escape-the-Dawn/Model.h +++ b/Escape-the-Dawn/Model.h @@ -1,8 +1,12 @@ +#ifndef Model_h__ +#define Model_h__ + #include #include #include #include #include +#include #define _CRT_SECURE_NO_WARNINGS #include @@ -49,4 +53,5 @@ public: std::vector_TextureCoords ); -}; \ No newline at end of file +}; +#endif // Model_h__ \ No newline at end of file diff --git a/Escape-the-Dawn/Texture.h b/Escape-the-Dawn/Texture.h index e22eaab..52f6594 100644 --- a/Escape-the-Dawn/Texture.h +++ b/Escape-the-Dawn/Texture.h @@ -1,11 +1,17 @@ -#include -#include "Renderer.h" +#ifndef Texture_h__ +#define Texture_h__ +#include +#define GLFW_INCLUDE_GLU +#include +#include +#include + +//#include "Renderer.h" class Texture { public: - Texture(const char* path); ~Texture(); @@ -15,3 +21,5 @@ public: void Load(const char* path); void Bind(); }; + +#endif // Texture_h__