Merge branch 'master' of github.com:sippeangelo/Escape-the-Dawn
This commit is contained in:
@@ -148,6 +148,7 @@
|
|||||||
<ClInclude Include="glerror.h" />
|
<ClInclude Include="glerror.h" />
|
||||||
<ClInclude Include="MenuFrame.h" />
|
<ClInclude Include="MenuFrame.h" />
|
||||||
<ClInclude Include="Model.h" />
|
<ClInclude Include="Model.h" />
|
||||||
|
<ClInclude Include="Rectangle.h" />
|
||||||
<ClInclude Include="OBJ.h" />
|
<ClInclude Include="OBJ.h" />
|
||||||
<ClInclude Include="OpenGL.h" />
|
<ClInclude Include="OpenGL.h" />
|
||||||
<ClInclude Include="Renderer.h" />
|
<ClInclude Include="Renderer.h" />
|
||||||
|
|||||||
@@ -144,6 +144,7 @@
|
|||||||
<Filter>GUI</Filter>
|
<Filter>GUI</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="GameWorld.h" />
|
<ClInclude Include="GameWorld.h" />
|
||||||
|
<ClInclude Include="Rectangle.h" />
|
||||||
<ClInclude Include="Camera.h" />
|
<ClInclude Include="Camera.h" />
|
||||||
<ClInclude Include="OBJ.h" />
|
<ClInclude Include="OBJ.h" />
|
||||||
<ClInclude Include="OpenGL.h" />
|
<ClInclude Include="OpenGL.h" />
|
||||||
|
|||||||
@@ -0,0 +1,204 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="World.cpp" />
|
||||||
|
<ClCompile Include="Systems\CollisionSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Systems\LevelGenerationSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Systems\InputSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Systems\ParticleSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Systems\PlayerSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Systems\RenderSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Systems\SoundsSystem.cpp">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Model.cpp" />
|
||||||
|
<ClCompile Include="Engine.h" />
|
||||||
|
<ClCompile Include="Texture.cpp" />
|
||||||
|
<ClCompile Include="GUIManager.cpp">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Renderer.cpp" />
|
||||||
|
<ClCompile Include="ShaderProgram.cpp" />
|
||||||
|
<ClCompile Include="Frame.cpp">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="TextFrame.cpp">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="MenuFrame.cpp">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="GameFrame.cpp">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="Camera.cpp" />
|
||||||
|
<ClCompile Include="OBJ.cpp" />
|
||||||
|
<ClCompile Include="main.cpp" />
|
||||||
|
<ClCompile Include="GameWorld.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="Component.h" />
|
||||||
|
<ClInclude Include="Entity.h" />
|
||||||
|
<ClInclude Include="System.h" />
|
||||||
|
<ClInclude Include="World.h" />
|
||||||
|
<ClInclude Include="Systems\CollisionSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Systems\LevelGenerationSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Systems\InputSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Systems\ParticleSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Systems\PlayerSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Systems\RenderSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Systems\SoundSystem.h">
|
||||||
|
<Filter>Systems</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Model.h" />
|
||||||
|
<ClInclude Include="Components\Transform.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="ShaderProgram.h" />
|
||||||
|
<ClInclude Include="Components\Input.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Model.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\ParticleEmitter.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\PointLight.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\PowerUp.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Sprite.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Stat.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Template.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\SoundEmitter.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Color.h" />
|
||||||
|
<ClInclude Include="Factory.h" />
|
||||||
|
<ClInclude Include="Components\DirectionalLight.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Collision.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Camera.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Components\Bounds.h">
|
||||||
|
<Filter>Components</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="glerror.h">
|
||||||
|
<Filter>Util</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="logging.h">
|
||||||
|
<Filter>Util</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Renderer.h" />
|
||||||
|
<ClInclude Include="Texture.h" />
|
||||||
|
<ClInclude Include="GUIManager.h">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="Frame.h">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="TextFrame.h">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="MenuFrame.h">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="GameFrame.h">
|
||||||
|
<Filter>GUI</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="GameWorld.h" />
|
||||||
|
<<<<<<< HEAD
|
||||||
|
<ClInclude Include="Rectangle.h" />
|
||||||
|
=======
|
||||||
|
<ClInclude Include="Camera.h" />
|
||||||
|
<ClInclude Include="OBJ.h" />
|
||||||
|
<ClInclude Include="OpenGL.h" />
|
||||||
|
>>>>>>> d0320477a978a38d87e94afbea65dc08fd10c860
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Shaders\Fragment.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\Vertex.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\Normals.geo.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\Normals.frag.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Fragment2.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\ShadowMap.frag.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\ShadowMap.vert.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\VisualizeDepth.frag.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\VisualizeDepth.vert.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Shaders\AABB.frag.glsl">
|
||||||
|
<Filter>Shaders</Filter>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Systems">
|
||||||
|
<UniqueIdentifier>{657e11f4-52e7-4336-b77f-80f00b85c33f}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Components">
|
||||||
|
<UniqueIdentifier>{59929465-a139-43b9-9c75-48121d156e78}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Shaders">
|
||||||
|
<UniqueIdentifier>{54f1eb6f-dc00-4e97-a3ef-ac255d755e2e}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Util">
|
||||||
|
<UniqueIdentifier>{d985d7a7-c041-46fe-ae03-aa40295a7aad}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="GUI">
|
||||||
|
<UniqueIdentifier>{7bdb0f69-049e-4f16-b271-2495e02e4b28}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,183 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FE405CFA-8FCE-4867-92CF-797E73B36482}</ProjectGuid>
|
||||||
|
<RootNamespace>EscapetheDawn</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v110</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v110</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LibraryPath>$(BOOST_ROOT)\lib32-msvc-11.0;$(SolutionDir)\Libraries\openal-soft-1.15.1-bin\lib\Win32\Debug;$(SolutionDir)\Libraries\SOIL\lib\Debug;$(SolutionDir)\Libraries\glew-1.10.0\lib\Debug\Win32;$(SolutionDir)\Libraries\glfw-3.0.4\lib\Debug;$(LibraryPath)</LibraryPath>
|
||||||
|
<OutDir>$(SolutionDir)bin\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)obj\$(ProjectName)\</IntDir>
|
||||||
|
<TargetName>$(ProjectName)-$(Configuration)</TargetName>
|
||||||
|
<IncludePath>$(BOOST_ROOT);$(SolutionDir)\Libraries\openal-soft-1.15.1-bin\include;$(SolutionDir)\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)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<IncludePath>$(BOOST_ROOT);$(SolutionDir)\Libraries\openal-soft-1.15.1-bin\include;$(SolutionDir)\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)</IncludePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LibraryPath>$(BOOST_ROOT)\lib32-msvc-11.0;$(SolutionDir)\Libraries\openal-soft-1.15.1-bin\lib\Win32\Release;$(SolutionDir)\Libraries\SOIL\lib\Release;$(SolutionDir)\Libraries\glew-1.10.0\lib\Release\Win32;$(SolutionDir)\Libraries\glfw-3.0.4\lib\Release;$(LibraryPath)</LibraryPath>
|
||||||
|
<OutDir>$(SolutionDir)bin\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)obj\$(ProjectName)\</IntDir>
|
||||||
|
<TargetName>$(ProjectName)-$(Configuration)</TargetName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<AdditionalDependencies>OpenAL32.lib;opengl32.lib;glu32.lib;SOIL.lib;glew32sd.lib;glfw3.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<PostBuildEvent />
|
||||||
|
<PostBuildEvent />
|
||||||
|
<Lib>
|
||||||
|
<AdditionalDependencies>OpenAL32.lib;opengl32.lib;glu32.lib;SOIL.lib;glew32sd.lib;glfw3.lib</AdditionalDependencies>
|
||||||
|
<ForceSymbolReferences>
|
||||||
|
</ForceSymbolReferences>
|
||||||
|
</Lib>
|
||||||
|
<ProjectReference />
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>GLEW_STATIC;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<MinimalRebuild>true</MinimalRebuild>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalDependencies>OpenAL32.lib;opengl32.lib;glu32.lib;SOIL.lib;glew32s.lib;glfw3.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
<Lib>
|
||||||
|
<AdditionalDependencies>OpenAL32.lib;opengl32.lib;glu32.lib;SOIL.lib;glew32s.lib;glfw3.lib;</AdditionalDependencies>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="Camera.cpp" />
|
||||||
|
<ClCompile Include="Engine.h" />
|
||||||
|
<ClCompile Include="Frame.cpp" />
|
||||||
|
<ClCompile Include="GameFrame.cpp" />
|
||||||
|
<ClCompile Include="GameWorld.cpp" />
|
||||||
|
<ClCompile Include="GUIManager.cpp" />
|
||||||
|
<ClCompile Include="main.cpp" />
|
||||||
|
<ClCompile Include="MenuFrame.cpp" />
|
||||||
|
<ClCompile Include="Model.cpp" />
|
||||||
|
<ClCompile Include="OBJ.cpp" />
|
||||||
|
<ClCompile Include="Renderer.cpp" />
|
||||||
|
<ClCompile Include="ShaderProgram.cpp" />
|
||||||
|
<ClCompile Include="Systems\CollisionSystem.cpp" />
|
||||||
|
<ClCompile Include="Texture.cpp" />
|
||||||
|
<ClCompile Include="TextFrame.cpp" />
|
||||||
|
<ClCompile Include="World.cpp" />
|
||||||
|
<ClCompile Include="Systems\InputSystem.cpp" />
|
||||||
|
<ClCompile Include="Systems\LevelGenerationSystem.cpp" />
|
||||||
|
<ClCompile Include="Systems\ParticleSystem.cpp" />
|
||||||
|
<ClCompile Include="Systems\PlayerSystem.cpp" />
|
||||||
|
<ClCompile Include="Systems\RenderSystem.cpp" />
|
||||||
|
<ClCompile Include="Systems\SoundsSystem.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="Camera.h" />
|
||||||
|
<ClInclude Include="Color.h" />
|
||||||
|
<ClInclude Include="Component.h" />
|
||||||
|
<ClInclude Include="Components\Camera.h" />
|
||||||
|
<ClInclude Include="Factory.h" />
|
||||||
|
<ClInclude Include="Components\Bounds.h" />
|
||||||
|
<ClInclude Include="Components\Collision.h" />
|
||||||
|
<ClInclude Include="Components\DirectionalLight.h" />
|
||||||
|
<ClInclude Include="Components\Input.h" />
|
||||||
|
<ClInclude Include="Components\Model.h" />
|
||||||
|
<ClInclude Include="Components\ParticleEmitter.h" />
|
||||||
|
<ClInclude Include="Components\PointLight.h" />
|
||||||
|
<ClInclude Include="Components\PowerUp.h" />
|
||||||
|
<ClInclude Include="Components\SoundEmitter.h" />
|
||||||
|
<ClInclude Include="Components\Sprite.h" />
|
||||||
|
<ClInclude Include="Components\Stat.h" />
|
||||||
|
<ClInclude Include="Components\Template.h" />
|
||||||
|
<ClInclude Include="Components\Transform.h" />
|
||||||
|
<ClInclude Include="Entity.h" />
|
||||||
|
<ClInclude Include="Frame.h" />
|
||||||
|
<ClInclude Include="GameFrame.h" />
|
||||||
|
<ClInclude Include="GameWorld.h" />
|
||||||
|
<ClInclude Include="GUIManager.h" />
|
||||||
|
<ClInclude Include="logging.h" />
|
||||||
|
<ClInclude Include="glerror.h" />
|
||||||
|
<ClInclude Include="MenuFrame.h" />
|
||||||
|
<ClInclude Include="Model.h" />
|
||||||
|
<ClInclude Include="Rectangle.h" />
|
||||||
|
<ClInclude Include="OBJ.h" />
|
||||||
|
<ClInclude Include="OpenGL.h" />
|
||||||
|
<ClInclude Include="Renderer.h" />
|
||||||
|
<ClInclude Include="ShaderProgram.h" />
|
||||||
|
<ClInclude Include="Systems\InputSystem.h" />
|
||||||
|
<ClInclude Include="System.h" />
|
||||||
|
<ClInclude Include="Systems\CollisionSystem.h" />
|
||||||
|
<ClInclude Include="Systems\LevelGenerationSystem.h" />
|
||||||
|
<ClInclude Include="Systems\ParticleSystem.h" />
|
||||||
|
<ClInclude Include="Systems\PlayerSystem.h" />
|
||||||
|
<ClInclude Include="Systems\RenderSystem.h" />
|
||||||
|
<ClInclude Include="Systems\SoundSystem.h" />
|
||||||
|
<ClInclude Include="Texture.h" />
|
||||||
|
<ClInclude Include="TextFrame.h" />
|
||||||
|
<ClInclude Include="World.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Fragment2.glsl" />
|
||||||
|
<None Include="Shaders\AABB.frag.glsl" />
|
||||||
|
<None Include="Shaders\Fragment.glsl" />
|
||||||
|
<None Include="Shaders\Normals.frag.glsl" />
|
||||||
|
<None Include="Shaders\Normals.geo.glsl" />
|
||||||
|
<None Include="Shaders\VisualizeDepth.frag.glsl" />
|
||||||
|
<None Include="Shaders\VisualizeDepth.vert.glsl" />
|
||||||
|
<None Include="Shaders\ShadowMap.frag.glsl" />
|
||||||
|
<None Include="Shaders\ShadowMap.vert.glsl" />
|
||||||
|
<None Include="Shaders\Vertex.glsl" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
/*#include "Frame.h"
|
||||||
|
|
||||||
|
GUI::Frame::Frame()
|
||||||
|
{
|
||||||
|
rectangle = new Rectangle();
|
||||||
|
}
|
||||||
|
|
||||||
|
int GUI::Frame::GetWidth()
|
||||||
|
{
|
||||||
|
return rectangle;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GUI::Frame::GetHeight()
|
||||||
|
{
|
||||||
|
return rectangle.Height();
|
||||||
|
}
|
||||||
|
|
||||||
|
int GUI::Frame::GetX()
|
||||||
|
{
|
||||||
|
return rectangle;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GUI::Frame::GetY()
|
||||||
|
{
|
||||||
|
return rectangle.Y();
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::SetWidth(int wid)
|
||||||
|
{
|
||||||
|
rectangle.width(wid);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::SetHeight(int hei)
|
||||||
|
{
|
||||||
|
rectangle.height(hei);
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::SetX(int xcord)
|
||||||
|
{
|
||||||
|
rectangle.X(xcord)
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::SetY(int ycord)
|
||||||
|
{
|
||||||
|
rectangle.Y(ycord)
|
||||||
|
}
|
||||||
|
|
||||||
|
Rectangle GUI::Frame::AbsouluteRectangle()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GUI::Frame::Visible()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int GUI::Frame::LayerSum()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int GUI::Frame::UID()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::AddChild(Frame childFrame)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::RemoveChild(Frame childFrame)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::Initialize()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::Update(double dt)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void GUI::Frame::Draw()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
*/
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*#ifndef Frame_h__
|
||||||
|
#define Frame_h__
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
#include "Renderer.h"
|
||||||
|
#include "Rectangle.h"
|
||||||
|
#include "GUIManager.h"
|
||||||
|
#include "Texture.h"
|
||||||
|
#include "Color.h"
|
||||||
|
//#include "Camera.h"
|
||||||
|
|
||||||
|
namespace GUI
|
||||||
|
{
|
||||||
|
|
||||||
|
class Frame
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Frame();
|
||||||
|
GUIManager Manager;
|
||||||
|
std::string Name;
|
||||||
|
int GetWidth();
|
||||||
|
int GetHeight();
|
||||||
|
int GetX();
|
||||||
|
int GetY();
|
||||||
|
void SetWidth(int wid);
|
||||||
|
void SetHeight(int hei);
|
||||||
|
void SetX( int xcord);
|
||||||
|
void SetY(int ycord);
|
||||||
|
Rectangle *rectangle;
|
||||||
|
Rectangle AbsouluteRectangle();
|
||||||
|
Texture texture;
|
||||||
|
Color color;
|
||||||
|
bool _Visible;
|
||||||
|
bool Visible();
|
||||||
|
int layer;
|
||||||
|
int layerSum;
|
||||||
|
int LayerSum();
|
||||||
|
int UID();
|
||||||
|
Frame *Parent;
|
||||||
|
std::map<std::string, void*> Properties = new std::map<std::string, void*>();
|
||||||
|
void AddChild(Frame childFrame);
|
||||||
|
void RemoveChild(Frame childFrame);
|
||||||
|
void Update(double dt);
|
||||||
|
void Draw();
|
||||||
|
protected:
|
||||||
|
virtual void Initialize();
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif*/
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/*#include "GUIManager.h"
|
||||||
|
|
||||||
|
int GUI::GUIManager::Add(Frame frame)
|
||||||
|
{
|
||||||
|
//Frame.Add(frame);
|
||||||
|
//return CreateUID();
|
||||||
|
}
|
||||||
|
*/
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
/*#ifndef GUIManager_h__
|
||||||
|
#define GUIManager_h__
|
||||||
|
|
||||||
|
#include "Frame.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace GUI
|
||||||
|
{
|
||||||
|
class GUIManager
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
int Add(Frame frame);
|
||||||
|
void Remove(Frame frame);
|
||||||
|
int CreateUID();
|
||||||
|
void Update(double dt);
|
||||||
|
void Draw();
|
||||||
|
private:
|
||||||
|
static int uidIndex;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif */
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
#include "GameFrame.h"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
#include "MenuFrame.h"
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#ifndef Rectangle_h__
|
||||||
|
#define Rectangle_h__
|
||||||
|
|
||||||
|
class Rectangle
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
int height;
|
||||||
|
int width;
|
||||||
|
int x;
|
||||||
|
int y;
|
||||||
|
|
||||||
|
public:
|
||||||
|
Rectangle();
|
||||||
|
int Height() const { return height; }
|
||||||
|
void Height(float val) { height = val; }
|
||||||
|
|
||||||
|
int Width() const { return width; }
|
||||||
|
void Width(float val) { width = val; }
|
||||||
|
|
||||||
|
int X() const { return x; }
|
||||||
|
void X(int val) { x = val; }
|
||||||
|
|
||||||
|
int Y() const { return y; }
|
||||||
|
void Y(int val) { y = val; }
|
||||||
|
};
|
||||||
|
|
||||||
|
Rectangle::Rectangle()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
#include "TextFrame.h"
|
||||||
Reference in New Issue
Block a user